[css-d] div id=nav VS. nav

2010-10-18 Thread Rory Bernstein
Hello All, I have this web page: http://weinraub.ehclients.com/home/ I am trying to use some CSS3 elements here. I have a div with id=nav, and everything is working fine. (for the nav list at top on the white background) But, when I change that div instead to a nav CSS3 thing, the white BG

Re: [css-d] div id=nav VS. nav

2010-10-18 Thread Shawn Lawler
Try adding: display:block; to your nav rule. Also-- The tags nav and footer aren't CSS, they're HTML (in this case, HTML5). Shawn On 10/18/2010 10:37 AM, Rory Bernstein wrote: Hello All, I have this web page: http://weinraub.ehclients.com/home/ I am trying to use some CSS3 elements here.

Re: [css-d] div id=nav VS. nav

2010-10-18 Thread Gabriele Romanato
Hi! What you're using here is not CSS3, but actually HTML5 brand new elements. The point is that browsers currently still don't use an associated default style sheet for these elements. Further, some browsers do not recognize them as HTML elements. For example, Firefox 3.6.8 doesn't

Re: [css-d] div id=nav VS. nav

2010-10-18 Thread Andree Hollander
On 2010-10-18, at 17:37, Rory Bernstein wrote: I have this web page: http://weinraub.ehclients.com/home/ I am trying to use some CSS3 elements here. I have a div with id=nav, and everything is working fine. (for the nav list at top on the white background) But, when I change that div

Re: [css-d] div id=nav VS. nav

2010-10-18 Thread Rory Bernstein
Hmm. I think I am doing it correctly; I have just nav/nav on the one that is my HTML5 version (sorry, I was calling this css3 when of course I am talking about the use of CSS to style HTML5 elements). And I use this CSS to refer to it: nav {styles here} (no # in front of nav in the style sheet)

Re: [css-d] div id=nav VS. nav

2010-10-18 Thread Rory Bernstein
Thanks to everyone who wrote in about the HTML5 problem I am having. I am going to stick with the HTML4 version for now. I appreciate the help! You guys are great. Rory On Oct 18, 2010, at 12:58 PM, Andree Hollander wrote: On 2010-10-18, at 17:37, Rory Bernstein wrote: I have this