How do <breaks> work?
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?
webwiz posted this at 07:00 — 8th March 2008.
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 posted this at 16:01 — 9th March 2008.
He has: 2,145 posts
Joined: Nov 2003
try
<br>&nbsp;<br>
'-Greg
webwiz posted this at 00:32 — 10th March 2008.
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;
caffinephil posted this at 14:33 — 10th March 2008.
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.