How do <breaks> work?

He has: 7 posts

Joined: Feb 2008

I'm having a problem in IE where two breaks, <br><br> don't equal a paragraph, they don't show as anything. Other browsers notice them. What sort of properties does a break tag have? They don't exactly wrap around anything, how can I control them?

He has: 629 posts

Joined: May 2007

Breaks should work pretty much the same across browser-land. They generate a "newline". Do you have a page we can look at?

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

try

<br>&amp;nbsp;<br>'

-Greg

He has: 629 posts

Joined: May 2007

Ahh! Thanks, Greg. Now I see what Wishstik is getting at.

My question now would be - why would you want to do that? The CSS "margin" properties are designed for adjusting spacing between elements. No need for extra HTML markup for that.

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

They have: 99 posts

Joined: Feb 2008

Agree with webwiz, no need for extra breaks between element, only when you want to break a line in a paragraph.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.