|
|
 |
RE: FN-FORUM: css guru needed help with css
date posted 31st January 2005 23:56
> -----Original Message-----
> From: David [EMAIL REMOVED]
>
> Hi HRH,
Wish I was in a position to sponge off taxpayers but I actually have no
royal blood, if you mean HTH then that is not my name -
http://www.google.co.uk/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD
:2004-24,GGLD:en&q=define%3Ahth
> I agree with you the stylesheet is in a mess, I've been
> trying different styles to find what I'm looking for.
Sorry, could not resist commenting in passing after wading through it ;)
> The margin in question arises from the different way's IE and
> mozzila treat margins, IE measures from the bottom of the
> last layer, while mozzila correctly identifies the hierarchal
> structure of , so I was trying to set a fix
> that would allow IE and mozzila to work. My masthead is
> exactly 178pixels high, this measurement would stop mozzila
> browsers from pushing all other layers under the fixed head.
My point is that if the masthead is part of the normal flow (i.e. not
positioned 'absolute' or 'fixed') the browser will start the following
layers below it anyway (depending on how they are defined also ofc) thus
saving you the effort of trying to force it with margins. Unless I am
missing something special about what you are trying to do with the
masthead, which is why I asked.
At the risk of being told I am wrong by better designers I would suggest
that you are best of either using entirely position:absolute (the
'layers' approach that I believe DW favours but not necessarily good
practice as it is not 'liquid') or no position:absolute at all if you
are going for a more liquid approach. There will be exceptions of
course, but certainly when starting out, mixing position:absolute and
position:relative among elements that you want to 'flow' is going to
cause you a lot of headaches and confusion.
HTH (not HRH)
Dai
|
 |
|