Hi all,
He is a snippet of my code:
basically, in my html page i have a column and inside that column there is a box. However the column h1 style is formatting the box class h1 too. why is it doing that? is my syntax incorrect
He is a snippet of my code:
Code:
#column2 h1
{ font-family: arial, sans-serif;
padding: 16px 0px 5px 0px;
margin: 0px 0px 12px 0px;
border-bottom: 1px solid;
font-size: 150%;
text-transform: uppercase;
font-weight: normal;
}
.box h1
{ font-weight: normal;
padding: 8px 0px 16px 0px;
text-transform: uppercase;
}
basically, in my html page i have a column and inside that column there is a box. However the column h1 style is formatting the box class h1 too. why is it doing that? is my syntax incorrect
Comment