Re: [css-d] changing the distance between paragraphs

2005-10-17 Thread Akins, Chris
Sure - just make something like either .p1, .p2, etc. classes or #p1, #p2, etc. id's and write your CSS for each class or id that you want to only apply to that rule. Then apply like: p class=p1some text/p pnormal paragraph with no special rules/p p class=p2some text with different rules than

[css-d] Why is h2 rule needed?

2005-10-14 Thread Akins, Chris
The following two links show the differences I'm trying to understand: www.springfieldmogov.org/elections/details.html www.springfieldmogov.org/elections/details_noh2.html The first page looks the way I want, but I don't understand the WHY behind my CSS. I figured it out by just playing with

[css-d] CSS Syntax for ID's

2005-10-12 Thread Akins, Chris
Just curious about differences I've seen in some stylesheets I've downloaded and studied. Sometimes people just write their id's as: #idName {} Other times I see the div in front such as: div#idName Since id's are unique anyway what's the difference here? Does the one without the div

[css-d] Please Explain CSS Parser Hacks

2005-10-12 Thread Akins, Chris
I'm reading Eric Meyer's article on Tricking Browsers and Hiding Styles. I understand what he's saying and that the extra characters in the rules get parsed in different ways. But for me to really understand what's happening, though, I sure could use an explanation of exactly what is making

Re: [css-d] Line-Heights

2005-05-13 Thread Akins, Chris
I'm no CSS expert by any stretch, but I think what you're wanting to do is to use margins for these two elements rather than line-height to achieve what you want. Set margin-bottom for the h1 and margin-top for the h2 to something explicit and play with the values until you get the desired