Forum: Community Center


Subject: Any chance I could get back control of color and sidebar back?

pauljs75 opened this issue on Apr 05, 2006 ยท 42 posts


Erlik posted Sun, 09 April 2006 at 3:02 AM

Quote - "Yea well if u delete the line "!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" it's 100% xhtml compatible lol. tags all closed with /> and they use css for styles."

No. There's tons of FONT elements and BASEFONT and defining table cells background color and breaks without the trailing slash and what not. Plus, when you remove the DTD, you get nothing. It won't validate. Quote - "Completely css generated means using only div's and css classes&styles btw ;-) which is something only the newest browsers support to a "somewhat acceptable" level."

There's been such a long debate on the use of tables for formatting that I won't go into that. I can only say that I think you can use them to format the page. But a proper CSS means no such things as defining the colors and font-family in the HTML. Quote - "btw, i do agree all styles should be defined in the stylesheet in the header and not between the rest of the code, but isn't that the case already?"

Nope: FONT color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif" style="color:E3EDF5" How's that? In every link in the sidebar. Not only there's a HTML appearance element, but it has a style defined. The fact that the style should take priority is beside the point. (I think that, since it was improperly written, nothing will happen, but I don't have the time to check now.)

-- erlik