Mr Mediocrity
12-01-2005, 03:58 AM
My site located http://mediocre.atspace.com/new/ here displays just how I want it in Firefox, but in IE the width of the menu cell becomes very large for some reason.
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="site.css"/>
<title>Mediocre Mediocrity</title>
</head>
<body>
<table>
<tr>
<td colspan="2">
<img class="header" src="header.gif" alt="Header Image"/>
</td>
</tr>
<tr>
<td>
<div class="menutext">
<div class="menuheading">Navigation</div>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="index.html">Home</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="about.html">About</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="links.html">Links</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="affiliation.html">Affiliation</a>
<br/><br/>
<div class="menuheading">Creations</div>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="games.html">Games</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="game_maker.html">Game Maker</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="game_maker.html">WIPs</a>
<br/><br/>
<a href="http://gamemakergames.com/toplist/in.php?id=601"/>
<img class="menubanner" src="http://gamemakergames.com/toplist/button.php?id=601"
alt="Vote 4 me at GMG Topsites!"/>
</div>
</td>
<td valign="top">
<h1>Latest News and Updates...</h1>
<h2>New Site!</h2>
<h3>@ 10:34 p.m. 30/11/2005</h3>
<div class="content">I've completed a new design of the site, hope you like it.</div>
</td>
</tr>
</table>
</body>
</html>
CSS
body {
background-color: #000000;
text-align: center;
color: #ffffff;
font-family: verdana;
font-size: 12px;}
.menutext {
white-space: nowrap;
width: 115px;
height: 100%;
text-align: left;
margin-left: 10px;
padding-top: 10px;
line-height: 130%;}
.menuheading {font-weight: bold;}
.menubanner {
border: none;
line-height: 130%;
margin-left: 10%;
margin-right: 10%;
white-space: nowrap;}
td {border:2px solid #26d3ff;}
table {
width: 570px;
text-align: left;
margin-left: auto;
margin-right: auto;
vertical-align:top}
a.link,a.menulink {color: #ffffff;
text-decoration: none}
a.menulink:hover {color: #26d3ff;
text-decoration: underline;
margin-left: 5px}
h1 {
color: #ffffff;
font-size: 115%;
font-weight: bold;
text-align: center;}
h2 {color: #ffffff;
font-size: 105%;
font-weight: bold;
line-height: 40%;
margin-left: 30px;}
h3 {color: #ffffff;
font-size: 105%;
font-style: italic;
line-height: 40%;
margin-left: 30px;}
.content {margin-left: 10px;}
This is really frustrating me so if anyone has a solution, that'd be greatly appreciated!
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="site.css"/>
<title>Mediocre Mediocrity</title>
</head>
<body>
<table>
<tr>
<td colspan="2">
<img class="header" src="header.gif" alt="Header Image"/>
</td>
</tr>
<tr>
<td>
<div class="menutext">
<div class="menuheading">Navigation</div>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="index.html">Home</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="about.html">About</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="links.html">Links</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="affiliation.html">Affiliation</a>
<br/><br/>
<div class="menuheading">Creations</div>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="games.html">Games</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="game_maker.html">Game Maker</a><br/>
<img src="bullet.gif" alt="bullet"/> <a class="menulink" href="game_maker.html">WIPs</a>
<br/><br/>
<a href="http://gamemakergames.com/toplist/in.php?id=601"/>
<img class="menubanner" src="http://gamemakergames.com/toplist/button.php?id=601"
alt="Vote 4 me at GMG Topsites!"/>
</div>
</td>
<td valign="top">
<h1>Latest News and Updates...</h1>
<h2>New Site!</h2>
<h3>@ 10:34 p.m. 30/11/2005</h3>
<div class="content">I've completed a new design of the site, hope you like it.</div>
</td>
</tr>
</table>
</body>
</html>
CSS
body {
background-color: #000000;
text-align: center;
color: #ffffff;
font-family: verdana;
font-size: 12px;}
.menutext {
white-space: nowrap;
width: 115px;
height: 100%;
text-align: left;
margin-left: 10px;
padding-top: 10px;
line-height: 130%;}
.menuheading {font-weight: bold;}
.menubanner {
border: none;
line-height: 130%;
margin-left: 10%;
margin-right: 10%;
white-space: nowrap;}
td {border:2px solid #26d3ff;}
table {
width: 570px;
text-align: left;
margin-left: auto;
margin-right: auto;
vertical-align:top}
a.link,a.menulink {color: #ffffff;
text-decoration: none}
a.menulink:hover {color: #26d3ff;
text-decoration: underline;
margin-left: 5px}
h1 {
color: #ffffff;
font-size: 115%;
font-weight: bold;
text-align: center;}
h2 {color: #ffffff;
font-size: 105%;
font-weight: bold;
line-height: 40%;
margin-left: 30px;}
h3 {color: #ffffff;
font-size: 105%;
font-style: italic;
line-height: 40%;
margin-left: 30px;}
.content {margin-left: 10px;}
This is really frustrating me so if anyone has a solution, that'd be greatly appreciated!