?
Solved

Box broken in IE 6

Posted on 2008-10-14
2
Medium Priority
?
333 Views
Last Modified: 2013-11-19
Hi,

I have this website which works fine but the box on right (second yellow box) is broken in IE 6. Having hard time to understand what is it thats breaking it. Works fine in IE7, FF, Safari and Opera.

http://www.paradex.co.uk/iscnew/index.php?option=com_content&task=view&id=80
Joomla CMS 1.0.15
<!-- MAIN BODY START -->
                <?php if ($option != 'com_frontpage' ) { ?>
                <div id="m-body">
                    <div id="mainbody-top"></div>
                    <div id="m-body-center">
                        <div id="m-body-inner">
                            <?php include_once("mainbody.php"); ?>
                         </div>
                    </div>
                    <div id="m-body-bottom"></div>
                </div>
                <?php } ?>
<!-- MAIN BODY END -->
 
 
----------------------------- CSS -----------------------------
#m-body {width: 591px; margin-left: 0px;}
#m-body-top {width: 592px; background: url(../images/content-bg-top.gif) no-repeat; height: 6px;}
#m-body-center {padding: 0; margin: 0; width: 592px; background: url(../images/content-bg-center.gif) repeat-y;}
#m-body-bottom {width: 591px; background: url(../images/content-bg-bottom.gif) no-repeat; height: 7px; margin-bottom: 10px;}
/*#textbox1 a {padding-left: 14px; margin-left: 6px; color: #545454; background: url(../images/ja-moduletable-a-hover.gif) no-repeat; font: 100% Tahoma, Arial, sans-serif;}*/
#m-body-center div {padding: 5px; margin: 0;}

Open in new window

0
Comment
Question by:khawaib
[X]
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
2 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 2000 total points
ID: 22713077
IE4-6/Win won't let an element have a height that is less than its line-height.
To fix this you can decrease the font-size and line-height OR use overflow:hidden.

P.S. Are you aware that your page contains XHTML and CSS errors?
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/
0
 

Author Comment

by:khawaib
ID: 22716950
Hi,

Thanks for reply, that sorted the top broken box problem. Can you please have look at this link and see why the bottom is broken. It aligns to the left side and breaks from its position where it should be. I have tried overflow:hidden but it did not work.
http://www.paradex.co.uk/iscnew/index.php?option=com_content&task=view&id=127&Itemid=105

Also on some pages the right column breaks the layout and drops at bottom of left columns.
http://www.paradex.co.uk/iscnew/index.php?option=com_content&task=view&id=127&Itemid=105

(all observations are in IE6)

Not too much bothered for validations at the moment, may look at that later.

Thanks
Note: Points increased
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

800 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