- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I am using css normalize http://necolas.github.com/normalize.css/ and I am finding that by changing h1 font size is adding a padding. I cannot find where this is specified.
here is what I am trying to use to over-ride but no avail. Any ideas?
h1 {
font-size: 6em;
text-align: center;
padding-top: 10px;
padding-bottom: 0;
}
here is my global css
@import “compass/css3”;
@import “normalize”;
@import “bits”;
@import “toolbox”;
@import “grid”;
a {
text-decoration: none;
color: #101010;
border-bottom: 2px solid transparent;
}
//
}
}
//
li {
display: inline;
}
a {
display: inline-block;
padding: 5px;
}
a:hover {
border-bottom: 2px solid;
position: relative;
}
}
.font-btns {
list-style: none;
margin: 0 auto 20px auto;
padding: 0;
text-align: center;
li {
display: inline;
}
a {
display: inline-block;
padding: 5px;
color: white;
}
}
//
}
.pointer {
cursor: pointer;
}
article p {
width: 35%;
margin: 0 auto 10px;
}
footer {
height: 200px;
}
//
li {
display: inline;
}
a {
display: inline-block;
padding: 5px;
color: white;
}
}
.expanded {
background: #e05f5a;
color: white;
width: 100%;
p {
padding: 10px 5px 30px 5px;
width: 35%;
margin: 0px auto 10px auto;
}
}
ah, that’s it. the margin. All is fixed by setting the margin. Interesting…