...

View Full Version : float problems in Internet Explorer



skywalker89
07-09-2011, 01:50 PM
Hi,

what can I do with this code to solve my IE problems? :confused:


.image-right {
float: right;
padding: 5px;
margin: 10px;
border: 2px solid #09AA01;
color:#C0C0C0;
font-size:small;
caption-side:bottom;
}

Thanks in advance

Daniel

abduraooft
07-09-2011, 02:03 PM
Please post your complete HTML+CSS of that page or a live link.



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Your markup is not compliant with the DOCTYPE that you use. Validate it and fix the errors, see
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.homeofsolarenergy.com%2F

btw, if you are aiming a compatible display in IE, you'd need to adopt a method of layout given at http://bonrouge.com/3c-hf-fluid.php

skywalker89
07-09-2011, 02:35 PM
Hi abduraooft,

sure

Home of Solar Energy (http://www.homeofsolarenergy.com)

CSS (http://www.homeofsolarenergy.com/support-files/style.css)

Thanks

Dan

skywalker89
07-10-2011, 10:40 PM
Hi,

still wondering :confused:

Daniel

kwdamp
07-11-2011, 03:06 AM
Try defining a size for the div... I stuck in width 250 and it displayed like it should.

abduraooft
07-11-2011, 08:36 AM
Hi,

still wondering :confused:

Daniel
I had got your url from that image, just after my first post. Did you see the additional lines that I've added to that?

yukimao
07-11-2011, 08:43 AM
Nice post, this is somthing Iam looking for.it is very useful for me.

skywalker89
07-11-2011, 03:24 PM
Hi abduraooft,
Hi kwdamp,

sorry, art first I didn't understand what you were sending me :( sorry

the "strict" was accidental, I changed it to "loose"

and I corrected as many errors in my html and css as I could (with SBI and Facebook, Google+ etc you cant repair it all), and now it seems IE and the others (except for Dillo(???) display my homepage perfectly... (i had refered to my "image-right" float twice, so perhaps thats why IE had problems)

Thank you all !!!

A happy :thumbsup:
Daniel



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum