![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
it seems that on Firefox and IE, even for standard compliance mode, the following code will give different result: div style="border:1px solid orange; width:300px"></div on IE 7, the div will have a height of "line-height", but on Firefox 2, the div will have zero height. When the width:300px is removed, then it is zero height on both IE 7 and Firefox 2... any method to make them consistent? Zero height is wanted when the database returns empty string for within the div. Thanks very much! |
#3
| |||
| |||
|
|
Giving the DIV an explicit 'width' triggers its 'hasLayout' [1] property in IE which makes it render quite differently from standard-compliant. [1] http://msdn.microsoft.com/en-us/libr...76(VS.85).aspx |
#4
| |||
| |||
|
|
In article <g2aiuu$911$1 (AT) registered (DOT) motzarella.org>, Stanimir Stamenkov <s7an10 (AT) netscape (DOT) net> wrote: Giving the DIV an explicit 'width' triggers its 'hasLayout' [1] property in IE which makes it render quite differently from standard-compliant. [1] http://msdn.microsoft.com/en-us/libr...76(VS.85).aspx This url appears without scrollbars in Safari 2 and iCab 4. |
#5
| |||
| |||
|
|
Fri, 06 Jun 2008 16:08:47 +1000, /dorayme/: In article <g2aiuu$911$1 (AT) registered (DOT) motzarella.org>, Stanimir Stamenkov <s7an10 (AT) netscape (DOT) net> wrote: [1] http://msdn.microsoft.com/en-us/libr...76(VS.85).aspx This url appears without scrollbars in Safari 2 and iCab 4. I don't know how old Safari 2 and iCab 4 are and whether they could turn author styles off, but given the OP has IE to try with he'll be able to read it. I'm reading it all right using SeaMonkey 1.1.9, Opera 9.27, Safari 3.1.1 and Lynx 2.8.6rel.5 all on Windows. |
#6
| |||
| |||
|
|
it seems that on Firefox and IE, even for standard compliance mode, the following code will give different result: div style="border:1px solid orange; width:300px"></div on IE 7, the div will have a height of "line-height", but on Firefox 2, the div will have zero height. When the width:300px is removed, then it is zero height on both IE 7 and Firefox 2... any method to make them consistent? Zero height is wanted when the database returns empty string for within the div. Thanks very much! |
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
so dorayme is in austalia? do you get to play a lot of sports there? |
|
what do you do over the weekends? |
#10
| |||
| |||
|
|
In article b14f11f7-f62f-480d-bdaf-069dd919c... (AT) m45g2000hsb (DOT) googlegroups.com>, liketofindoutwhy <liketofindout... (AT) gmail (DOT) com> wrote: so dorayme is in austalia? do you get to play a lot of sports there? No, I played more sport when I was in England, in bad weather and clouds and snow and my right foot still has big boney top where soccer ball kept hitting it and flying off at great speed, sometimes into net and me pleased and team pleased and 9 out of crowd of 18 people pleased... what do you do over the weekends? I cry and drink a lot of tea. |
![]() |
| Thread Tools | |
| Display Modes | |
| |