| View previous topic :: View next topic |
| Author |
Message |
Koplaf
Joined: 28 May 2006 Posts: 130
|
<p class="bodytext"> Hello my name is <div class="big">mike</div> the pig </p>
Is there any reason why "the pig" should lose its styling as "bodytext" ?
Cause thats what seems to happen in IE and firefox |
| |
|
|
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
| Why are you using a div? use span |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
Ah ok
That solves it
Wish i knew why though heeh |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| Koplaf: <DIV> normally creates a line break, if you are just creating a font style, use <SPAN> |
| |
|
|
Jackil
Joined: 24 May 2006 Posts: 97
|
| Div is rendered as block, span is rendered as inline |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| Ohh ok |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
| Div is a block lev- nevermind |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| No sense in confusing him with the techie details |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
Hey!
I aint no noob :) |
| |
|
|
Jackil
Joined: 24 May 2006 Posts: 97
|
| :) |
| |
|
|
| Page 1 of 2 |
Goto page 1, 2 Next |
|