View previous topic :: View next topic |
Author |
Message |
Adrian
Joined: 02 Apr 2004 Posts: 692 Location: Around & about
|
Posted: 08.02.2005 03:54 Post subject: css menu problem |
|
|
Radim izbornik za jedan sajt, i imam mali problemčić. Skače u ie-u. Kad se prelazi mišem preko njega u bilo kojem smjeru prvo podigne svaki <a> za 1 px a pri idućem prijelazu ga vrati na početnu poziciju. I'm puzzled. Ne mogu trenutno linkat iz neimenovanih razloga, pa ću probat sa komadom koda. Nemojte mi govorit da koristim listu jer imam dobar razlog zašto ju ne koristim.
<div style="display: none;" class="submenu" id="s3">
<a href="index.php?ukljuci=caffe bars">caffe bars</a>
<a href="index.php?ukljuci=disco clubs">disco clubs</a>
<a href="index.php?ukljuci=fashion">fashion</a>
<a href="index.php?ukljuci=predstave">predstave</a>
</div>
css:
.submenu a{
display: block; border-left: 7px solid #e4e4e7; border-bottom: 1px solid #e4e4e7; margin-bottom: 1px;
padding-left: 3px; color: #a4a4a7; font-size: 11px; height: 14px;
}
.submenu a:hover{
display: block; border-left: 7px solid #a4a4a7; border-bottom: 1px solid #e4e4e7; margin-bottom: 1px;
padding-left: 3px; font-size: 11px; height: 14px; color: #177ece;
}
Fala svima unaprijed. |
_________________ The quest for certainty blocks the search for meaning. Uncertainty is the very condition to impel a man to unfold his powers.
http://origami.hr |
|
Back to top |
|
|
red
Joined: 03 May 2004 Posts: 919 Location: Zabok
|
Posted: 08.02.2005 10:41 Post subject: |
|
|
probaj za .submenu a
|
_________________ Get busy living, or get busy dying. |
|
Back to top |
|
|
Adrian
Joined: 02 Apr 2004 Posts: 692 Location: Around & about
|
Posted: 08.02.2005 16:03 Post subject: |
|
|
Puno hvala. |
_________________ The quest for certainty blocks the search for meaning. Uncertainty is the very condition to impel a man to unfold his powers.
http://origami.hr |
|
Back to top |
|
|
|