![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I have a small <div> element which contains two text blocks - one within h5> tags and the other within <p> tags. I don't want any extra line spacing between elements so use the display:inline property. |
#2
| |||
| |||
|
|
"Danny@Kendal" <danny (AT) STOPSPAMghpkendal (DOT) co.uk> wrote: I have a small <div> element which contains two text blocks - one within h5> tags and the other within <p> tags. I don't want any extra line spacing between elements so use the display:inline property. Bad move, remove it and the <br>, use the margin and padding property to adjust space. |
#3
| |||
| |||
|
|
I usually use www.w3school.com for looking up how to do things. Good? Bad? Know ye of anything better? |
#4
| |||
| |||
|
|
"Spartanicus" <me (AT) privacy (DOT) net> wrote in message news:vbq6h01r35l2jsqhopqaidok77brp2a6t8 (AT) news (DOT) spartanicus.utvinternet.ie... "Danny@Kendal" <danny (AT) STOPSPAMghpkendal (DOT) co.uk> wrote: I have a small <div> element which contains two text blocks - one within h5> tags and the other within <p> tags. I don't want any extra line spacing between elements so use the display:inline property. Bad move, remove it and the <br>, use the margin and padding property to adjust space. Ya fekin beauty! :-) .infoBody{font-size:10px; margin:0} .infoHead{font-size:12px; margin:0} That works exactly how I want it to across all 3 browsers I use. I usually use www.w3school.com for looking up how to do things. Good? Bad? Know ye of anything better? |
![]() |
| Thread Tools | |
| Display Modes | |
| |