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.
|
|
|
|
|
![]() |
||
Firefox Positioning Problems
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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/ |
|
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
Re: Firefox Positioning Problems
Managed to fix it using a method new to me. Position: absolute and margin -400px, left:50%
|
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||
|
|||
|
Re: Firefox Positioning Problems
I could center it using that but it then did not expand. This method works in all resolutions to 800x600.
|
|
#7
|
||||
|
||||
|
Re: Firefox Positioning Problems
Hm, that's odd. It should expand if you're using percentages.
|
|
#8
|
|||
|
|||
|
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.
|
|
#9
|
||||
|
||||
|
Re: Firefox Positioning Problems
Again, if the div is inside another, the outsite one should expand. Positioning is still probably the culprit.
|
![]() |
| Tags |
| css position, ie css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IE/Firefox positioning problems | jordan8201 | Web Page Design | 13 | Today 03:18 |
| 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 |