Forum Moderators: not2easy
My page is smaller than my viewport, for this fixed width CSS layout. Using "background-color" with the body tag takes care of coloring the page, but the space to the right of my page in the browser viewport is not colored.
Should i use background-color on the HTML tags to color everything?
Or what?
Thanks!
If you haven't already, you might want to run the html through the validator and see if there isn't an error that's causing this problem.
But, this page is based on a Dreamweaver MX 2004 template. In that template, there is a body style in the doc's head (because of a previous trick i no longer need). In the current doc, the body style is in the external sheet and there is no CSS in the head.
So efecctively, there were 2 conflicting body styles.
I'll disengage the problem doc from its template and make it a new template.
BTW there is advise online recommending against using the HTML tags for background-color. Seems not well supported cross-platform.
Also a CSS site suggested using "background: #nnnnnn;", instead of "background-color: #nnnnnn;". They said it was better supported, but don't know if this advise is old. Seems to work, i'll see if my validator complains.
Your help is much appreciated :)
If anyone has information on recent browsers that don't support background-color, I'd be interested in finding out which ones.
NN4 needs to die a horrible, painful death.