dswimboy
11-26-2005, 09:26 PM
i have an examlpe menu bar at http://www-personal.umich.edu/~burkemw/cf/test.html. i'm trying to eliminate the blue space above the links in both IE and FF. i've tried using line-height, height, padding, margins.
the top of the menu should be a straight yellow line. the bottom should curve down smoothly (the image) to a straight line beneat the links (an HTML tag), then curve up smoothly.
the CSS is coded into that page, but here is the relevant HTML and CSS
HTML:
<DIV id="links"><IMG src="images/links-left.gif" width="125" height="40" alt="" border="0"><SPAN id="link-content"><A HREF="events.html" class="default">Events</A> <A href="meetings.html" class="default">Meetings</A> <A href="schools.html" class="default">Schools</A> <A href="opportunities.html" class="default">Opportunities</A> <A href="../../coppermine-1.0RC3/index.php" class="default">Photo Gallery</A></SPAN><IMG src="images/links-right.gif" width="125" height="40" alt="" border="0">
</DIV>
CSS:
#links {
text-align: center;
background-color: #0000CC;
}
#link-content {
padding-top: 10px;
padding-bottom: 10px;
background-color: #FFFF66;
}
thank you for your help.
the top of the menu should be a straight yellow line. the bottom should curve down smoothly (the image) to a straight line beneat the links (an HTML tag), then curve up smoothly.
the CSS is coded into that page, but here is the relevant HTML and CSS
HTML:
<DIV id="links"><IMG src="images/links-left.gif" width="125" height="40" alt="" border="0"><SPAN id="link-content"><A HREF="events.html" class="default">Events</A> <A href="meetings.html" class="default">Meetings</A> <A href="schools.html" class="default">Schools</A> <A href="opportunities.html" class="default">Opportunities</A> <A href="../../coppermine-1.0RC3/index.php" class="default">Photo Gallery</A></SPAN><IMG src="images/links-right.gif" width="125" height="40" alt="" border="0">
</DIV>
CSS:
#links {
text-align: center;
background-color: #0000CC;
}
#link-content {
padding-top: 10px;
padding-bottom: 10px;
background-color: #FFFF66;
}
thank you for your help.