This is a discussion on "Image float misbehaving in IE vs FF" within the Web Page Design section. This forum, and the thread "Image float misbehaving in IE vs FF are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Image float misbehaving in IE vs FF
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Image float misbehaving in IE vs FF
I'm floating an image in the content area of www.togetherateastofengland.com/index.php?pageid=1 In Firefox it butts vertically with the div above as I want it to, but in FF it doesn't.
Bizarrely the image on www.togetherateastofengland.com/index.php?pageid=2 behaves itself in both browsers.
What have I done wrong? Is float the best way of achieving text next to an image? |
|
|
|
#2
|
|||
|
|||
|
Re: Image float misbehaving in IE vs FF
You seem to have a strange character in your code.
<div id="main">
If you view your source in ie it is more apparent. Pat |
|
#3
|
|||
|
|||
|
Re: Image float misbehaving in IE vs FF
Thank you so much!
The webpage is encoded as UTF-8 - but when the files are saved as UTF-8 files a weird little box (the standard what is that character) appears in the source, but not on the page, throwing the layout. When I resaved the files using Notepad with ANSI, the character disappeared and i looks great. Now I can add the margins I want!!! Can anyone explain how a UTF-8 xhtml site needs top have its files saved with ANSI encoding to work please??? |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] misbehaving footer | mykl | Web Page Design | 15 | Oct 15th, 2007 19:20 |
| How to float 2 image hyperlinks on same line | AdRock | Web Page Design | 6 | Apr 2nd, 2007 14:30 |
| Problems with float:left float:right | nvidiajoe | Web Page Design | 8 | Nov 17th, 2006 20:24 |
| IE6 Float | masonbarge | Web Page Design | 8 | Aug 16th, 2006 10:13 |
| Image float problem | timmytots | Web Page Design | 6 | Jul 8th, 2006 13:40 |