class="meny"style="list-style-type: none;"

I think the problem is...


There is no "SPACE" between class & style..

On 6月13日, 下午2时57分, "Roy A." <[email protected]> wrote:
> On 8 Jun, 17:07, Bajazz <[email protected]> wrote:
>
> > Trying to make a menu (using a list) but it won't position:
>
> > .meny {
> > position: absolute;
> > left: -20px;
> > top: 200px;
> > float: left;
>
> Float left and position:absolute don't work together. I think the
> float:left is ignored. 'Position:absolute' is absolute to the nearest
> element with a 'position:releative'-rule. That might be your problem.
>
> > width: 180px;
> > list-style-type: none;
>
> If list-style-type is not working you might not have a proper !DOCTYPE
> delclaration.
>
> > margin: 0;
> > padding: 0;
>
> > }
>
> > <ul class="meny"style="list-style-type: none;">
> > <li><a href="index.html">Hjem</a></li>
> > <li><a href="produkter.html">Produkter/tjenester</a></li>
> > <li><a href="referanser.html">Referanser</a></li>
> > <li><a href="bilder.html">Bilder</a></li>
> > <li><a href="om.html">Om VELO</a></li>
> > </ul>
>
> > It seems like none of the style elements in .menu works.... What is
> > wrong?
>
> Maybe your browser or your !DOCTYPE declaration. Without an url we can
> only guess.
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to