I've had time to experiment with the suggestions for controlling text in p tags within a content div and have experienced the following:
My content div is named: < div id="sdy53_54">. When
#sdy53_54 p { (your styling goes here) }
is placed in the external style sheet and it affects all text in the sdy53_54 content div that are within p tags. Any text that is not within a p tag has no style. So the id is working. (I'm still in the process of updating blocks of text from <br> to <p> tags.)
If I apply a class style from the external style sheet to an individual paragraph...for instance a header or subheader within that content div, it appears to be overridden by the content div paragraph id. The class has no effect. How can I apply a class style to text within the content div governed by the #sdy53_54 p id, short of removing the p tags around the header text and applying a block style. Is there a more elegant way of creating a separate style for a p tag within the #sdy53_54 p id?
I'd also like to understand the relationship of using em instead of px for text size. I experimented a bit an it seems that 1em is equivalent to about 13 or 14 px, but above 1 em the text gets really large. Do you have any suggestons on using em instead px for text size?
So confusing!
Thanking you in advance...
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 17
Scott de Fasselle Re: p tags and div content
Aug 17, 2009; 11:46
Scott de Fasselle
Re: p tags and div content
Aug 17
Scott de Fasselle Re: p tags and div content
Aug 17, 2009; 11:46
Scott de Fasselle
Re: p tags and div content
Aug 17
Scott de Fasselle Re: p tags and div content
Aug 17, 2009; 11:46
Scott de Fasselle
Re: p tags and div content
Aug 17
Scott de Fasselle Re: p tags and div content
Aug 17, 2009; 11:46
Scott de Fasselle
Re: p tags and div content
Aug 17
Martin Sammtleben Re: p tags and div content
Aug 17, 2009; 12:13
Martin Sammtleben
Re: p tags and div content
Aug 17
Martin Sammtleben Re: p tags and div content
Aug 17, 2009; 12:13
Martin Sammtleben
Re: p tags and div content
Aug 17
Martin Sammtleben Re: p tags and div content
Aug 17, 2009; 12:13
Martin Sammtleben
Re: p tags and div content
Aug 17
Martin Sammtleben Re: p tags and div content
Aug 17, 2009; 12:13
Martin Sammtleben
Re: p tags and div content
Aug 17
Dave Miers Re: p tags and div content
Aug 17, 2009; 12:53
Dave Miers
Re: p tags and div content
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!