Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

ie6 layout issues

Posted on 2011-03-09
Last Modified: 2012-05-11

I seem to have a number of layout issues in ie6

1) Header has extra space at the bottom

2) 1st and last menu buttons are a strange width causing menu to drop on to 2 lines

3) Sidebars seem to grow in width

Can you help?
Question by:Luv2Muff
  • 4
  • 4
LVL 16

Expert Comment

ID: 35086768
I think you need make it clear in IE9 first.
Your page completed in HTML5, so your should expect many problem in IE6, IE7, but you can avoid it by following rules here: http://net.tutsplus.com/tutorials/html-css-techniques/how-to-make-all-browsers-render-html5-mark-up-correctly-even-ie6/
Try it and layout issues will be sorted.

Author Comment

ID: 35093566
I have updated Cufon so that now dipslay in ie9.

Other than that I think I have already followed tutsplus guidelines, but the issues remain.
LVL 16

Expert Comment

ID: 35093643
your layout should be as follows:
#  <body>  
#         <header>  
#             <!-- ... -->  
#         </header>  
#         <div id="container">  
#             <!-- ... -->  
#         </div>  
#         <footer>  
#             <!-- ... -->  
#         </footer>  
#     </body>  
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center


Author Comment

ID: 35093677
Unfortunately I cannot change all aspects of the layout, in the CMS.

But I'm not sure that if I did/could change the layout as suggested that would cure the issues that I a experiencing, which seem unrelated to the above?
LVL 16

Expert Comment

ID: 35099707
specify width of #main_menu ul.level_1 for example width:931px;
specify width of .box_container for example width:218px;

not a solution but useful notification for IE6 users: http://www.neoease.com/lets-kill-ie6/
LVL 16

Expert Comment

ID: 35100112
Ok let's be more specific,
Add width:931px; for #header .inside
Add width:960px; for #container
Add height:150px; for .ce_text
Add height:30px; for .formod_navigation
Add height:10px; for.mod_breadcrumb
Add margin-top:250px; for #container for IE6 and IE5 ONLY
Add width:218px; for .box_headline for IE6 and IE5 ONLY
Add width:202px; for .box_headline for IE7 ONLY
LVL 42

Accepted Solution

David S. earned 500 total points
ID: 35102185
1) Give "width:100%" to "#main_menu ul.level_1".

2) Give "float:left" to both "#main_menu ul.level_1 li a.l1.first" and "#main_menu ul.level_1 li a.l1.last".

3) One of the scripts is causing problems with the developer tools in IE6, so debugging that is difficult. I suspect changes that the PIE script makes are causing the sidebar to be too wide. Does temporarily disabling it make a difference?

Author Comment

ID: 35115864
Thanks Kravimir, that works a treat, menu is now sorted in IE6.

Are you able to assist with the left content boxes expanding more that they ought?

Thanks again.

Author Closing Comment

ID: 35465423
Thanks once again

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Make navigation bar highlight the page you are on. 1 23
two div layout one vertical other horizontal. 5 36
Why a span is lower 2 26
How to show span when clicked on? 10 31
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

839 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