jeg sidder med det her problem. Som jeg også gjorde før. Hvordan får jeg dette til at passe på min menubilleder?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link rel="stylesheet" href="template_css.css" type="text/css"/>
</head>
<body>
<table class="moduletable" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="1" width="100%">
<tbody>
<tr>
<td nowrap="nowrap"><span class="mainlevel"> </span><a href="index.php?option=com_frontpage&Itemid=1" class="mainlevel">Home</a><span class="mainlevel"> </span><a href="index.php?option=com_content&task=section&id=1&Itemid=2" class="mainlevel" id="active_menu">News</a><span class="mainlevel"> </span><a href="index.php?option=com_contact&Itemid=3" class="mainlevel">Contact Us</a><span class="mainlevel"> </span><a href="index.php?option=com_content&task=blogsection&id=0&Itemid=39" class="mainlevel">Blog</a><span class="mainlevel"> </span><a href="index.php?option=com_weblinks&Itemid=4" class="mainlevel">Links</a><span class="mainlevel"> </span><a href="index.php?option=com_newsfeeds&Itemid=37" class="mainlevel">News Feeds</a><span class="mainlevel"> </span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
css:
.moduletable {
border: 1px solid;
width: 900px;
white-space: nowrap;
}
.mainlevel {
margin: 12px;
width: 0px;
white-space: pre;
}
a.mainlevel:link, a.mainlevel:visited {
border: 1px solid;
}
a.mainlevel:hover {
text-decoration: none;
color : #000000;
background : #D3D6D3;
}
Og det skal lige siges at jeg kan ikke fjerne mine spans, da det er et output fra et cms system.
Læs:
http://www.eksperten.dk/spm/648910 - hvis man vil følge med i hvad der foregår ;D