Is it just me or does Internet Explorer 6 not support min-height???
I'm using min-height on a div but it only seems to work in Mozilla/Netscape and Opera. Is there something else I use??it does not support it, but I have came up with wonderful work around some time ago!
/* owens hack, ie gets height, other browsers get min-height */
div.contentshell { /* ie can see me */
position:relative;
width:auto;
min-width:120px;
margin-left:166px;
margin-top:70px;
height:380px;
overflow:inherit;
right:13px;
margin-bottom:0px;
border:1px solid #0066CC;
border-top-width:0px;
background-color:#333333;
}
head:first-child+body div.contentshell { /* ie cant see me, owens hack */
position:relative;
width:auto;
min-width:120px;
margin-left:163px;
height:0%;
margin-top:70px;
min-height:345px;
right:10px;
margin-bottom:0px;
border:1px solid #0066CC;
border-top-width:0px;
background-color:#333333;
}
Ie will stretch the div when I use the regular height attribute. So using this hack I give ie a normal height of such and such. But other browsers will not stretch... but on the other end of the hack I set the height I set for ie to 0%, ie does not see this of cource, but the other browsers do, that 0% will mean it is 0, but a % will stretch. Then I give the other browser a min height. This hack by the way is called ownes hack. Mozilla opera ns will see the second block while ie 4 5 and 6 see the first block. You can see this hack on the hack chart in my sig. You can see it in action at <!-- m --><a class="postlink" href="http://quasi-ke.servebeer.com/layout/">http://quasi-ke.servebeer.com/layout/</a><!-- m --> but it is going to be laggy right now because I have emule tapping my upload.Thanks PeOfEo,
This seems to work just fine. Saved me from a bunch of headaches Hmm... I just checked this in Opera 6.05 but for some reason it doesn't read the second block.
This is the code I used. Any one have any thoughts on this?
div#mainContent { /* IE can see this */
position: relative;
margin-left: 80px;
padding: 10px 40px 10px 15px;
height: 480px;
border: 4px dotted aqua;
}
head:first-child+body div#mainContent { /* IE cannot see this */
position: relative;
margin-left: 80px;
padding: 10px 40px 10px 15px;
height: 0%;
min-height: 480px;
border: 4px dotted red;
}
Thanks.I have no idea.... I do not really care about opera lol. I mean as long is the content is there and it does not get too grose its ok, but I am not going to go waayyyy out of my way for opera when it is working in ie4 5 6 mozilla ns and other browsers. I draw the line at opera aesthtices wise. It seems you picked a decepticon icon just to spite me and my autobot icon. We must have a battle now....on the contrary. I would've wanted the autobot insignia but you've already taken it . So I guess I'm stuck as a decepticon for now
I feel the same way about opera... just would like to know why it wouldn't work. And don't get me started on IE... stupid Microsoft.
Anyway, thanks for your help
"IT'S A PITY YOU AUTOBOTS DIE SO EASILY!"look at which forum I am a mod of! IE has issues, but I do not judge MS as a whole by the the IE shortfalls.Course I'm not really one to judge Microsoft but sometimes I find it hard to believe that they can't really standardize they're browser... especially when usability and accessability issues are concerned.
Anyway, I hope they're next version will be somewhat better.Originally posted by ajimenez
Anyway, I hope they're next version will be somewhat better.
Which, from what I've heard, will be available only to those who purchase their upcoming operating system, Longhorn. Let's hope this decreases the number of its users. Besides, what about testing? Get real, Micro$oft. We'll have to buy Longhorn to even know if it's compatible with our site? Most we could do then would be test it in IE6 or buy the new OS...
[J]onaOriginally posted by Jona
Which, from what I've heard, will be available only to those who purchase their upcoming operating system, Longhorn. Let's hope this decreases the number of its users. Besides, what about testing? Get real, Micro$oft. We'll have to buy Longhorn to even know if it's compatible with our site? Most we could do then would be test it in IE6 or buy the new OS...
[J]ona
That's exactly what I was thinking when I heard IE 7 would be packaged with Longhorn. Maybe M$ finally did something right -- without knowing it. Originally posted by Jona
Which, from what I've heard, will be available only to those who purchase their upcoming operating system, Longhorn. Let's hope this decreases the number of its users. Besides, what about testing? Get real, Micro$oft. We'll have to buy Longhorn to even know if it's compatible with our site? Most we could do then would be test it in IE6 or buy the new OS...
[J]ona or you could just get in a not so legal way longhorn like everybody else who does not like buying software. Isn't it ironic that the ms software-- windows, sql server, w2k3, visual studio.net and so on are easy to "acquire" but their game halo is hard to "acquire", no cracks can be used to game online infact.Originally posted by PeOfEo
or you could just get in a not so legal way longhorn like everybody else who does not like buying software. Isn't it ironic that the ms software-- windows, sql server, w2k3, visual studio.net and so on are easy to "acquire" but their game halo is hard to "acquire", no cracks can be used to game online infact.
The gaming thing would only make sense. You have to have the game to get online and play it, as far as I know. 'Course, I don't own an XBox, so I'm in the dark there...
LOL, there's a Linux hack for the XBox to run on the Linux OS, and Microsoft permanently bans you from the online play if they catch you using it. I found that interesting...
[J]onaI do have halo, its just that when I Download the patch it makes it not work anymore and you have to Download the patch to play online . You would thinka windows update would stop pirated versions of windows from working... somehow. Well maybe not since a pirated version is the same as a real version... you do not have to have edited files and an iso.hey get opera 7.5 (beta), it's really fast and it follows correct CSS and html stuffOriginally posted by IncaWarrior
hey get opera 7.5 (beta), it's really fast and it follows correct CSS and html stuff <!-- m --><a class="postlink" href="http://www.mozilla.org/products/firefox/">http://www.mozilla.org/products/firefox/</a><!-- m --> also follows w3 css standards and is fast.Opera is probably the fastest browser, mainly because it caches just about everything--including Flash. In fact, it caches so well, that for some sites, you have to reload without cache (Shift+Reload) to see the updated page, rather than the cached one.
[J]onaOriginally posted by Jona
Opera is probably the fastest browser, mainly because it caches just about everything--including Flash. In fact, it caches so well, that for some sites, you have to reload without cache (Shift+Reload) to see the updated page, rather than the cached one.
[J]ona sounds like a pain in the butt.I know this is a bit late but Opera ignores this since it does not support css as well as you expect.
Opera however will support what you are trying to do if you use the right hack.
instead of using:
head:first-child+body div#mainContent
you need to use:
html>body div#mainContentOriginally posted by Bonner
I know this is a bit late but Opera ignores this since it does not support css as well as you expect.
Opera however will support what you are trying to do if you use the right hack.
instead of using:
head:first-child+body div#mainContent
you need to use:
html>body div#mainContent
head:first-child+body div#mainContent is for ie4 5 and 6 though. You could use a hack for opera too, with it. I guess. I do ignore opera myself, for aesthetics. I preview my sites in opera and as long as it is not too horribly brutalized and the content is accessable a leave it as it is when the other browsers run it.
I'm using min-height on a div but it only seems to work in Mozilla/Netscape and Opera. Is there something else I use??it does not support it, but I have came up with wonderful work around some time ago!
/* owens hack, ie gets height, other browsers get min-height */
div.contentshell { /* ie can see me */
position:relative;
width:auto;
min-width:120px;
margin-left:166px;
margin-top:70px;
height:380px;
overflow:inherit;
right:13px;
margin-bottom:0px;
border:1px solid #0066CC;
border-top-width:0px;
background-color:#333333;
}
head:first-child+body div.contentshell { /* ie cant see me, owens hack */
position:relative;
width:auto;
min-width:120px;
margin-left:163px;
height:0%;
margin-top:70px;
min-height:345px;
right:10px;
margin-bottom:0px;
border:1px solid #0066CC;
border-top-width:0px;
background-color:#333333;
}
Ie will stretch the div when I use the regular height attribute. So using this hack I give ie a normal height of such and such. But other browsers will not stretch... but on the other end of the hack I set the height I set for ie to 0%, ie does not see this of cource, but the other browsers do, that 0% will mean it is 0, but a % will stretch. Then I give the other browser a min height. This hack by the way is called ownes hack. Mozilla opera ns will see the second block while ie 4 5 and 6 see the first block. You can see this hack on the hack chart in my sig. You can see it in action at <!-- m --><a class="postlink" href="http://quasi-ke.servebeer.com/layout/">http://quasi-ke.servebeer.com/layout/</a><!-- m --> but it is going to be laggy right now because I have emule tapping my upload.Thanks PeOfEo,
This seems to work just fine. Saved me from a bunch of headaches Hmm... I just checked this in Opera 6.05 but for some reason it doesn't read the second block.
This is the code I used. Any one have any thoughts on this?
div#mainContent { /* IE can see this */
position: relative;
margin-left: 80px;
padding: 10px 40px 10px 15px;
height: 480px;
border: 4px dotted aqua;
}
head:first-child+body div#mainContent { /* IE cannot see this */
position: relative;
margin-left: 80px;
padding: 10px 40px 10px 15px;
height: 0%;
min-height: 480px;
border: 4px dotted red;
}
Thanks.I have no idea.... I do not really care about opera lol. I mean as long is the content is there and it does not get too grose its ok, but I am not going to go waayyyy out of my way for opera when it is working in ie4 5 6 mozilla ns and other browsers. I draw the line at opera aesthtices wise. It seems you picked a decepticon icon just to spite me and my autobot icon. We must have a battle now....on the contrary. I would've wanted the autobot insignia but you've already taken it . So I guess I'm stuck as a decepticon for now
I feel the same way about opera... just would like to know why it wouldn't work. And don't get me started on IE... stupid Microsoft.
Anyway, thanks for your help
"IT'S A PITY YOU AUTOBOTS DIE SO EASILY!"look at which forum I am a mod of! IE has issues, but I do not judge MS as a whole by the the IE shortfalls.Course I'm not really one to judge Microsoft but sometimes I find it hard to believe that they can't really standardize they're browser... especially when usability and accessability issues are concerned.
Anyway, I hope they're next version will be somewhat better.Originally posted by ajimenez
Anyway, I hope they're next version will be somewhat better.
Which, from what I've heard, will be available only to those who purchase their upcoming operating system, Longhorn. Let's hope this decreases the number of its users. Besides, what about testing? Get real, Micro$oft. We'll have to buy Longhorn to even know if it's compatible with our site? Most we could do then would be test it in IE6 or buy the new OS...
[J]onaOriginally posted by Jona
Which, from what I've heard, will be available only to those who purchase their upcoming operating system, Longhorn. Let's hope this decreases the number of its users. Besides, what about testing? Get real, Micro$oft. We'll have to buy Longhorn to even know if it's compatible with our site? Most we could do then would be test it in IE6 or buy the new OS...
[J]ona
That's exactly what I was thinking when I heard IE 7 would be packaged with Longhorn. Maybe M$ finally did something right -- without knowing it. Originally posted by Jona
Which, from what I've heard, will be available only to those who purchase their upcoming operating system, Longhorn. Let's hope this decreases the number of its users. Besides, what about testing? Get real, Micro$oft. We'll have to buy Longhorn to even know if it's compatible with our site? Most we could do then would be test it in IE6 or buy the new OS...
[J]ona or you could just get in a not so legal way longhorn like everybody else who does not like buying software. Isn't it ironic that the ms software-- windows, sql server, w2k3, visual studio.net and so on are easy to "acquire" but their game halo is hard to "acquire", no cracks can be used to game online infact.Originally posted by PeOfEo
or you could just get in a not so legal way longhorn like everybody else who does not like buying software. Isn't it ironic that the ms software-- windows, sql server, w2k3, visual studio.net and so on are easy to "acquire" but their game halo is hard to "acquire", no cracks can be used to game online infact.
The gaming thing would only make sense. You have to have the game to get online and play it, as far as I know. 'Course, I don't own an XBox, so I'm in the dark there...
LOL, there's a Linux hack for the XBox to run on the Linux OS, and Microsoft permanently bans you from the online play if they catch you using it. I found that interesting...
[J]onaI do have halo, its just that when I Download the patch it makes it not work anymore and you have to Download the patch to play online . You would thinka windows update would stop pirated versions of windows from working... somehow. Well maybe not since a pirated version is the same as a real version... you do not have to have edited files and an iso.hey get opera 7.5 (beta), it's really fast and it follows correct CSS and html stuffOriginally posted by IncaWarrior
hey get opera 7.5 (beta), it's really fast and it follows correct CSS and html stuff <!-- m --><a class="postlink" href="http://www.mozilla.org/products/firefox/">http://www.mozilla.org/products/firefox/</a><!-- m --> also follows w3 css standards and is fast.Opera is probably the fastest browser, mainly because it caches just about everything--including Flash. In fact, it caches so well, that for some sites, you have to reload without cache (Shift+Reload) to see the updated page, rather than the cached one.
[J]onaOriginally posted by Jona
Opera is probably the fastest browser, mainly because it caches just about everything--including Flash. In fact, it caches so well, that for some sites, you have to reload without cache (Shift+Reload) to see the updated page, rather than the cached one.
[J]ona sounds like a pain in the butt.I know this is a bit late but Opera ignores this since it does not support css as well as you expect.
Opera however will support what you are trying to do if you use the right hack.
instead of using:
head:first-child+body div#mainContent
you need to use:
html>body div#mainContentOriginally posted by Bonner
I know this is a bit late but Opera ignores this since it does not support css as well as you expect.
Opera however will support what you are trying to do if you use the right hack.
instead of using:
head:first-child+body div#mainContent
you need to use:
html>body div#mainContent
head:first-child+body div#mainContent is for ie4 5 and 6 though. You could use a hack for opera too, with it. I guess. I do ignore opera myself, for aesthetics. I preview my sites in opera and as long as it is not too horribly brutalized and the content is accessable a leave it as it is when the other browsers run it.