Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Which element should be used without BR


rocknbil - 3:46 pm on Jun 21, 2012 (gmt 0)


I've always wondered about a single line on it's own. Sometimes I use a caption, but I default to <p> for not coming up with anything more appropriate. :-) So what would be "perfect" for a one-liner?

At any rate my solution to avoid the empty <br>: I usually style the element with padding or margins or width so that the content area narrows enough to force line breaks. Unfortunately they don't always break where you want them to, but it's one less hard coded element.


Thread source:: http://www.webmasterworld.com/css/4467955.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com