i'm trying achieve simple , rules make non-trivial. here fiddle. non-trivial me align elements in natural way, think elements should on same row when make float:left.
hx elements have default margins.
the "space" top cause margin-top property of h1 element. consider using reset.css file reset default values. thing line-height property.
in conclusion:
margin-top:0;line-height: 20px;(choose value fits needs)
Comments
Post a Comment