PDA

View Full Version : HTML Code interbrowser weirdness



flying_green_leprachaun
12-06-2005, 09:25 PM
<div style="float: right; margin-left: 10px; margin-bottom: 10px;">
<a href="http://www.flickr.com/photos/19491006@N00/18796930/" title="Photo Sharing"><img src="http://photos12.flickr.com/18796930_5d4c4f4666_m.jpg" width="240" height="180" alt="P1030141" alt="" style="border: solid 2px #000000;"/>
</a>
Originally uploaded by <a href="http://www.flickr.com/people/19491006@N00/">Me</a>.
</div>

Insert lots of EXTREMELY interesting text that you should love to read here :-/
<br clear="all" />

the above code outputs as expected in Opera 8.0 & IE6.0 but *Zilla's seem to act all screwy by not displaying the image.
When I remove the DIV tags to float the picture right in the post, I get the image displaying inline fine... Any Ideas why the DIV wrapper screws it up?

If its a CSS issue, dang. Alot of digging.

Rob99
13-06-2005, 12:15 AM
Compare this to what you had:

<div style="float: right; margin-left: 10px; margin-bottom: 10px;">
<a href="http://www.flickr.com/photos/19491006@N00/18796930/"
title="Photo Sharing"><img src="http://photos12.flickr.com/18796930_5d4c4f4666_m.jpg" width="240"
height="180" alt="" style="border: solid 2px #000000;"></a>
Originally uploaded by <a href="http://www.flickr.com/people/19491006@N00/">Me</a>.</div>
Insert lots of EXTREMELY interesting text that you should love to read here :-/<br clear="all">Should look like this. (http://sal.neoburn.net/imagef1/files/web-page-Rob99.jpg)

sal
13-06-2005, 12:48 AM
It displays practically the same in all three browsers (Fx1.04, IE6 SP2 (http://www.sal.neoburn.net/imagef1/files/fgl_webpage.jpg) and Opera8) for me.

vinref
13-06-2005, 01:16 AM
It displayed fine for me in Firefox only when I unticked the "Preferences/Web Features/Load images/for originating server only" box.

If you look at the code, the image is served on a different server...

flying_green_leprachaun
13-06-2005, 12:16 PM
It displayed fine for me in Firefox only when I unticked the "Preferences/Web Features/Load images/for originating server only" box.

If you look at the code, the image is served on a different server...

I also have that option unticked & Firefox doesnt display. From the display that the previous kind people have uploaded it does appear to be a CSS issue.

A genius friend did some digging & found had a bit of a play with editcss (http://editcss.mozdev.org/) on firefox and if you remove this tag:
max-width: 98%;
from .entry img in the css it fixes it for him.

I shall go mining & see if I cant apply this as a fix...

I appreciate the feedback people :-)

netchicken
13-06-2005, 12:29 PM
considering zilla has about 2% of the market, does it really matter?

flying_green_leprachaun
13-06-2005, 07:45 PM
considering zilla has about 2% of the market, does it really matter?

A bit more than that & growing.

I also use it predominantly so I would obviously like to have my own site display correctly in the browser of my choice.
Also since Im kind of person to frequent a forum such as PressF1, I probably dont like unanswered questions like this one.
Take your pick my friend :D

Murray P
13-06-2005, 07:55 PM
considering zilla has about 2% of the market, does it really matter?

Was that a genuine troll?

flying_green_leprachaun
14-06-2005, 12:58 AM
Was that a genuine troll?

Hard to say, misinformed at worst IMO :-)

No major.

netchicken
14-06-2005, 07:15 AM
Well it was trollish... :)

But I am right...
From my own stats from my site... (What is interesting is the growth of firefox and the decline of IE)
Internet Explorer 78.5 %
Firefox 11.1 %
Netscape 2.8 %
Safari 2.2 %
Mozilla 2 %
Opera 1.6 %

flying_green_leprachaun
14-06-2005, 11:53 PM
Well it was trollish... :)

But I am right...
From my own stats from my site... (What is interesting is the growth of firefox and the decline of IE)
Internet Explorer 78.5 %
Firefox 11.1 %
Netscape 2.8 %
Safari 2.2 %
Mozilla 2 %
Opera 1.6 %

By *Zilla, I was referring to the breed of browsers, Im trialing the Deer Park release as we speak. :cool:

sal
15-06-2005, 02:01 AM
By *Zilla, I was referring to the breed of browsers, Im trialing the Deer Park release as we speak. :cool:
By breed, you mean gecko based browsers (http://en.wikipedia.org/wiki/Gecko_(layout_engine)#Web_browsers)?

Any luck with your display issues? I assumed it was the way you were going about what you were trying to do, if you give an example of what your trying to do, I might be able to whip something up if your still having probs.