On Jun 19, 2007, at 9:58 AM, Seona Bellamy wrote:

> Trying to fix a Safari issue where a couple of divs are not sitting  
> hard up
> against each other as they should. I found the following tip for  
> directing a
> rule only at Safari:
> html[xmlns*=""] body:last-child
>
> So I applied it as follows:
>
> html[xmlns*=""] body:last-child #cul-tip {
>     margin-top: -30px;
> }
>
> where cul-tip is the div that I want to shift.
>
> Sadly, Safari seems to have ignored this completely. This leads me to
> believe that either a) I've applied the filter incorrectly, or b)  
> Safari is
> ignoring the negative margin.
>
> Can anyone shed some light on this for me please?

Test case ?

Note that Safari -version 2- has a truckload or more bugs with  
the :last-child pseudo-class. So much that  it is disabled in current  
WebKit nightly builds and in Safari 3.0beta.

And yes, Safari handles negative margins on floats quite well.
And I've no idea about that hack of yours; I wouldn't trust it too much.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to