In the past I used < br> tags to separate blocks of text but more recently have used < p> tags. I'm in the process of converting pages with breaks to pages with p text. This brings up the dilemma of separation when other elements are involved.
I've spent an hour reading web comments, some very old, on the best or acceptable way to create space in an HTML page but have not found a definitive answer. If I want extra space after a paragraph or image, is it best to use a div tag, p tag or break < br> and can the p tag be empty or should it contain a non-breaking space? Or it better to use div tag, < div>< /div> without anything between the tags?
I've also been looking for the correct way to create a style to apply to div text that uses p tags that will be outside the basic p tag style in the page's external css style sheet. This would be for an internal div id in the page. Let's say I have a div id called < div id="p5text"> and all the text within this div is formatted using p tags, should it be an element, id or class? I just want to apply it once to the div and not have to apply it separately to each p tags in the div. Would it be external to the specific page or part of the external site style sheet?
Did I explain that well enough? Hope so.
Carol
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/GoLive/Browse/ Manage your subscription: http://www.ListSearch.com/GoLive/
Aug 09
Martin Sammtleben Re: use break, p tag or div to create space?
Aug 09, 2009; 11:45
Martin Sammtleben
Re: use break, p tag or div to create space?
Aug 09
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 09, 2009; 11:45
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 09
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 09, 2009; 11:49
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 09
Martin Sammtleben Re: use break, p tag or div to create space?
Aug 09, 2009; 12:08
Martin Sammtleben
Re: use break, p tag or div to create space?
Aug 09
Martin Sammtleben Re: use break, p tag or div to create space?
Aug 09, 2009; 12:08
Martin Sammtleben
Re: use break, p tag or div to create space?
Aug 10
Keith Parks Re: use break, p tag or div to create space?
Aug 10, 2009; 13:56
Keith Parks
Re: use break, p tag or div to create space?
Aug 10
Keith Parks Re: use break, p tag or div to create space?
Aug 10, 2009; 13:56
Keith Parks
Re: use break, p tag or div to create space?
Aug 10
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 10, 2009; 14:02
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 10
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 10, 2009; 14:02
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 10
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 10, 2009; 14:02
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 10
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 10, 2009; 14:02
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 10
Keith Parks Re: use break, p tag or div to create space?
Aug 10, 2009; 14:18
Keith Parks
Re: use break, p tag or div to create space?
Aug 10
Dave Miers Re: use break, p tag or div to create space?
Aug 10, 2009; 14:37
Dave Miers
Re: use break, p tag or div to create space?
Aug 10
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 10, 2009; 14:39
Miles A Cruickshank
Re: use break, p tag or div to create space?
Aug 10
Dave Miers Re: use break, p tag or div to create space?
Aug 10, 2009; 14:37
Dave Miers
Re: use break, p tag or div to create space?
Aug 10
Miles A Cruickshank Re: use break, p tag or div to create space?
Aug 10, 2009; 14:39
Miles A Cruickshank
Re: use break, p tag or div to create space?
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!