You are here: Re: W3c styles « HTML « IT news, forums, messages
Re: W3c styles

Posted by Ben C on 05/08/07 20:29

On 2007-05-08, Desmond <otuatail@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;
}

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация