Forum Moderators: not2easy

Message Too Old, No Replies

Specifying Image Alignment : IE problem, not showing up

Left-aligned image invisible in IE, fine in Firefox

         

fionagc

3:33 pm on Apr 22, 2008 (gmt 0)

10+ Year Member



What gives?

Here's the code I'm using... can you figure it out?
Thanks so much.

<style>A,TD,FONT,P {background: transparent}</style><style> .contentModuleHeader {display:none}
.contentModuleHeaderAlt {display:none} img{position:relative;} </style>
<style>
BODY,TD,TR,TABLE,B,P {COLOR:#333333;font-size:8pt;face:veranda;letter-spacing:1px} A {COLOR:#9FBF91; FONT-FAMILY: tahoma;font-size:8pt;}b{color:#171A17}
img{position:relative;}
</style><br>QUOTE</b><br><br><br>
<div style="float: left;">
<img src="http://myimageurlhere.jpg" />
</div>

fionagc

3:34 pm on Apr 22, 2008 (gmt 0)

10+ Year Member



Also, if it helps, this is for a young friend on Neopets... is anyone familiar with the coding of that site?

I'm thinking it's not a site coding problem, but rather something within THIS code itself. I'm not very experienced, though, so who knows.

Thanks again.

fionagc

3:37 pm on Apr 22, 2008 (gmt 0)

10+ Year Member



Also, I cannot specify the Doc Type myself, as Neopets' website code deletes it.

Marshall

5:42 pm on Apr 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



First I would suggest viewing the page source and see what doctype they are using. I also suggest deleting this: img{position:relative;} as it may conflict with the div float.

Marshall