My first reaction to the code you've shown is that the syntax may not be
correct.

<header>
<H1 id=Name><A id=top></A>Michael Bierman </H1>
<P class=Contacts>email:-deleted-| webaddress... </P>
</header>

I don't see and "quotes" on the id names, such as:

<header>
<H1 id="Name"><A id="top"></A>Michael Bierman </H1>
<P class="Contacts">email:-deleted-| webaddress... </P>
</header>



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael Bierman
Sent: Monday, February 07, 2011 9:46 AM
To: [email protected]
Subject: [css-d] modernizer usage

Hi,

I hope that someone can help.

I'm trying to use modernizer (http://www.modernizr.com/) 1.6 which
seems to work well except for the following:

I am using the <header> element. I am unable to style it however. The
code in question looks like this:

<header>
<H1 id=Name><A id=top></A>Michael Bierman </H1>
<P class=Contacts>email:-deleted-| webaddress... </P>
</header>

When I look in Explorer, I see the following nodes:

<H1 id=Name><A id=top></A>Michael Bierman </H1>
<P class=Contacts>email:-deleted-| webaddress... </P>
</header/>

So of course no css was working on the header tag. The following hack
works, but seems contrary to modernizer's usage:
<header>
<div id="header">
<h1 id=Name><A id=top></A>Michael Bierman </h1>
<p class=Contacts>email:-deleted-| webaddress... </p>
<div>
</header>

Any advice would be greatly appreciated.


Michael Bierman
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to