Re: [css-d] Gap below footer

2009-09-19 Thread David Laakso
David Laakso wrote: Brian M. Curran wrote: 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

Re: [css-d] Gap below footer

2009-09-19 Thread Brian M. Curran
Originally I thought that when I was sizing my header tags, using percentages, that the base size was that of the p tag. Umm, no. The percent is the size based off the parent element. Which means that if you want to set a basic font size for a whole page, you do it from the body tag. The

Re: [css-d] Gap below footer

2009-09-18 Thread Brian M. Curran
Brian M. Curran wrote: 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

Re: [css-d] Gap below footer

2009-09-18 Thread David Laakso
Brian M. Curran wrote: Brian M. Curran wrote: re: http://www.locallaw11news.com/ David, Thank you for all the great feedback. I made all the suggested changes, and learned in the process. You're welcome-- its looking much better now and makes much more sense... Thanks again.

Re: [css-d] Gap below footer

2009-09-18 Thread HallMarc Websites
I personally go by the default 62.5% that is inherited throughout the document by declaring it in the body {} and then declare my font size by em. This makes it easy to calculate the em size compared to relative px size. ie 12px is 1.2em. See? divide the px size by 10 to set your em size. This

Re: [css-d] Gap below footer

2009-09-18 Thread David Laakso
HallMarc Websites wrote: I personally go by the default 62.5% that is inherited throughout the document by declaring it in the body {} and then declare my font size by em. This makes it easy to calculate the em size compared to relative px size. ie 12px is 1.2em. See? divide the px size by 10

Re: [css-d] Gap below footer

2009-09-18 Thread Brian M. Curran
Brian M. Curran wrote: Thanks again. One question though. In regards to: This will keep the NYC Web Accessibility Police from shutting you down: body { /*font-size: small; font-family: Arial, sans-serif;*/ font: 100%/1.4 'Helvetica Neue', Arial, sans-serif; } My font size is now

Re: [css-d] Gap below footer

2009-09-18 Thread Reese
David Laakso wrote: HallMarc Websites wrote: I personally go by the default 62.5% that is inherited throughout the document by declaring it in the body {} and then declare my font size by em. This makes it easy to calculate the em size compared to relative px size. ie 12px is 1.2em. See?

Re: [css-d] Gap below footer

2009-09-18 Thread David Laakso
Brian M. Curran wrote: This is interesting. Originally I thought that when I was sizing my header tags, using percentages, that the base size was that of the p tag. However, when I do the following in my stlyle sheet, the p text size changes, but the header text size doesn't. The nav

Re: [css-d] Gap below footer

2009-09-18 Thread Climis, Tim
Originally I thought that when I was sizing my header tags, using percentages, that the base size was that of the p tag. Umm, no. The percent is the size based off the parent element. Which means that if you want to set a basic font size for a whole page, you do it from the body tag. The

[css-d] Gap below footer

2009-09-17 Thread Brian M. Curran
Hi, I'm building a site, and only have one page at this point: http://www.locallaw11news.com There are two issues I'm having. 1. I have a contain div for the whole page, and it is #bodyContainer. Then I have an unordered list nav bar at the top, with another container div for the rest of the

Re: [css-d] Gap below footer

2009-09-17 Thread HallMarc Websites
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

Re: [css-d] Gap below footer

2009-09-17 Thread G.Sørtun
Brian M. Curran wrote: Well I want a solid filled footer to cap off the bottom of my page, but I'm getting an ugly space between the footer and the border of #underNav. Add... #footer p {margin: 0; padding: .5em 0;} ...to zero out the default margin, and adjust that top/bottom padding

Re: [css-d] Gap below footer

2009-09-17 Thread Brian M. Curran
Brian M. Curran wrote: Well I want a solid filled footer to cap off the bottom of my page, but I'm getting an ugly space between the footer and the border of #underNav. Add... #footer p {margin: 0; padding: .5em 0;} ...to zero out the default margin, and adjust that top/bottom padding

Re: [css-d] Gap below footer

2009-09-17 Thread Brian M. Curran
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

Re: [css-d] Gap below footer

2009-09-17 Thread David Laakso
Brian M. Curran wrote: 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

Re: [css-d] Gap below footer

2009-09-17 Thread HallMarc Websites
add to this you still have your h3 text wrapped in span/span. ie you have h3span class=columnTitle Articles/span/h3 you only need h3 class=columnTitleArticles/h3 However, this solution will cause you to add more declarations to your styles in order to position your text where you intended it.