473,385 Members | 1,357 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,385 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 2450
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...
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.