PDA

View Full Version : IE text spacing problem



celicasaur
January 25th, 2009, 09:27 PM
In FF my text displays perfectly (no surprises there then!) but on IE the text begins one sentance lower than what I've asked for (ahem :diss: )

I've had the same issue before but with an image that didn't want to sit where it was meant to. Again the only difference being a sentance sized gap. If I add a <br/> all that does it align it perfectly in IE, but then on other browsers it goes to hell.

Anybody heard of this before? I'm sure it must be a simple, silly fix...

claudio
January 26th, 2009, 09:17 AM
Can you show us the link for your page?

celicasaur
January 28th, 2009, 10:28 PM
Hi sorry for the delay. The website is not online at the moment, but I've taken screenshots of the problem in-question.

Firefox - correct
http://i6.photobucket.com/albums/y239/Ranasaur/firefox.jpg

IE7 - incorrect :(
http://i6.photobucket.com/albums/y239/Ranasaur/ie7.jpg

Any ideas why it may only do this on IE? I've also encountered this on a different website, but it wasn't as big a deal as this.

For those wondering, the text and the image are two seperate div layers. I individually placed line breakers on the text to shape it around the image.

celicasaur
January 28th, 2009, 11:20 PM
Ok I sorted it out.

Turns out that with the p:first-letter css class, firefox was placing the text one line down...IE was actually doing it correctly according to where I defined the x & y position of the div layer for the text.

I've taken the larger first letter effect out for now.

However it kinda sucks that I can't use that...any suggestions on how to keep it in spite of this positioning problem?