homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

CSS query
using body and text code

10+ Year Member

Msg#: 237 posted 5:42 pm on Jan 3, 2003 (gmt 0)

my first post!
I am a student with an australian government funded college studying web design and programming. At this point (second semester work) I am learning about CSS 2.

I study via the web and do not have good access to asking questions.

In the notes I am advised not to use style on the body tag due to some browsers not rendering this well; but I am also advised to use HTML body (bgcolor) and text (color) when using a linked stylesheet. I don't really follow this because if the text is already determined by P tags in the CSS why use a text (HTML) tag at all.

Can someone please enlighten me as to why they would suggest I do this.



10+ Year Member

Msg#: 237 posted 5:54 pm on Jan 3, 2003 (gmt 0)

Welcome to webmasterWorld

There ia a diference between browsers as to how they apply a style when applied to a body tag or inline (tag by tag basis) or as part of an external css file. I find the most consistent to be as part of an external css file.

There is a css forum as part of webmasterWorld started recently by "Nick W" and I sugest you check there for css specific advice.


WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 237 posted 6:48 pm on Jan 3, 2003 (gmt 0)

Welcome to WebmasterWorld!

For me this is much like any other issue to do with designing sites. Depends on your audience.

Your teacher is incorrect in telling you 'what's best' as a generalization. If you are creating a site for people that will mainly be using version 3/4 browsers then you might as well write in HTML3.2 and be done with it.

If your audience is mainly version 5+ (most sites) then you can pretty much use external CSS for Everything. It just takes a little know how and study...

Hope you enjoy WebmasterWorld!


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved