![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm still trying to learn CSS and the use of DIV, and a few examples will get me started. My challenge at the moment is to place some text to the right of a header (a sort of footnote) and to have the baselines of the text aligned. I can do this with a table: TABLE><TR VALIGN=BASELINE><TD><H2>Header</H2><TD>Comment</TABLE But my feeble attempt with DIVs fails: DIV STYLE="float:left;vertical-align:baseline"><H2>Header 2</H2></DIV DIV STYLE="float:left;vertical-align:bottom">text</DIV Am I missing something obvious, or is this harder than it looks? |

#3
| |||
| |||
|
|
span {position:relative; font-size: 50%;} |
#4
| |||
| |||
|
|
Will this do: h2 { display: inline } ... h2>Header 2</h2> text |
#5
| |||
| |||
|
|
h2>Part 2 <span style="font-size:small;font-weight:normal">(Experts Only)</span></h2 |
![]() |
| Thread Tools | |
| Display Modes | |
| |