Firefox Positioning Problems

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



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 12th, 2006, 12:42
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Firefox Positioning Problems

Can someone see how I can make the main body div containing my left and right column expand with the columns but still remain in the right position just under header and still centered? It appears correctly in IE but not in firefox. Please if you can help post.

Site is:http://www.psshapes.yurx.com/cssdesign/
Reply With Quote

  #2 (permalink)  
Old Nov 13th, 2006, 10:20
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

I don't quite understand what you're trying to do. In any case, you should always design for Firefox first.

You've got a lot of validation errors, try fixing those and let's see what happens.
Reply With Quote
  #3 (permalink)  
Old Nov 13th, 2006, 16:05
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

I only had one validation error and I have sorted it. If you look in IE at the main body you will see my site as it should. Then look in firefox you see the main body div not expanding. If I make the main body position:absolute then it expands with the divs inside it but then it isnt centered. I need it centered and expanding.
Reply With Quote
  #4 (permalink)  
Old Nov 13th, 2006, 18:49
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

Managed to fix it using a method new to me. Position: absolute and margin -400px, left:50%
Reply With Quote
  #5 (permalink)  
Old Nov 14th, 2006, 00:20
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

Oh, IE is rendering it incorrectly. Firefox is doing what it should. In absolute positioning, an element is removed completely from the normal flow of the page. It is, in effect, independent. It will not respond to the width of the browser. You shouldn't be using positioning like that as if the browser window gets too small, part of the design goes off the screen where it's inaccessible. Try using the margin: 0 auto; or another method for centering and you'll have a fluid design.
Reply With Quote
  #6 (permalink)  
Old Nov 14th, 2006, 07:02
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

I could center it using that but it then did not expand. This method works in all resolutions to 800x600.
Reply With Quote
  #7 (permalink)  
Old Nov 14th, 2006, 07:30
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

Hm, that's odd. It should expand if you're using percentages.
Reply With Quote
  #8 (permalink)  
Old Nov 14th, 2006, 18:20
Reputable Member
Join Date: May 2006
Location: Scotland
Age: 18
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

I dont actually mean expand as in %width. I mean it gets taller (height) as the column inside it get taller when more content is added.
Reply With Quote
  #9 (permalink)  
Old Nov 17th, 2006, 09:37
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox Positioning Problems

Again, if the div is inside another, the outsite one should expand. Positioning is still probably the culprit.
Reply With Quote
Reply

Tags
css position, ie css

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
Problems with CSS positioning ZekeLL Web Page Design 1 May 26th, 2008 15:27
[SOLVED] positioning problems danny322 Web Page Design 6 Nov 9th, 2007 11:26
[SOLVED] Help with positioning in FireFox and IE CoolBreeze Web Page Design 10 Oct 6th, 2007 00:30
problems positioning with css in IE bengtec Web Page Design 3 Sep 24th, 2007 08:47
IE/Firefox positioning problems jordan8201 Web Page Design 11 Dec 6th, 2005 18:34


All times are GMT. The time now is 22:45.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43