> I'm not sure I described that very well, but the demo is at:
> http://www.wdam.co.uk/clients/CEP/new-website/demo.shtml
>
> In IE this looks fine but in Firefox the dark blue background
> stretches only as far as the end of each link word, so the edges
> don't line up. Also, the margin above and below of 0.25em doesn't
> show up. So my links look horrid in Firefox.
.links A {display: block;}
will make your links stretch all the way across for FF. you can
change margin/padding however you like. you won't need "width: 100%;"
after this i don't believe.
> The minor problem is that the links were showing up as blue (or
> purple for visited) even though I had defined them to be the light
> blue text colour in that class. Works fine when I add a style
> definition to the A HREF tag itself, so not a big issue - but
> surely I should be able to get this to work in my stylesheet?
you only specify "a" in your menu. you'll need to do
.links a:link, .links a:visited {/*rules*/}
to get visited link colors to stay the color you specify.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/