On Fri, 04 Jul 2003 14:25:02 +0930, Dom Leonard
<doml.removethis@senet.andthis.com.au> wrote:
[color=blue]
>Ian Rastall wrote:[color=green]
>>
>> The site is a header (which is a table) and a main <div> underneath
>> that. The main <div> is set to have a top margin of 3%, which works
>> fine, except in NN4. There, it looks like it has a margin of 20%, or
>> even larger.
>>
>> I tried something like this:
>>
>> <script language="JavaScript" type="text/javascript">
>> if (document.layers) frank.styles.margin-top = "-20%"
>>[/color]
>AFAIK you can only access a DIV element through javascript in NS4 if it
>is positioned.[/color]
Thanks, Dom. I might give relative positioning a shot, although I'll
never mess with absolute positioning again. The last thing I want is
to mess up the site on every other browser. It isn't like NS4 is being
used that much anymore.
It's the allure of desktop-publishing-style consistency. I have that
with every other browser I've tested.
Thanks again,
Ian
--
http://www.aspipes.org/ http://www.bookstacks.org/