Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-11-29
5
Medium Priority
?
413 Views
Last Modified: 2013-12-09
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
0
Comment
Question by:nextenso
  • 3
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
nanharbison earned 2000 total points
ID: 39685773
This page looks exactly the same in FF 25 and IE 11 on my Windows 7 computer. But do you have a separate style sheet for IE? You might consider that, so you can change the CSS rules for the IE style sheet and it won't change any of the rules for the other browsers.
It is suggestion #3 on this page:
http://www.456bereastreet.com/archive/200612/internet_explorer_and_the_css_box_model/
0
 

Author Comment

by:nextenso
ID: 39685786
Hi, thanks Nanharbison, I will try that out tomorrow and let you know.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39685806
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.
0
 

Author Closing Comment

by:nextenso
ID: 39706296
Hit it on the nail first time.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39706968
Once you know this, it's so easy.... but you have to know it!!!!
Thanks for the points.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question