Posted by Desmond on 05/08/07 22:07
On 8 May, 21:29, Ben C <spams...@spam.eggs> wrote:
> On 2007-05-08, Desmond <otuat...@aol.com> wrote:
>
> > Can anyone help on this last remaining problem? I have tried to make
> > my site w3c compliant. And it works and has passed the tests. However
> > it just doesn't look right in Firefox 1.5.0.11. But is ok in IE7.
> > since moving everything into <div>s the image border around the menu
> > has a border. Has to be something simple. Any quick solution to this
> > please. Everything else about the site is OK.
>
> >http://www.des-otoole.co.uk/
>
> You're almost there.
>
> You have a selector
>
> #side-menu a img
> {
> // border: 0;
>
> }
>
> That C++ style comment is a syntax error, so the whole selector gets
> ignored. But Firefox wants to put a blue border around an img in an a
> (presumably that's in its default stylesheet), so change it to
>
> #side-menu a img
> {
> border: 0;
>
>
>
> }- Hide quoted text -
>
> - Show quoted text -
Thanks for that. Still trying to get to grips with <divs> and CSS. any
good book. I mean a technical reff style
please.
Desmond.
[Back to original message]
|