Avatar of nextenso
nextensoFlag for United Kingdom of Great Britain and Northern Ireland asked on

IE is inserting a space above a content container in a CSS website

Hi, going around in circles trying to resolve. I think it is due to a quirk in how IE reads positioning of CSS elements. I attach the HTML file for one page, (all but Home page are created from a single template) built in Dreamweaver CC. The webpages display fine in Firefox, Chrome and Opera, but,  IE inserts a space above the main body content container set as an editable region.

If I change the relative positioning setting for the menu buttons, IE will display correctly, but, Chrome pushes the content below the bottom of the menu.

The menus code (which is created from a Dreamweaver extension), sit in a div which sits inside the div 'Sidebar' container. Is this what causes IE to misplace the body content container ??

View this page http://www.destinationdata.co.uk/sportpathways/spl-privacy.html in IE and Firefox. The Breadcrumb and all content below is pushed downwards only in IE. The Breadcrumb line should be level with top of the 'Home' Button as it is in other browsers.

The Breadcrumb line is at the top of the editable 'container'

The attached files are before cleaning up. I did an earlier clean but it did not resolve.

Rgds Jonathan
menu204id14-style.css
spl-subpage.css
spl-privacy.html
Web BrowsersCSSHTML

Avatar of undefined
Last Comment
nanharbison

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
nanharbison

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
nextenso

Hi, thanks Nanharbison, I will try that out tomorrow and let you know.
nanharbison

I got this advice on this website years ago, when I was totally defeated by CSS rules for IE. It has saved my life ever since.
ASKER
nextenso

Hit it on the nail first time.
Your help has saved me hundreds of hours of internet surfing.
fblack61
nanharbison

Once you know this, it's so easy.... but you have to know it!!!!
Thanks for the points.