Suche im Forum:
Suchen


Autor Nachricht
Beitrag08.08.2008 um 11:23 (UTC)    
Titel: Abstand vergrößern bei Navigation oben

Ich wil den Abstand zwischen den Butons ändern. Kann mir jemand sagen wie das geht ??

Hier der Code:

Code:
<style type="text/css" media="screen">
<!--
body
{
font-family: Arial, sans-serif;
font-size: 11px;
overflow: auto;
padding: 13px;
margin: 0px;
}

ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}

div.menu
{
position: absolute;
z-index: 3;
top: 236px;
left: 50%;
margin-left:-262px;
width: 100%;
}

.menu li
{
width: 168px;
float: left;
}

.menu a
{
border: 0px solid #000000;
background-color:#ffffff;
padding-top: 30px;
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
margin: 0px 10px;
display: block;
height: 25px;
color: #transparent;
}

.menu a:hover
{
background-color: #transparent;
}

#smenu1, #smenu2, #smenu3
{
font-size: 13px;
display: none;
width: 168px;
float: left;
}

#smenu1 a, #smenu2 a, #smenu3 a
{
font-size: 13px;
font-weight: bold;
padding-top: 9px;
border-top: 0px;
cursor: pointer;
}
//-->

</style>

<script type="text/javascript">
<!--
function montre(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'block';
else if (all)
all[id].style.display = 'block';
else
layers[id].display = 'block';
}
}

function cache(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'none';
else if (all)
all[id].style.display = 'none';
else
layers[id].display = 'none';
}
}
//-->
</script>

<div class="menu">
<li><a href="""javascript:void(0);" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');">PSP Vista 3.7</a>
<ul id="smenu1" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');">
</ul>
</li>

<li><a href="""javascript:void(0);" onmouseover="montre('smenu2');" onmouseout="cache('smenu2');">UMDs Rippen</a>
<ul id="smenu2" onmouseover="montre('smenu2');" onmouseout="cache('smenu2');">
</ul>
</li>

<li><a href="""javascript:void(0);" onmouseover="montre('smenu3');" onmouseout="cache('smenu3');">Aktualisieren</a>
<ul id="smenu3" onmouseover="montre('smenu3');" onmouseout="cache('smenu3');">
</ul>
</li>
</ul>
</div>
Beitrag08.08.2008 um 11:29 (UTC)    
Titel:

Ich habe einen leichten Trick, am besten,
du machst dir einen Button, wo rechts am ende ein wenig transparent ist.
Das würde dann so aussehen, wie auf:
http://designvorlage.de.tl/

mfg Dominik
______________
Besucht die offizielle Hilfeseite vom Homepage-Baukasten:

Iceblue Generator | Red Generator | Butterfly Generator
Beitrag08.08.2008 um 11:38 (UTC)    
Titel:

Ne ich will das über CSS machen, da die Buttons eh klommplett transparent werden. Kannst du mir nicht den code geben ???
Beitrag08.08.2008 um 19:33 (UTC)    
Titel:

An dieser Stelle:

Zitat:
.menu li
{
width: 168px;
float: left;
margin:0 40px;
}
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de