I'm no CSS expert, but I'm trying to rescue a site that I designed as the coders didn't do an amazing job. Time was tight and money was low so what could I expect... anyway...
Everything is pretty much there now, but there's a strange bug when resizing the window in IE. Some items move and others don't. The site displays perfectly in Safari and Firefox.
Can anyone help me out with this? its killing me not knowing what's going on.
The xHTML/CSS is certainly "Junky"!!! Akk my apologies I really should resist such lousy puns.....
Anyway the root of the problem seems to be this: body { color: #7f7f7f; font: 62.5%/1.4em Trebuchet MS, Trebuchet, sans-serif; width: 76em; margin: 0 auto 0 auto; padding: 0 0 0 0; }
Not sure why anyone would add a width and margins to the body tag, then expect IE to understand it!
Change the body styles and put the width and margins on the container tag:
fransguard: The site is based on wordpress and is therefore pulling content in via php/mysql. The reason that there is an id="jsnews" in there is just one of my quick hacks to get the site displaying properly...
axe_sosharp: Many thanks for that, it worked a treat!! now displaying exactly the same over the three browsers! Phew!