Current location: Hot Scripts Forums » General Web Coding » CSS » Bottom aligning problem


Bottom aligning problem

Reply
  #1 (permalink)  
Old 07-16-08, 05:05 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
Bottom aligning problem

I'm currently working on my new website, and I'm facing some problems with the aligning of an element to the bottom of the body element.

I'm working on a laptop which has IE 6 installed (yes, I know, it's crap....), and suprisingly everything is looking perfect, all images are positioned correctly, the colors all match.... However, when I open the file in Firefox (or Safari, or IE 7), the bottom images are moved to the top.


Here's a link to the new website: http://www.divergentminddesign.com/layout.html (don't mind the Dutch content, it will be removed very shortly).
Here's an image of what I want the site to look like: http://www.divergentminddesign.com/dmd_nieuwelayout.jpg

Notice that the bottom gradient (named gradient_bottom_bg.png in the css stylesheet) isn't where it's supposed to be.


Does anybody know how to make it appear at the bottom of the body? I tried using the bottom:0; property in css, but for some reason it would allign midways (can't find why), I also tried using margin-bottom:0; but no success either.

I even tried swapping the background-image of the body with the gradient_bottom_bg so it would automatically display at the bottom of the body, but then I had to create an absolutely positioned div at the top of the body, and apparently it would always overlap the other divs on the page (making the Divergent Mind Design title disappear).

I've been trying to fix this for more the 10 hours now, and I still haven't found a solution, so many thanks for anyone who can help me
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
  #2 (permalink)  
Old 07-16-08, 10:12 AM
Vicious's Avatar
Vicious Vicious is offline
Community VIP
 
Join Date: Jan 2007
Location: Belgium
Posts: 584
Thanks: 0
Thanked 0 Times in 0 Posts
For me, the gradient is at the bottom.
Here's a screenshot:

http://uploads.screenshot-program.co...8871981106.png
__________________
Jack Bauer makes Chuck Norris cry
Reply With Quote
  #3 (permalink)  
Old 07-18-08, 04:21 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
Yeah, sorry about that. I actually fixed it later that day, but forgot to post the solution.

For anyone who's has the same problem: you just need to remove the "height" property from the css-class, and it all works
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BOTTOM sliding panel. TheMexican Flash & ActionScript 2 05-20-08 12:25 PM
2 divs, one top one bottom, problem with background images Mythvn CSS 2 04-28-08 06:27 PM
login, roles problem dbrook007 ASP.NET 10 11-10-06 03:42 PM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 09:13 AM


All times are GMT -5. The time now is 02:11 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.