Tags:
create new tag
, view all tags
moved most topic contents to TWikiUsingCSS

[...]

I've attached the twiki.css file I used to experiment with below. Keep in mind that this is just a test file and doesn't represent any desired style (at least on my part smile ). (Check out the cool color change when hovering over an unvisited link though!)

This stylesheet demonstrates some styling of TWiki, but some other things can't be styled as TWiki is currently written due to in-page styling having precedence over stylesheet styling, and TWiki has a lot of embedded hard coded styling, particularly for tables. I would propose that the *only* attribute attached to any element in TWiki is the "class=classname" attribute, which is legal on all elements. The class for that element type is then defined in the .css file, so that syling becomes independent of content - a key goal of XHTML iirc.

[...]

-- DavidLeBlanc - 24 Apr 2002

Oops, I forgot to mention that I did these experiments on both Mozilla 0.9.9 and IE 6. For the only glitch I found, see MozillaNotStylingXHTML

-- DavidLeBlanc - 24 Apr 2002

Topic attachments
I Attachment Action Size Date Who Comment
elsecss twiki.css manage 0.7 K 24 Apr 2002 - 20:18 DavidLeBlanc demo css file
Topic revision: r6 - 23 May 2004 - 04:17:58 - MattWilkie
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback