I m using an external style sheet and I am using BODY { background: #ffffff; font-size:9px } to change the default font size of BODY tag but font-size is not changing while backgound color do changes! what is going wrong? I am using IE 6.0.2900
Here is the one I am using and having no problem. Just noticed I am specifying size with pt not px. BODY { Â background-color:#ffffff; Â font-family:Arial,Verdana,sans-serif; Â color:#003366; Â font-size:10pt; Â text-align:justify; scrollbar-track-color:#eeeeee; scrollbar-face-color:#dddddd; crollbar-arrow-color:navy; scrollbar-highlight-color:#003366; scrollbar-3dlight-color:#003366; scrollbar-shadow-color:#003366; scrollbar-darkshadow-color:#003366; }
Hi! It's body not BODY. HTML may be case-insensitive but uppercase tag names are spawn of the devil and will bite you on the arse if you move to XHTML. Also, you should style the html and body elements separately. html applies to the entire viewport, body does not. MSIE fudges this in quirks mode, but you shouldn't be in quirks mode if your HTML is valid. Regards - P