logo       

Re: background and css: msg#00170

emacs.wiki.general

Subject: Re: background and css

"kay surnan" <kaysurnan@xxxxxxxxxxxxxx> writes:

> 2. If suppose, I want to put some Java applets, do I need to use the
> html tags as it is to do the job?

I think you can do this, as long as you don't indent your tags at all.

> 3. I would like to use boxes as in this website
> http://www.ntu.edu.sg/home5/PG04878518/EmacsTools.html. I got Urliq
> Johnons emacs-wiki-boxes.el but I don't know how to insert them into
> my pages. same is the case with table.el also.

Where is emacs-wiki-boxes.el located? That might possibly be
something that would be worth including in emacs-wiki if the author
agrees.

It looks like the following CSS code is used by the webpage that you
mentioned in order to color boxes.

pre {
border: #777777 1px solid;
padding: 0.5em;
margin-left: 1em;
margin-right: 2em;
white-space: pre;
background-color: #e6e6e6;
color: black;
}

You will want to put this in a CSS file and refer to the other
instructions on this thread on how to use it for a particular page.

To do a box, put something like this in your Wiki file.

<pre>
My content is here inside the box.
</pre>

Or if you want to make sure that certain types of markup are left
alone, use this.

<verbatim>
My unmangled content goes here.
</verbatim>

> Any reference to a tutorial or Any help is appreciated

There is a sample CSS file included in the "examples" directory. I
plan on updating the info documentation extensively, an ongoing
process.

--
Michael Olson -- FSF Associate Member #652 -- Web: http://www.mwolson.org/
Jabber: mwolson_at_hcoop.net -- IRC: mwolson on freenode.net: #muse, #pulug
/~ |\ | | | Interests: animé, Debian GNU/Linux, XHTML, wiki, Lisp
|_] | \| |_| Fun quotes: http://www.mwolson.org/plans/QuoteList.html


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise