![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
If I have <span>text</span> <br> and then some text isn't there sopposed to be a line break between the span and the text ? Why do browsers ignore the <br> ? |
#3
| |||
| |||
|
|
red wrote: If I have <span>text</span> <br> and then some text isn't there sopposed to be a line break between the span and the text ? Why do browsers ignore the <br> ? They don't usually, which doctype declaration are you using? |
#4
| |||
| |||
|
|
If I have <span>text</span> <br> and then some text isn't there sopposed to be a line break between the span and the text ? |
|
Why do browsers ignore the <br> ? |
#5
| |||
| |||
|
|
Actually, there is somewhat of a line break- it just doesn't really go to a new line. |
|
..Here's the page I'm working on: http://rainbowfamily.info/bookmarks |
#6
| |||
| |||
|
| Right. Floats move the content to the left, and the following content starts at the float's vertical height. But the content cannot overlap the float, so your content after the float cannot reach the left margin. Frankly, don't see why the box is floated at all. I'd just remove the float style. Or, if there's a reason it's floated that I can't see, style the content you want under the float for sure with clear: left; - but the first solution is probably what you want. Thanks that seems to have fixed it. |
#7
| |||
| |||
|
|
If I have <span>text</span> <br> and then some text isn't there sopposed to be a line break between the span and the text ? Why do browsers ignore the <br> ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |