Discussion: Styling menus
Afficher un message
Vieux 12/03/2008, 08h26   #2
rf
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Styling menus


<krys.squires@gmail.com> wrote in message
news:5484def3-c1c2-49bf-baf9-98085618a05e@s37g2000prg.googlegroups.com...
> I'd really appreciate if someone would explain to me how to remove the
> vertical line on the right of the last item in this page:
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


XHTML is not viable on the web. IE simply does not understand it.

> .mainmenu li {


> font-size:8pt;'


Way too small. Use font-size: 100% or omit entirely.

> .mainmenu a, .mainmenu a:link, .mainmenu a:visited, .mainmenu a:active
> {
> text-decoration:none;
> color:#7d7d79;
> font-family:arial, verdana, sans-serif;
> font-weight:bold;
> font-size:8pt;


You don't need to repeat most of this stuff. It will be inherited

> .mainmenulast li {
> border-right: 0px ;


border-right: none;

--
Richard.


  Réponse avec citation
 
Page generated in 0,05320 seconds with 9 queries