I have a problem my menu bar wont go to the centre.
Well I can get it to go to the centre but it just messes how the buttons look.
So I wonder if anyone can help me.
Here's the code:
*Updated*
Html
CSS:
Well I can get it to go to the centre but it just messes how the buttons look.
So I wonder if anyone can help me.
Here's the code:
*Updated*
Html
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />
<title>Welcome To My Webby</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<table summary="Page">
<tr>
<td>
<img src="images/cod4banner.png" alt="CoD4" />
</td>
</tr>
<tr>
<td >
<a class="menuButton" href="/index.php">Home</a>
<a class="menuButton" href="/user.php">Members</a>
<a class="menuButton" href="/submitnews.php">Submit News</a>
<a class="menuButton" href="/e107_plugins/forum/forum.php">Forum</a>
<a class="menuButton" href="/e107_plugins/log/stats.php?9">Site Stats</a>
<a class="menuButton" href="http://oddwire.frih.org/e107_plugins/links_page/links.php">College Stuff</a>
<a class="menuButton" href="/e107_plugins/tiltviewer/tiltviewer.php">TiltViewer</a>
</td>
</tr>
<tr>
<td>
zs[fogjodxhkrjjntgletnj.df jkwefuithaigu
</td>
</tr>
</table>
</body>
</html>
CSS:
Code:
body
{
background-image: url(images/bkgrnd.jpg);
font-family: arial;
}
table
{
background-color:black;
margin-left: auto;
margin-right: auto;
width: 905px;
text-align:left;
color:white;
}
a.menuButton
{
width: 90px;
float: left;
height: 22px;
margin: 0px 1px 0px 2px;
padding: 7px 0px 0px 0px;
text-align: center;
text-transform: uppercase;
font-size: 10px;
color: #FFFFFF;
background: url(images/tab_off.png) ;
font-weight: bold;
text-decoration: none;
}
a.menuButton:hover
{
background: url(images/tab_hov.png) ;
color: green;
text-decoration: none;
}
Last edited: