ubik
03-17-2006, 04:11 AM
Hello,
I have a custom H1 defined.. and i have it inside the header, when i view it in the browser it lies at the very top of the header.. without using margins because i want to use a serif and sizes vary in different browsers.. I was thinking of using
position:absolute; bottom:0px;
But the H1 then gets positioned to the bottom of the document and breaks out of the header, I think i remember reading that you could make elements inline and absolute position them relative to the container in which they were in? I tried on the #header & also on the h1
display:block;
display:inline;
&
display:table-cell;
but i forgot how to do this? Can anyone help?
I have a custom H1 defined.. and i have it inside the header, when i view it in the browser it lies at the very top of the header.. without using margins because i want to use a serif and sizes vary in different browsers.. I was thinking of using
position:absolute; bottom:0px;
But the H1 then gets positioned to the bottom of the document and breaks out of the header, I think i remember reading that you could make elements inline and absolute position them relative to the container in which they were in? I tried on the #header & also on the h1
display:block;
display:inline;
&
display:table-cell;
but i forgot how to do this? Can anyone help?