Home › Forums › CSS › h1 top-margin bumping down <div> › Re: h1 top-margin bumping down
There is a simple fix for this. Here’s the deal: the header is acting as a parent element to the h1 in a way. If you give #header a position of relative then you should be able to play around with where the h1 goes by also giving in a position. Check out Chris’s video on positioning for CSS https://css-tricks.com/video-screencasts/110-quick-overview-of-css-position-values/ Other than that, just make sure there is no properties block the h1 from being located where you want it.
May 5, 2012 at 3:06 pm
#102360
Allen Lawson
Participant
Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.