kaz Posted February 20, 2007 Share Posted February 20, 2007 .maintable which represents the main table of the homepage of my webiste doesn't reflect on my website. It's just the body background that is showing. Here is the stylesheet and look out for .maintable in the sheet: body{background-color:darkgoldenrod;}.h1{color:green;background-color:yellow;text-align:center;}.maintable{width:725;border-style:solid;border-width:thin thin thin thin; border-color:black;background-color:white;}.leftside{font:Arial;color:white;font-size:12;font-weight:bold;width:100;background-color:green;}.takecharge{font:Arial;font-color:black;font-weight:bold;font-size:12;background-color:beige;width:100;}.middle{width:200;background-color:white;font:Arial;font-weight:normal;font-size:12;} The URL for the homepage on mywebsite is www.geocities.com/kkisie2000/main.htmthanxkaz Link to comment Share on other sites More sharing options...
Anders Moen Posted February 20, 2007 Share Posted February 20, 2007 Well...you have a lot of errors...Like this:<table wdth="100">wdth? You mean width don't you?And on every link in the menu, you have it like this:<td valign="top" class="takecharge"a href="doctor.htm">You and The Doctor</a></td>You need to write:<td valign="top" class="takecharge"><a href="doctor.htm">You and The Doctor</a></td>instead if that's gonna work.Maybe you should take it through the validator to straighten up some errors? Link to comment Share on other sites More sharing options...
Anders Moen Posted February 20, 2007 Share Posted February 20, 2007 I ran I ran it through the validator, and you had 63 errors on that little site. Link to checked site at validator Link to comment Share on other sites More sharing options...
pulpfiction Posted February 20, 2007 Share Posted February 20, 2007 Few things you need to fix in CSS..."font:Arial" must be "font-family:Arial""width:200;" its better to give units like px or em or % "width:200px;"When you give "border-width" it will apply for all borders, so border-width: thin;all four borders will be thin Link to comment Share on other sites More sharing options...
croatiankid Posted February 20, 2007 Share Posted February 20, 2007 "width:200;" its better to give units like px or em or % "width:200px;"not only is it better, it's mandatory because the browser doesn't know 200 of what. the only value you can give w/o a unit is 0. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now