css, overflow, firefox

This is a discussion on "css, overflow, firefox" within the Web Page Design section. This forum, and the thread "css, overflow, firefox are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Feb 3rd, 2006, 21:17
Reputable Member
Join Date: Nov 2005
Posts: 127
Thanks: 0
Thanked 0 Times in 0 Posts
css, overflow, firefox

Ive got a problem with my css, I have two divs side by side inside the container div and it works fine but when i go into firefox, the container div shrinks (height) and the footer div overlays the two divs side by side.

Is there something I can add to the container to make it expand to the size of the other two divs so the footer floats below it. (the divs side by side expand depending on what content is in them)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Feb 4th, 2006, 04:25
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css, overflow, firefox

Float the container div the same way the others are floated (i know, it seems weird, but it works), then put a "clear:both" on the footer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Feb 4th, 2006, 14:02
Reputable Member
Join Date: Nov 2005
Posts: 127
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css, overflow, firefox

Hi,
That did work but I need to have the container centered so the site looks ok in larger resolutions. Is there a way of doing this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Feb 4th, 2006, 14:23
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css, overflow, firefox

define a width, position is 50% across the browser window, then pull it back by half it's width:

position: relative;
width: 750px;
left: 50%;
margin-left: -375px;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Feb 4th, 2006, 14:45
Reputable Member
Join Date: Nov 2005
Posts: 127
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css, overflow, firefox

Thats great, works a treat. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Feb 5th, 2006, 21:03
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css, overflow, firefox

Anytime =)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css, overflow, firefox

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
"overflow: hidden" not working on firefox when the div contains flash inside littleshaolin Web Page Design 0 May 21st, 2008 05:27
Overflow Problem MattHen Web Page Design 0 Jan 17th, 2007 15:43
List Overflow tolis Web Page Design 1 Aug 21st, 2006 13:25
div overflow help redimp Web Page Design 0 Feb 3rd, 2006 13:00
Overflow Scroll bars help Miles Lombardi Web Page Design 2 Oct 9th, 2005 22:19


All times are GMT. The time now is 20:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42