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 History Action Size Date Who Comment
Cascading Style Sheet filecss twiki.css r1 manage 0.7 K 2002-04-24 - 20:18 UnknownUser demo css file
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-05-23 - MattWilkie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.