How is any of this related to CSS?
On 10/21/05 3:05 PM, "Trevor Boult" <[EMAIL PROTECTED]> wrote:
> I had noticed the source code stuff but wanted to know how much does someone
> have to change a site before its become their
> property?, hence me asking the comparison.
>
> He was kind enough to
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:
some text
normal paragraph with no special rules
some text with different rules than the other 2 paragraphs
As
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 pad
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 vario
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" expl
In the example of "font-size: 80%/130%" the first number is the actual size
of the text. The second number is the line height.
I believe this is correct. Someone correct me if I'm incorrect.
Christopher Akins
Web Development / Graphic Production
Public Information Office - City of Springfield,
I haven't tested this, but I think it's the 10px padding you have declared
in the following rule:
#contentheader h1 {
font-size:14px;
padding:10px;
height: 190px;
background-image: url(../images/top_bg.jpg);
margin-bottom: 10px;
}
My guess is that t
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 effect.