Jump to content

Overlapping and bottom-justification...


ShootingBlanks

Recommended Posts

I have two questions about the same site I'm designing, so I'm just going to combine them into one thread.  The site in question is here, temporarily, for you to see what I'm talking about:

 

http://www.shootingblanks.net/TEMP/Nevermind/index.php

 

GENERAL INFO:

The site is set up with three divs ("#containerTop", "#containerMiddle", "#containerBottom").  Within each of those divs are two more divs for the left and right sides (TOP - "#headerLeft", "#headerRight", MIDDLE - "#leftSide", ".mainContent", BOTTOM - "#footerLeft", "#footerRight").  The left-sides are set at a width of 233px with no padding/margin and the right sides are set at a 557px with no padding/margin.  The "#containerTop" has a set height of 214px, which is the exact height of the background image (the "watery" logo on the top-right).

 

QUESTION #1:

As you can see, there is some site navigation in the "#headerRight" div within the "#containerTop" div.  I got the navigation to appear at the very bottom of the "#headerRight" div just by messing with different "padding-top" on each of the images/rollovers for the navigation.  That works, I guess (it's weird cuz you can activate the links by hovering WAY above them to the top of the div), but I was wondering if there was a way to justify text/images/etc on the bottom of a div (or, similarly, the center of a div) without using padding?  Like, a "vertical justification" or something?

 

QUESTION #2:

If you're viewing this in Firefox, you already see the problem.  But it doesn't happen in IE7 (I can't test in IE6 cuz "Multiple IEs" doesn't work on my laptop for some reason, so if anyone can check this for me in IE6 and let me know, that would be great).  Anyway, in Firefox, the "#containerBottom" div doesn't fall below the "#containerMiddle" div like it should.  Instead, it just kind of overlaps it.  Again, it looks fine in IE7.  Within each "#containerXXX" div I have the code "overflow:hidden".  I'm not totally sure what it does, but in past projects it's seemed to help, but not in this one.  Any suggestions on how to fix this???

 

Thanks so much!  Sorry for the long post, but I wanted to be as detailed as possible!!!

 

Link to comment
Share on other sites

You need to define a height on #containerTop for it to work, i asume 214 should be 214px.

 

And try defining your width/height, and applying the position: relative;bottom: 0; on the a elements instead.

 

 

if that dosent work, try defining position: relative; on the #headerRight, and position: absolute;bottom: 0; on the a elements.

Link to comment
Share on other sites

try defining position: relative; on the #headerRight, and position: absolute;bottom: 0; on the a elements.

That's the closest thing that's worked so far.  But it just took all the nav images and scrunched them together in the bottom middle of the "#headerRight" div.  I updated the original link for you to see what it looks like...

 

Any other ideas?  Thanks!

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.