PDA

View Full Version : Safari for Windows/Style sheets


BOAC
28th Nov 2009, 09:44
As part of some (inherited code) web work I am doing I need to check the pages in varous browsers. I have a problem with this browser in that it just does not display the image here although it does displace the text around an empty space.

<a href=URL><img src="images/xx.jpg" height="12%" width="35%" hspace="10" border="0" class="styleleft" />

'styleleft' reads as:

.styleleft {
margin: 10px;
white-space: normal;
padding: 10px;
float: left;
}

All versions of IE and FF display properly. Is this a non-compliance with W3C and/or is there a hack that anyone knows for it?

green granite
28th Nov 2009, 10:39
Is there a box to tick to enable pictures to be displayed? I know you can turn them of in some browsers.

BOAC
28th Nov 2009, 12:18
Yes - I should have said that the problem is only with 'floated' images, sorry!

BOAC
28th Nov 2009, 17:49
Problem sorted by NO 1 son (what ARE they for......). We have discovered by trial and error that Safari will not accept % in image size INSIDE a table (OK outside), but with a pixel definition it is fine. Chalk that one in the weird box!