473,322 Members | 1,718 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

simple safari test cases: puzzling

hello

first of all sorry for not replyin to my original post .. been very busy,
and i prepared decent test cases now

On the following link ull find some safari test cases with issues concerning
percentual heights, and padding

http://www.flandersdesign.be/_cross/index.html
is there a way to work around this? am i totally ignorant?

thnx in advance!
Pieter Van Waeyenberge.
Jul 23 '05 #1
3 2447
Pieter Van Waeyenberge <p@foo.com> wrote:
is there a way to work around this? am i totally ignorant?


The following can be found in the CSS 2.1 specification
(section 17.5.3):

"CSS 2.1 does not define what percentage values of 'height'
refer to when specified in table cells"

This means that you should avoid percentage values for 'height' in all
child elements of table cells if cells don't have absolute values for
'height'.

Another problem in your example is that the table cells don't have a
height property at all (which is equivalent to "height: auto"). But
because a percentage height property (the one of the IFRAME) can only be
resolved if the height of the containing block (the table cell) is
specified explicitely (see the CSS 2.1 specification section 10.5
"Content height: the 'height' property"), the percentage height property
of IFRAME will be treated as "auto". So at least your IFRAME test cases
are displayed "correct" in Safari, IMHO.

--
Alexander
Jul 23 '05 #2
> "CSS 2.1 does not define what percentage values of 'height'
refer to when specified in table cells"
thnx ... but i suppose for the div example the percentual height should be
respected (% of container)?

and it does so only when its 100% .. values below results in total collapse
....

Pieter

This means that you should avoid percentage values for 'height' in all
child elements of table cells if cells don't have absolute values for
'height'.

Another problem in your example is that the table cells don't have a
height property at all (which is equivalent to "height: auto"). But
because a percentage height property (the one of the IFRAME) can only be
resolved if the height of the containing block (the table cell) is
specified explicitely (see the CSS 2.1 specification section 10.5
"Content height: the 'height' property"), the percentage height property
of IFRAME will be treated as "auto". So at least your IFRAME test cases
are displayed "correct" in Safari, IMHO.

--
Alexander

Jul 23 '05 #3
Pieter Van Waeyenberge <p@foo.com> wrote:
thnx ... but i suppose for the div example the percentual height should
be respected (% of container)?


Yes, I think so.

--
Alexander
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: DU | last post by:
According to a recent post, it seems that Konqueror 3.1+ and Safari 1.1 support CSS3 opacity style property under a proprietary name: "Support for the CSS3 opacity (using -khtml-opacity)...
0
by: Pieter Van Waeyenberge | last post by:
hello first of all sorry for not replyin to my original post .. been very busy, and i prepared decent test cases now On the following link ull find some safari test cases with issues...
6
by: Sander Tekelenburg | last post by:
While working on <http://www.lotzofmusic.com/> I ran into some issues with overflow (the decorative fishes). It seems to me the construction is sound, yet Safari ignores the overflow:hidden. At...
6
by: Throw | last post by:
G'day everyone! I have a site (not validated, not strict anything) which works just fine in my browser (Opera for Windows) but a user recently complained that none of the links work in Safari...
2
by: jdlwright | last post by:
Hi, I have a big script that doesn't work in Safari 1.3, but does work in FF, and IE. I've given up going to my local Uni. to use their Macs (they've prevented the Debug menu from appearing...
21
by: Doug Lerner | last post by:
I'm working on a client/server app that seems to work fine in OS Firefox and Windows IE and Firefox. However, in OS X Safari, although the UI/communications themselves work fine, if the...
3
by: Jeff Paffett | last post by:
I'm trying to use the onPaste event in a text input, which according to Apple is supported. However, I get no response in Safari. Firefox works fine.
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
4
by: jlhsgcib | last post by:
Hello, I have the following snippet of code: sub getPasswordStatus { my ($login, $password) = @_; my$quotedLogin = quotemeta($login);
15
by: GinnTech | last post by:
I have a site that works perfectly in IE6 IE7 FF2 FF3 but not in the latest Safari. Here is the issue. I am attempting to call functions within a flash object. When trying to attempt to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.