-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by CSWotton
-
-
Hello, this is my first post on this forum and I hope you can help me because I am a css noob.
My problem is really weird: my whole css file works, except for the attributes for h1. I tried tagging these HTML lines with h2, h3... and they all work, but not h1.
Here you are my (very basic) css stylesheet, I hopw you can see my mistake and help me. Thanks in advance!!!
h1 {font-weight: bold; font-family: arial, helvetica, sans-serif; color: #153520; font-size: large;}h2 { font-family: arial, helvetica, sans-serif; color: #007A29;}h3 { font-family: arial, helvetica, sans-serif; color: green;}h4 { font-weight: bold; font-family: arial, helvetica, sans-serif; }p { font-family: arial, helvetica, sans-serif; color: black;}a { font-family: arial, helveetica, sans-serif; color: #00FF00;}body {background-color: #D6F5D6}img {float: right;}
h1 attributes not working
in CSS
Posted
You are right, davej, it works if I place it on the header, but not as a separate file. This will do, though!
Thank you dsonesuk! I didn't know headers were already bold, I have also used the percentages for the font-size as you suggested. Thank you both for helping me!