![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
div h3>Ferrets</h3 /div and CSS like this... div { height: 5em; } how do I get the <h3> centred vertically? I tried... h3 { margin: auto 0; } which worked fine in IE (implying that this is the wrong way to do it!), |
|
but not in FF (implying that this is the wrong way to do it!). |
|
Anyone any suggestion? |
|
TIA |
#3
| |||
| |||
|
|
Alan Silver wrote: snip I can't reproduce it. Aren't you mistaking the natural top margin of the h3 in IE for vertical centering? |
|
I have knocked up a small sample to show how it might look, so please have a look at http://www.kidsinaction.org.uk/h3.html and tell me how you would centre the <h3> vertically. No idea, other than using a table cell. |
![]() |
| Thread Tools | |
| Display Modes | |
| |