studebaker
07-20-2005, 07:33 PM
I really hate Internet Explorer. :mad: Every time I try to fix one problem, another one develops. Anyways, I've been trying to get a page to display correctly in all the different browsers but have been unsuccessful in my attempts.
Here is one of the issues: I have a page with a <div> element that surrounds the entire page with a px border. Within this element I have another <div> element that acts as the header, it is 137. Within this <div> element is another that is an inline style which has a 1px padding to separate the inside contents from the surrounding border. The problem I am having is that one of the images inside the most inner <div> element is not displaying properly in internet explorer and other browsers. The image itself is 135px tall but in IE it just spills touches the surrounding border while in other browsers it is separated from the border nicely by the 1px of padding that is an attribute of the <div> element which contains it. Confused? :confused: Here is the CSS code and the HTML code that deals with the problem area of the page:
/* Styles for divisions */
div.pageperimeter {background-color: white;
border-style: none solid none solid;
border-color: black;
border-width: 1px;
position: relative;
top: 0px; left: 100px;
width: 800px;
height: 1700px}
div.gbuttons {position: relative;
top: 3px; left: 15px;
width: 60px;
height: 9px;}
#spacingtest {letter-spacing: 5px;}
div.mltab {border-style: solid;
border-color: black;
border-width: 1px;
position: absolute;
top: 25px; left: 15px;
width: 770px;
height: 1000px;}
.htab {border-style: none none solid none;
border-color: black;
border-width: 1px;
width: 770px;
height: 137px;}
#trpt_pos {position: inherit;
right: 3px;}
#tnt_pos {position: inherit;
right: 3px;
bottom: 2px;}
<!--HTML CODE-->
<div class="pageperimeter">
<div class="gbuttons">
<span id="spacingtest">
<a href="index.php"><img id="home_icon" src="../web-data/Components/_content/globals/home_icon.png"></a>
<a href="../_layout/test_page2.html"><img id="envelope_icon" src="../web-data/Components/_content/globals/envelope_icon.png"></a>
<a href="../_layout/test_page3.html"><img id="question_mark_icon" src="../web-data/Components/_content/globals/question_mark_icon.png"></a>
</span>
</div>
<div class="mltab">
<div class="htab">
<style>
div.hitab {position: inherit;
padding: 1px;}
</style>
<div class="hitab">
<img src="../web-data/Components/_content/home/top_left_logo_tab.png">
</div>
</div>
</div>
</div>
Also, in case you want to see what the page looks like:
http://support.jumbographics.com/bbweb/web-content/index.php
Hope somebody can help me out. :o
Here is one of the issues: I have a page with a <div> element that surrounds the entire page with a px border. Within this element I have another <div> element that acts as the header, it is 137. Within this <div> element is another that is an inline style which has a 1px padding to separate the inside contents from the surrounding border. The problem I am having is that one of the images inside the most inner <div> element is not displaying properly in internet explorer and other browsers. The image itself is 135px tall but in IE it just spills touches the surrounding border while in other browsers it is separated from the border nicely by the 1px of padding that is an attribute of the <div> element which contains it. Confused? :confused: Here is the CSS code and the HTML code that deals with the problem area of the page:
/* Styles for divisions */
div.pageperimeter {background-color: white;
border-style: none solid none solid;
border-color: black;
border-width: 1px;
position: relative;
top: 0px; left: 100px;
width: 800px;
height: 1700px}
div.gbuttons {position: relative;
top: 3px; left: 15px;
width: 60px;
height: 9px;}
#spacingtest {letter-spacing: 5px;}
div.mltab {border-style: solid;
border-color: black;
border-width: 1px;
position: absolute;
top: 25px; left: 15px;
width: 770px;
height: 1000px;}
.htab {border-style: none none solid none;
border-color: black;
border-width: 1px;
width: 770px;
height: 137px;}
#trpt_pos {position: inherit;
right: 3px;}
#tnt_pos {position: inherit;
right: 3px;
bottom: 2px;}
<!--HTML CODE-->
<div class="pageperimeter">
<div class="gbuttons">
<span id="spacingtest">
<a href="index.php"><img id="home_icon" src="../web-data/Components/_content/globals/home_icon.png"></a>
<a href="../_layout/test_page2.html"><img id="envelope_icon" src="../web-data/Components/_content/globals/envelope_icon.png"></a>
<a href="../_layout/test_page3.html"><img id="question_mark_icon" src="../web-data/Components/_content/globals/question_mark_icon.png"></a>
</span>
</div>
<div class="mltab">
<div class="htab">
<style>
div.hitab {position: inherit;
padding: 1px;}
</style>
<div class="hitab">
<img src="../web-data/Components/_content/home/top_left_logo_tab.png">
</div>
</div>
</div>
</div>
Also, in case you want to see what the page looks like:
http://support.jumbographics.com/bbweb/web-content/index.php
Hope somebody can help me out. :o