HighDots Forums  

Headings: Chapter 2

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Headings: Chapter 2 in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Jeff
 
Posts: n/a

Default Re: Headings: Chapter 2 - 01-13-2009 , 04:40 PM






Jukka K. Korpela wrote:
Quote:
Swifty wrote:

The H2 is there because, pre-CSS (where I spent most of my life) the
H2 was the way to get a heading that was smaller than an H1. It still
works, so why change? (That's rhetorical)

It has "always" been possible to get a heading smaller than H1 by using
a suitable combination of B (or STRONG), BIG, FONT, BR, and DIV.
Admittedly H2 is more semantic, but it also gives wrong semantic
information (about heading level).

It's not a big issue, but I think in 2008, there's no reason to use H2
just to get the "correct" font size for a heading, instead of using H1
(or, in this case, maybe CAPTION) together with CSS.
Isn't caption for inside tables only?

I've always wanted a "caption" tag for putting an attribution under a
picture. Unless I'm mistaken there is nothing other than a generic div
or span.

Jeff
Quote:

Reply With Quote
  #12  
Old   
dorayme
 
Posts: n/a

Default Re: Headings: Chapter 2 - 01-13-2009 , 04:59 PM






In article <It-dneypS6f0l_DUnZ2dnUVZ_gOdnZ2d (AT) earthlink (DOT) com>,
Jeff <dont_bug_me (AT) all (DOT) uk> wrote:

Quote:
I've always wanted a "caption" tag for putting an attribution under a
picture. Unless I'm mistaken there is nothing other than a generic div
or span.
Consider:

<someContainerElement style="width: about_the_same_as_the_img.px">
<img style="display: block;" src="pic.png ...>image caption
text</someContainerElement>

This forces the text underneath without having to have any special
container for the text itself.

William of Occam always looks down on us as we do anything. He might not
say anything, but he is there and he scowls and looks pleased according
to how parsimonious we are.

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.