You are here: Re: Anchor outside div not validating « HTML « IT news, forums, messages
Re: Anchor outside div not validating

Posted by Beauregard T. Shagnasty on 01/08/08 22:58

Sean wrote:

> On Tue, 08 Jan 2008 21:38:43 +0000, Beauregard T. Shagnasty wrote:
>
>>> Make the header a link instead of its container. Changing color and
>>> text can easily be done through css.
>>
>> Easily, yes. Valid? You have to stop and think. <g>
>
> Changing color through css is most definitely valid. I do it at my
> site and it validates perfectly with W3C's xhtml validator and css
> validator. Why would specifying this in css not be valid?

You missed the point. Your <h2> inside the <a> is not valid. Sorry if my
wording confused you.

<snippage>

> And yes, I already know that won't work in IE6. But seriously, I look
> at my site statistics and see less than .5% of my visitors still
> using IE6,

Less than a half-percent? Wow. Is this a site that only appeals to
high-tech state-of-the-art visitors?

> so I no longer make concessions for it. Of course statistics can vary
> greatly from site to site, so if you still have people visiting your
> site with IE6, then by all means design for it. I'm more than happy
> to be done with limiting my site and hacking together conditional css
> to make IE6 happy.

My sites are still registering (last time I looked a few weeks ago)
around 30% for IE6. IE*5* is down 'round 0.5%.

--
-bts
-Motorcycles defy gravity; cars just suck

 

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

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