HighDots Forums  

Re: The preferred method of style definitions

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: The preferred method of style definitions in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tim
 
Posts: n/a

Default Re: The preferred method of style definitions - 06-29-2004 , 07:43 AM






On Mon, 28 Jun 2004 23:40:03 GMT,
BenOne© <nosp@m.thanks.mate> posted:

Quote:
If I want to have many divs with different padding, border, and colour
properties, should I just set those styles in line, ie:
DIV style"..."
/DIV

or should I define all the divs in a separate style sheet and link to it in the
header of my doc
If it's truly unique, I've put mine in the head section on the page
(although that can cause problems for some very old browsers), but I've
usually found that I've created some styles that are rare but unique. I
put those either into the main style sheet in a "specials" area (if the
style file is long, it helps to find the bits I might tweak later), or
added a second style sheet to the main one with the special extras (could
be an import, or two style links in the HTML head section).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.