• I’m trying to format my h1-h4 styles but nothing seems to be working. I added this to the style.css, but no luck. below is my code and the url is my name+.com

    you can see on the homepage it is quite the mess and i cant seem to figure out why. (i want to format all the h tags to be the same style.)

    h1, h2, h3, h4, h5, h6 {
    	color:#737475;
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:12px;
    	line-height: 1.6;
    }
    
    h1 {font-size:100%;
    	}
    h2 {font-size:100%;
    	}
    h3 {font-size:100%;}
    h4 {font-size:100%;}
    h5 {font-size:100%;}
    h6 {font-size:100%;}
Viewing 2 replies - 1 through 2 (of 2 total)
  • Why so cryptic about your homepage? Afraid you might attract some visitors? ??

    Anyway, the beauty of CSS is that declarations can be overridden by declarations made later in the same style sheet.

    I don’t know exactly what you’re trying to achieve, but if I change the h1 tag to 200%, i just get 200% of 12px (there’s only one h1 tag on your homepage btw).

    Peter

    if that is your business site, shouldn’t you be able to do it yourself? or go back to learning html/css?

    as pboosten said:

    Anyway, the beauty of CSS is that declarations can be overridden by declarations made later in the same style sheet.

    so putting your style at the end of style.css, and maybe forcing the declarations by adding ‘!important’ could help:

    h1, h2, h3, h4, h5, h6 {
    	color:green;/*#737475;*/
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:12px !important;
    	line-height: 1.6;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HUH!? cant change my <h1> styles’ is closed to new replies.