[thelist] Mac IE5 and floated divs and IE6 class over-riding

Mike Stenhouse Mike.Stenhouse at spiritsoft.com
Thu Feb 20 05:58:01 CST 2003

[ Picked text/plain from multipart/alternative ]
Hi all

I'm just finishing up a personal web site and I've run into a CSS problem that I just can't figure out. For the photo album sections of my site I'm emulating a table with divs of class .tr and .td styled with the following CSS:

.tr {
 margin:0px 0px 0px 0px;
.td {
 padding:10px 0px 10px 0px;

For an example check this: http://www.donotremove.co.uk/pics/collection.asp?collection=3&type=Travels

This works fine in pretty much every CSS2 compliant browser (many thanks to John Witchel's BrowserCam) but for some reason IE5.2 for the Mac just doesn't float my .td divs. Instead, all the pictures cascade down the page... Anyone have any ideas? I don't have a Mac to test on so debugging this is kinda hard. :-(

Another minor problem I'm having is with IE6. The current menu item is supposed to be highlighted. To do this I assign the current item's link the 'current' class which is supposed to over-ride the 'li a' rule's color. This works fine on N7, O6+ and Moz1.x but IE isn't having any of it. Help there would be greatly appreciated too.

Many thanks!!!

Mike Stenhouse

This message contains confidential information and is intended only for the named individual and may not be disseminated without prior permission.  If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message in error and delete this e-message from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, delayed in transmission, incomplete, or may contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this Message which arise as a result of e-mail transmission.  If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any software or services.

This email has been scanned for all viruses by the MessageLabs SkyScan
service. http://www.messagelabs.com

More information about the thelist mailing list