>From the "CSS Mastery Advanced Web Standards Solutions" book by Andy Budd,
and I quote:
"Many people mistakenly believe that a div element has no semantic meaning.
However div actually stands for *division *and provides a way of dividing a
document into meaningful areas. So by wrapping your main content area in a
div and giving it an ID of mainContent, you are adding structure and meaning
to your document."

But as far as i know, screen readers do not pick up IDs or classes? So even
by declaring a div ID="mainNav", it's still not enough to describe what's
inside the div?

I'm starting to get awfully confused...


On Tue, Feb 10, 2009 at 5:19 AM, Chris F.A. Johnson <c...@freeshell.org>wrote:

> On Mon, 9 Feb 2009, Joseph Taylor wrote:
>
>  That's a great link. It also shows that an extra empty element, while it
>> may be "the easy way out" works across the board without side effects of any
>> kind.
>>
>> Yes it is mixing content and presentation.
>>
>
>    Many DIVs (and SPANs) are, in fact, used for presentation rather
>    than semantic reasons. They exist only so that they can have
>    styling applied to them. They don't provide any information about
>    WHAT they contain.
>
>  On Feb 9, 2009, at 3:23 AM, Benjamin Hawkes-Lewis <
>> bhawkesle...@googlemail.com> wrote:
>>
>>  On 9/2/09 07:45, Chris F.A. Johnson wrote:
>>>
>>>> How can CSS overflow replace <div style="clear:both;"></div>?
>>>>
>>>
>>> See http://www.ejeliot.com/blog/59
>>>
>>
> --
>   Chris F.A. Johnson, webmaster         <http://woodbine-gerrard.com>
>   ===================================================================
>   Author:
>   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> *******************************************************************
>
>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to