![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I'm developping a a website and having troubles with Opera (version 7). The layout of each page uses css-defined blocks, it's a regular header/3-columns/footer affair. Each of the 3 columns (div) gets its content from an external file called with the php require_once function. Since each column is defined (via css) as having a color bg and a 1px border of another color, I want each one to have the same height as the others (otherwise it fucks up the whole look of the page). I do that via a javascript function which gets the height of each column, determines which one is the highest, and change the height of the other 2 columns accordingly. Now, this works on my tow testing browsers, Firefox 1 and Explorer 6 (it should perhaps be notted the I restrict myself to strictly DOM savvy browsers). And I decided to see if my pages would display properly on Opera. The problem here is not with the css, but with the part that "equalizes" the columns. Opera cannot give me the correct height of the longest column. Well, sometime it does but mosttimes it don't. And I cannot figure out the reason of this unfortunate behaviour. Should I just ditch Opera? Anybody ever heard of a similar problem? tia for any ideas |
#3
| |||
| |||
|
|
Gazing into my crystal ball I observed "Henri Baeyens" henri.baeyens (AT) wanadoo (DOT) fr> writing in news:42286528$0$1246$8fcfb975 (AT) news (DOT) wanadoo.fr: Hello, I'm developping a a website and having troubles with Opera (version 7). The layout of each page uses css-defined blocks, it's a regular header/3-columns/footer affair. Each of the 3 columns (div) gets its content from an external file called with the php require_once function. Since each column is defined (via css) as having a color bg and a 1px border of another color, I want each one to have the same height as the others (otherwise it fucks up the whole look of the page). I do that via a javascript function which gets the height of each column, determines which one is the highest, and change the height of the other 2 columns accordingly. Now, this works on my tow testing browsers, Firefox 1 and Explorer 6 (it should perhaps be notted the I restrict myself to strictly DOM savvy browsers). And I decided to see if my pages would display properly on Opera. The problem here is not with the css, but with the part that "equalizes" the columns. Opera cannot give me the correct height of the longest column. Well, sometime it does but mosttimes it don't. And I cannot figure out the reason of this unfortunate behaviour. Should I just ditch Opera? Anybody ever heard of a similar problem? tia for any ideas Don't blame Opera. What is going to happen to your lovely columns when someone with a CSS compliant browser comes along without javascript? IIRC someone posted a pure CSS solution in alt.html about a month or so ago. -- Adrienne Boswell http://www.cavalcade-of-coding.info Please respond to the group so others can share |
![]() |
| Thread Tools | |
| Display Modes | |
| |