Jump to content

Top & Bottom - Steps & Order Issue


Recommended Posts

For some reason the border around the steps boxes and order box in IE displays weird with many horizontal lines (left in image). On the right is it appearing properly in FireFox.

 

2jbjh5e.jpg

 

Code of the top steps box

 

<b class="orderboxrtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>

 

CSS

 

b.orderboxrtop, b.orderboxrbottom {
background:none repeat scroll 0 0 #FFFFFF;
display:block;
}

b.orderboxrtop b, b.orderboxrbottom b {
background:none repeat scroll 0 0 #EFEFEF;
display:block;
height:1px;
overflow:hidden;
}
style.css (line 11)
b.r1 {
margin:0 5px;
}
b.r2 {
margin:0 3px;
}
b.r3 {
margin:0 2px;
}
b.r4 {
height:2px;
margin:0 1px;
}

 

Any ideas?

Link to comment
Share on other sites

I did away with the

<b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b>

and

<b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b>

 

 

then added -moz-border-radius and -webkit-border-radius: and a line-height to the .div clss .stepboxactive

 

div.stepsboxactive {
-moz-border-radius:8px 8px 8px 8px;
-webkit-border-radius: 8px;
background:none repeat scroll 0 0 #00162C;
color:#FFFFFF;
float:left;
font-size:12px;
line-height:23px;
margin-bottom:5px;
margin-right:5px;
text-align:center;
width:125px;
}

 

and

div.stepsboxinactive {
-moz-border-radius:8px 8px 8px 8px;
-webkit-border-radius: 8px;
background:none repeat scroll 0 0 #EFEFEF;
float:left;
font-size:12px;
line-height:23px;
margin-bottom:5px;
margin-right:5px;
text-align:center;
width:125px;
}

 

Then added a java routine to accomodate Interent Explorer to make rounded edges.

 

Works a treat, plus all the othe div's I have rounded corners on also get parsed in IE..

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated