Jump to content

Website Menu


KyleKJune

Recommended Posts

<!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" xml:lang="en" lang="en"><head><title>KyleKJune</title><link rel="stylesheet" type="text/css"href="style.css" /></head><body><img src="banner.gif"><table align="top" border="0" id="menubar"><tr><td id="menu" ><a href="" id="textwhite">Home</a></td><td id="menu" ><a href="" id="textwhite">Contact</a></td><td id="menu" ><a href="" id="textwhite">search</a></td><td id="menu" ><a href="" id="textwhite">other</a></td><td id="menublank" ></td></tr><p>bla bla</p></body></html>
the paragraph is showing above the table.i want the table to be at the top of my page below the banner. my banner is already at the top but when i add stuff to body the table moves down.how do i make the table stay below the bannermy css file is below.
#menu{ background-color : Blue;}#menublank{ background-color : Blue; width : 100%;}#textwhite{ color:white; font-size : xx-large; text-decoration : none;}#menubar{ background-color : red; }
what can i do to fix my problem?i just started making my website today and this is all i got so far. i cant find out how to make banner and table stay at the top though.
Link to comment
Share on other sites

Your table needs a closing tag, </table> . Without it, the browser is trying to understand a <p> element in the context of a table, but not inside a <tr>, and that doesn't make sense.

Link to comment
Share on other sites

Your table needs a closing tag, </table> . Without it, the browser is trying to understand a <p> element in the context of a table, but not inside a <tr>, and that doesn't make sense.
thank you for your help. i didn't notice that i didn't have a table end.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...