> The padding looks like the default padding in the <p> tag > > As far as the centering of text - the use of a <p> as a content box and > then > you have wrapped (what should be defined as something more appropriate > like > <h6></h6> with the paragraph of text wrapped in <p></p> in a span tag > while > leaving the paragraph of text falling back to the <p> tag which is > inheriting it's properties from the containing <div> that says everybody > float left. This essentially causes the text like "Advertising" to be > restricted to it's needed space which will always be as high and wide as > is > needed for the text. > > > Thank you, > Marc Hall > HallMarc Websites > 610.446.3346 >
Thanks Marc, this was very helpful. Marc or anyone else, However, I can't get the text for class .columnTitle to center align. If I set padding and margin for h3 to zero and then text-align: center; it works. However when I add the class it doesn't work. I added the class because I want three of the four columns to have a center aligned h3. As a refresher: Page div is: #bodyContainer, the next div down is: #underNav, column divs inside of #underNav are: #leftContent, #rightContent, #leftSidebar, #rightSidebar. The h3 tags are in the column divs. The CSS: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.locallaw11news.com%2F&profile=css21&usermedium=all&warning=1&lang=en Sincerely, Brian Curran ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
