View Full Version : Maybe a dumb question...
chadlexmorgan
06-17-2011, 01:10 AM
At the very top of my page is a table with some images and a menu in it. For some reason there is a space between the top of the page and the top of the table. Where it needs to be flesh with the top of the page. Not sure what is causing this. Here is an attachment of my code. This is driving me crazy and I am sure it is something simple that I am over looking or something like that!!
jscheuer1
06-17-2011, 07:22 AM
You should try with a standards compliant page, get rid of the highlighted:
<html>
<head>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<link rel="stylesheet" href="./style.css . . .
And without seeing your stylesheets it's hard to tell. But including this rule set would normally do the trick:
html, body, table {
margin-top: 0;
padding-top: 0;
}
Put it at the end of the style.css file.
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
chadlexmorgan
06-17-2011, 11:42 AM
Thank you!!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.