Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Semi-Non-Important Pseudo News
Re: stylesheets
#11
Quote:
Sure doesn't sound very efficient - I wonder why someone thought setting the font tags over and over with every paragraph was more efficient than setting it once and not messing with it again unless or until something changes. Like HTML4, that sort of wasted space doesn't make me want to do anything with CSS unless absolutely required.
/wince.
Thats not how it works.
heres an example from the default css I use at work.
.red{ color: #CC0000;}.overdue{ color: #CC0000;}.duesoon{ color: #FF6600;}.subTitle { font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: #000000; }
This is a short section of a file called interface.css
every html file on the site has an include: interface.css line.
You will notice there are some named styles that look the same, but thats so you can change them independantly in one central location. .overdue could be made to look yellow, for example.
that way you can just do all your html in things that look like this:
Task list
  • Tomorrow's Work
  • Yesterday's Stuff
Reply


Messages In This Thread
Semi-Non-Important Pseudo News - by Jeanne Hedge - 08-06-2005, 04:54 AM
Re: Semi-Non-Important Pseudo News - by robkelk - 08-06-2005, 05:37 AM
Re: Semi-Non-Important Pseudo News - by CattyNebulart - 08-06-2005, 07:41 PM
Re: Semi-Non-Important Pseudo News - by Jeanne Hedge - 08-09-2005, 02:43 AM
Re: Semi-Non-Important Pseudo News - by Jeanne Hedge - 08-09-2005, 02:48 AM
stylesheets - by Sirrocco - 08-13-2005, 05:17 AM
Re: Semi-Non-Important Pseudo News - by Rod.H - 08-13-2005, 07:24 AM
Re: Semi-Non-Important Pseudo News - by Jeanne Hedge - 08-13-2005, 07:40 AM
Re: stylesheets - by Jeanne Hedge - 08-13-2005, 07:50 AM
Re: stylesheets - by VladimirTherin - 08-13-2005, 10:10 AM
Re: stylesheets - by VladimirTherin - 08-13-2005, 10:11 AM
Re: stylesheets - by Rod.H - 08-13-2005, 04:29 PM
Re: Semi-Non-Important Pseudo News - by robkelk - 08-13-2005, 06:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)