Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Box broken in IE 6

Posted on 2008-10-14
2
Medium Priority
?
335 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 43

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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
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…

610 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