/    Sign up×
Community /Pin to ProfileBookmark

Small spacing problem

Alright I’m making a new website, and I started off with a header and a horizontal CSS navigation menu right underneath the header. I wanted a small white boarder around the header and down the sides of the whole site. Like this: [url]http://www.natural-nutrition.me.uk/[/url] Only my nav will be underneath the header box. My problem is that womewhere in my code, it’s making a space between the navigation and the header, and I can’t figure out what it is. I know its something so simple, but I just can’t find it, I was messing around with it for awhile too. If you can help me out with this let me know! Thanks!

[QUOTE]

<style type=”text/css”>

#tabsE {
float:left;
width:100%;
background:#FFF;
font-family: Century Gothic,Helvetica,Arial,Geneva,sans-serif;
font size: 10px;
color: #000;
font-size:80%;
line-height:1;

}
#tabsE ul {
margin:0;
padding:0px 0px 0 0px;
list-style:none;
}
#tabsE li {
display:inline;
margin:0;
padding:0;
}
#tabsE a {
float:left;
background:url(“images/tableftE.gif”) no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabsE a span {
float:left;
display:block;
background:url(“images/tabrightE.gif”) no-repeat right top;
/* To change the size of the navigation boxes change the padding below */
padding:9px 19px 8px 10px;
color:#FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac */
#tabsE a span {float:none;}
/* End IE5-Mac hack */
#tabsE a:hover span {
color:#FFF;
}
#tabsE a:hover {
background-position:0% -42px;
}
#tabsE a:hover span {
background-position:100% -42px;
}

body {
background-color: #143D55;
}
</style>

</head>
<body>
<table width=”800″ border=”0″ align=”center” cellpadding=”0″>
<tr bgcolor=”#FFFFFF”>
<td colspan=”2″><img src=”images/header_guy.gif” width=”800″ height=”170″ hspace=”6″ vspace=”6″ /></td>
</tr>
<tr bgcolor=”#FFFFFF”>
<td colspan=”2″><div id=”tabsE”>
<ul>
<li><a href=”#” title=”home”><span>HOME</span></a></li>
<li><a href=”#” title=”recipies”><span>RECIPIES</span></a></li>
<li><a href=”#” title=”diet”><span>DIET</span></a></li>
<li><a href=”#” title=”training”><span>TRAINING</span></a></li>
<li><a href=”#” title=”press”><span>PRESS</span></a></li>
<li><a href=”#” title=”order”><span>ORDER</span></a></li>
<li><a href=”#” title=”contact”><span>CONTACT</span></a></li>
<li><a href=”#” title=”help”><span>HELP</span></a></li>
</ul>
</div> </td>
</tr>

[/QUOTE]

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@ray326Oct 29.2006 — Could be the table layout, could be image problems. We really need a link.
×

Success!

Help @jmilin5931 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...