Dave M G wrote: > Based on your advice, I've decided to go with an <h3> tag. <h1> and <h2> > are definitely already in use in my site, and, well... the line had to > be drawn somewhere. > >
I don't quite understand your comment here. I presume you mean that you wanted the headings on your tabs to be a bit smaller than the other headings. If so, then choosing h3 will give you the next size down, as it were. There's no limit to the number of headings you can have in a page. So, if you have several section headings which you want to give h3 tags to - go ahead, there's no limit. > As Lori says, headline elements are "block" elements, and <span> tags > are "inline". But I thought if one specified "display:block" in the CSS > for the <span> element, that would force it to behave as a block > element. That's what I tried to do, but obviously it doesn't work like that. > I didn't actually look at your code. I was only responding to your question about heading elements. I can say that using the display attribute is just that. It doesn't change the nature of the element, only the way it is displayed. This works quite well for lists - using display: inline will make them display in a single line instead of in a column. But it doesn't change the nature of the list - it's still a block level element. Perhaps there was something else in your styling that meant that the span didn't work as expected. Or you needed to supply a whole bunch more styles to get it to work. I know that removing the padding stopped the heading from overflowing the boundary, but I don't know what effect that would have on the rest of the layout. I know that Georg suggested you use a heading element to get the effect you wanted and I went along with that. Simpler is always better... Lori ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/