Forum Moderators: mack
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.
Thanks
ANTIPODES
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.
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!
Nick