/    Sign up×
Community /Pin to ProfileBookmark

IE 8 ignoring img float?

Hi Guys,

Im building a page that displays a few products and have floated an image to the right for each product so that text wraps to the left. In firefox this works fine but i can’t figure out why IE is ignoring the float .

[URL=”http://www.cnsdemo4.co.uk/js/paving.html”]Heres the page[/URL]

I have validated html and css.

Any advice much appreciated.

Thanks

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@rodd1000authorFeb 16.2011 — Solved.

Just added a width of 600px to the product <p> class.

Cheers.
Copy linkTweet thisAlerts:
@MigFeb 16.2011 — It was possibly a problem with the image being inside the <h2>

I would put the image separately, above the <h2> and the float should work.
×

Success!

Help @rodd1000 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...