On Sun, Jun 24, 2001 at 06:46:43PM +1000, Allan Rae wrote:
> I fixed the menu problem.  But somehow Netscape-4.77 has decided that it
> won't draw the body correctly anymore it now leaves a huge gap between the
> sidebar and the body.  *sigh*
> 

There's a problem with Netscape 4.x that under some conditions in
measures left margin starting from the right edge of the pinmenu <div>.
Thus it created 15em gap. I struggled a lot to fix it and as far as I
can remember both divs have to have margin-* setup correctly (no use of
left or right only). 

Now, when you were changing div.* p to .pin, div.* that causeed the
problems. In there, the first line is margin: 0 which screws up the
margins already set up for divs. I think you can take div.* safely out
of that line.

The reason I set up div.* p is that the colour of centered things
remains the same. When one says <p class="center"> it recognises that
it's inside div and takes the colours and top/bottom margins of that p.
Now, with the change, when you say <p class="center"> it takes the
colours of and top/bottom margins of a normal <p> + centering.

> 
> I had to make the <p> definition in pinmenu into a <p class="pin"> to get
> the menubar rendered approximately right.  It doesn't make sense because
> everything was otherwise identical to Zvezdan's test page!
> 

Did you have to do this because of Opera? If not, then I think it should
go back to div.* p (just make two copies with wide and narrow div.) I'm
looking into this, right now.

> Netscape 4.77
> =============
> 
> sidebar has bottom line in wrong background colour
> body of text has it's left margin about twice the width of the navbar.
> 
<p> problem explained above

> Before the <p class="pin"> change the body text was where it should be!
> Now the sidebar renders okay but separation from main body is stuffed.
> 

margin: 0 above

> ###
> 
> I can't run Konquerer at the moment 'cos I have to rebuild the KDE libs
> with the new (gcc 2.95.3) libstdc++ so can someone else look at that?
> Michael?
> 

Short menu is too narrow in Konqueror. "Top navbar" goes out the right
edge. I suppose we should go with 7em instead of 6.

You still didn't apply the fix to <img class="right">. In Konqueror
there is a blue line over LyX logo created by an h3 Recent LyX news.
Try <p class="right"><img></p>. It fixes the problem. Makes sense since
<img> is an inline element and h3 doesn't clear around. <p> is a block
element and h3 has to clear around it.

> ###
> 
> So if I revert the <p class="pin"> change then the menubar is stretched
> out but everything otherwise looks right.  Any ideas?
> 

I'm looking into this.

> ###
> 
> I'm pretty sure I have nearly all LDNs rendering okay and completely valid
> XHTML now as well.  If it weren't for that stupid Netscape rendering bug
> or at least the weirdness with the sidebar I'd commit these changes to cvs
> so we could enjoy some really sexy web pages.
> 
> Allan. (ARRae)
> 

-- 
Zvezdan Petkovic <[EMAIL PROTECTED]>
http://www.cs.wm.edu/~zvezdan/

Reply via email to