Navigation bar making layout align left (and IE issues)

Aug 28, 2007 22:47

I just re did my layout (raisintorte) by adding in a rotating header with a php file ( Read more... )

navbar

Leave a comment

av8rmike August 29 2007, 13:54:48 UTC
I see the different banners in IE6 and no nav strip, although the banner is erratic. If I scroll to the bottom and back, the image disappears.
The journal is probably not centering because the syntax on this CSS block is wrong (missing the brackets):
.bodyblock {
width: 850px; margin: auto;
background-position: center;
}

Reply

raisintorte August 29 2007, 14:17:37 UTC
Thank you! I looked over that code SO MANY times and I never noticed the missing brackets. :-)

I just added in the brackets, but it's still aligning to the left when the nav bar is turned on.

Reply

av8rmike August 30 2007, 02:21:36 UTC
Take the width setting out of body{}; it's what's keeping the layout from centering.

Reply

raisintorte August 30 2007, 02:32:50 UTC
That does solve the problem, but then it gets rid of the side part of the box around my header image.

Reply

av8rmike August 30 2007, 03:31:18 UTC
I guess I don't understand what side part you're referring to. You're trying to keep the dotted border around the image where it is? It makes no sense to me that applying a border in body{} only wraps around the header image.

Reply

raisintorte August 30 2007, 03:43:22 UTC
It made no sense to me either but that's what it did! I moved it into the .pageheaderblock and it's working just find there BUT it screwed up my headermenu and my bodyheaderblock so I just fixed those but now? all of the borders I had everywhere else are gone!

It's like I manage to fix one problem and create another. :-)

Reply

raisintorte August 30 2007, 02:33:14 UTC
Also - Thank you! I really appreciate you taking the time to look at my code.

Reply


Leave a comment

Up