This is a discussion on "solution to IE7 min-height problem?" within the Web Page Design section. This forum, and the thread "solution to IE7 min-height problem? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
solution to IE7 min-height problem?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
solution to IE7 min-height problem?
as you probably know, internet explorer for some reason confuses min-height with height.
up til now, i have been using this hack: height: expression('331px'); min-height:331px; but it does not work in the new IE7 has anyone got a solution that will work in all browsers? |
|
|
|
#2
|
||||
|
||||
|
Re: solution to IE7 min-height problem?
Ah crap. I need to relook over my designs in IE7 now. That browser is pissing me off and I don't even use it. Just conceed to Mozilla already!!!
|
|
#3
|
|||
|
|||
|
Re: solution to IE7 min-height problem?
It was not that IE confused the two attributes, it just didn't recognise min-width and min-height prior to IE 7 where they are supposed to have been fixed.
You should keep away from 'hacks' anyway. Use conditional statements that only IE (all versions) understand to include css after all the other css to tweak things into place for particular versions. Conditional statements take the form:
|
|
#4
|
|||
|
|||
|
Re: solution to IE7 min-height problem?
As above really.
Problem with hacks is you are relying on a passer bug. If the passer bug is fixed, but the original problem not addressed, then you end up with the issue you have with IE7. |
|
#5
|
||||
|
||||
|
Re: solution to IE7 min-height problem?
I always forget about those IE conditionals. Oh well, I still prefer taking the time to make a design work in every browser with just one stylesheet.
|
|
#6
|
|||
|
|||
|
Re: solution to IE7 min-height problem?
Well as nice as that is we live in an imperfect world where things like IE live and poop on everything.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#7
|
||||
|
||||
|
Re: solution to IE7 min-height problem?
the new ie7 actually fixed a lot of things, i.e6 and below is the problem.
FF and I.E7 display valid code near enough the same now. |
|
#8
|
|||
|
|||
|
Re: solution to IE7 min-height problem?
Yeah PNG support, support for background-attachment:fixed; among others. Sure will be nice.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#9
|
||||
|
||||
|
Re: solution to IE7 min-height problem?
I cant wait to see the back of i.e6
|
|
#10
|
|||
|
|||
|
Re: solution to IE7 min-height problem?
Yeah I like IE7, things are much better!
|
|
#11
|
||||
|
||||
|
Re: solution to IE7 min-height problem?
Really, I haven't come across a design yet that I can't accommodate every major browser in a single stylesheet without hacks.
|
![]() |
| Tags |
| css, height, ie7, min height |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS Div height problem | dryjoy | Web Page Design | 1 | Jan 6th, 2008 19:05 |
| Height problem | frinkky | Web Page Design | 2 | Jan 16th, 2007 16:14 |
| Please check this site is there any solution for this problem? | abdghadir | Web Page Design | 14 | Dec 12th, 2006 09:12 |
| Firefox and 100% height problem | monkey64 | Web Page Design | 17 | Sep 29th, 2006 23:09 |
| css problem - div height | edd_jedi | Web Page Design | 3 | Aug 30th, 2006 19:38 |