I have this issue in my menu where my ul tag wants to float to the right outside of the boxes.
http://beta.heartfeltc reations.us/product-list.php
I have been working on this for a total of 8 hrs and it is bugging me. Any suggestions would be helpful. I added a border on the ul tag to make it easy to see.
Here is my css
http://beta.heartfeltc reations.us/product-list.php
I have been working on this for a total of 8 hrs and it is bugging me. Any suggestions would be helpful. I added a border on the ul tag to make it easy to see.
Here is my css
Code:
body {
margin:0px;
padding:0px;
font-family:Arial, Helvetica, sans-serif;
color:#7f7d78;
font-size:13px;
height:auto;
background-color: #000;
}
#corpmessage {
text-align: center;
background-color: #000;
height: 32px;
font-family: Arial, Helvetica, sans-serif;
color: #FFF;
font-size: 13px;
line-height: 30px;
background-image: url(../images/corpmessage.png);
background-repeat: repeat-x;
background-position: left top;
width: 996px;
margin-right: auto;
margin-left: auto;
}
img {
text-decoration: none;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
.main {
margin: auto;
height: auto;
width: auto;
}
.container{
width:996px;
margin:0 auto;
position: relative;
}
#header{
width:996px;
float:left;
background-image:url(../images/header_bg.jpg);
height:130px;
background-repeat:repeat-x;
background-position: left bottom;
background-color: #F5F5F5;
margin-bottom: 0px;
}
.logo{
float:left;
width:368px;
margin-top: 10px;
}
.headercontain_right{
float:right;
width:600px;
margin-right:12px;
}
.headercontain_right .top_icons ul{
float:right;
list-style-type:none;
margin: 0px;
}
.headercontain_right .top_icons li{display:inline;}
.headercontain_right .top_icons a img{
border:none;
padding-left: 2px;
}
.headercontain_right .top_icons li.text{font-family:Arial, Helvetica, sans-serif;font-size:12px; font-weight:bold;}
.top_icons{
float:right;
width:400px;
margin-top: 22px;
}
.cartlinks{
float:right;
margin-top: 7px;
width: 600px;
text-align: right;
}
.cartlinks a{
color:#6A1725;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
text-decoration:none;
font-weight:bold;
width:500px;
}
.cartlinks a:hover{color:#333333;}
.headersearchform{
width:400px;
margin-top: 16px;
text-align: right;
float: right;
height: 25px;
}
.headersearchform form {
width: 200px;
float: right;
margin: 0px;
height: 23px;
}
.headersearchform #searchbox {
background:url(../images/search_bg_center.jpg) repeat-x;
height:23px;
border:0px;
line-height: 23px;
font-family: Arial, Helvetica, sans-serif;
color: #ADADAD;
padding-right: 5px;
padding-left: 5px;
margin: 0px;
width: 145px;
}
.headersearchform #searchbox {
background-image:url(../images/search_bg.jpg);
background-repeat:no-repeat;
background-position:left center;
margin: 0px;
}
.headersearchform form #searchbutton {
margin-bottom: -6px;
margin-top: 0px;
}
#nav{
width:996px;
font-family: 'Ruluko', sans-serif;
font-size:15px;
background-image:url(../images/link_bg.png);
height:40px;
float: left;
background-repeat: repeat-x;
background-position: left top;
display: block;
margin: 0px;
background-color: #781929;
}
#nav ul{
list-style-type:none;
height:40px;
margin: 0px;
width: 996px;
}
#nav li {
height:40px;
text-align:center;
font-family: 'Ruluko', sans-serif;
font-size:15px;
font-weight:bold;
color:#FFFFFF;
display:block;
width:100px;
line-height: 40px;
margin: 0px;
background-repeat: no-repeat;
background-position: right bottom;
border-right-width: 1px;
border-right-style: solid;
border-right-color: #75263D;
float: left;
}
.main .container #nav ul .lastmenuitem {
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
#nav li a {
display:block;
color:#CCCCCC;
text-decoration:none;
line-height: 40px;
height: 40px;
font-size: 15px;
font-weight: bold;
width: 100px;
font-family: 'Ruluko', sans-serif;
}
#nav li a:hover {
height:40px;
width:100px;
line-height:40px;
display:block;
font-size: 15px;
text-decoration: none;
color: #FFF;
background-image: url(../images/hoverbutton.png);
background-repeat: repeat-x;
background-position: center top;
}
#content{
width:996px;
background-color: #FFF;
position: relative;
float: left;
padding-bottom: 5px;
}
#section1{
width:996px;
height:325px;
background-color:#fff;
float: left;
}
#strip{
float:left;
width:996px;
background-image:url(../images/dotted_strip_down.jpg);
height:8px;
background-repeat:repeat-x;
background-position: left top;
margin-top: 0px;
margin-bottom: 0px;
line-height: 8px;
}
#section2 {
width:996px;
height:305px;
background-color:#fff;
float: left;
margin-top: 0px;
}
#strip2{
width:996px;
height:8px;
background-repeat:repeat-x;
float: left;
background-position: left top;
background-image: url(../images/dotted_strip_up.jpg);
margin-top: 0px;
margin-bottom: 0px;
}
#section3 {
width:996px;
height:275px;
background-color:#fff;
float: left;
margin-right: auto;
margin-left: auto;
position: relative;
z-index: 1;
margin-top: 0px;
}
.boxes_main{
width:996px;
margin-top: 20px;
margin-bottom: 20px;
}
.boxes{
float:left;
width:205px;
text-align: left;
padding-left: 35px;
height: 255px;
}
.boxes_text {
margin-top: 3px;
margin-bottom: 3px;
height: 68px;
}
#bottom_box{
width:940px;
background-color:#ECECF0;
height:270px;
position: relative;
margin-top: 25px;
margin-left: 28px;
z-index: 2;
visibility: visible;
float: left;
}
#section2 .boxes_main .boxes .featureimg {
padding: 5px;
border: 1px solid #CCC;
margin-top: 3px;
}
.feature_heading {
padding-bottom: 5px;
}
.bottom_inner_box{
width:233px;
margin-top:25px;
margin-left:30px;
float: left;
height: 210px;
border: 1px solid #CCC;
background-image: url(../images/box_center.jpg);
background-repeat: repeat;
padding-top: 5px;
padding-bottom: 5px;
}
.bottom_inner_box3{
width:270px;
float:left;
margin-top:30px;
margin-left:20px;
}
.bottom_inner_box3 input {
background-image:url(../images/submit_bg.png);
height:1.95em;
background-repeat:no-repeat;
background-position:left center;
font-family: Arial, Helvetica, sans-serif;
width: 155px;
background-color: #FFF;
margin-left: 38px;
padding-left: 10px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
line-height: 23px;
color: #ADADAD;
}
.bottom_inner_box3 form #emailsubmit {
margin-bottom: -10px;
margin-left: -12px;
position: absolute;
}
.bottom_inner_box3 div form div a img {
padding-left: 3px;
}
.dotted_line{
float:left;
margin-left:25px;
margin-top:40px;
}
#footer{
float:left;
width:996px;
background-image:url(../images/bottom.jpg);
background-position:center bottom;
background-repeat:repeat-x;
height: 92px;
position: relative;
z-index: -1;
}
#footer .left{
float:left;
margin-top:10px;
margin-left: 50px;
}
#footer .right{
float:right;
color:#FFFFFF;
margin-top:15px;
margin-right: 50px;
}
.copyrighttext {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
text-decoration: none;
padding-top: 5px;
}
#footer .right a{text-decoration:none; color:#FFFFFF;}
#footer .right a:hover{color:#5D1520;}
#left_main{
float:left;
width:233px;
margin-left:15px;
margin-bottom: 20px;
margin-top: 15px;
text-align: left;
}
.left_inner{
width:230px;
border: 1px solid #CCC;
-moz-border-radius: 5px;
border-radius: 5px;
float: left;
background-image: url(../images/sidebox_center.jpg);
background-repeat: repeat;
background-position: left top;
margin-left: 0px;
}
.left_inner ul{
margin-top:10px;
margin-bottom:10px;
padding-left:5px;
width: 225px;
list-style-type: none;
float: left;
text-align: left;
border: 1px solid #999;
}
.left_inner li{
text-align: left;
}
.left_inner li a{
text-decoration:none;
color:#505150;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
text-align: left;
line-height: 20px;
}
.left_inner li a img{
border:0px;
float:left;
margin-top:5px;
margin-left:5px;
text-align: left;
}
.left_emailsignup{
margin-top:10px;
width:228px;
background-image:url(../images/sidebox_center.jpg);
background-repeat:repeat;
background-position:left top;
border: 1px solid #CCC;
-moz-border-radius: 5px;
border-radius: 5px;
padding-top: 3px;
padding-bottom: 3px;
padding-left: 2px;
float: right;
}
.left_emailsignup .form_text{font-family:Arial, Helvetica, sans-serif; float:left; font-size:12px; text-align:justify; margin-left:15px; width:200px; font-weight:bold;}
.left_emailsignup #leftemail{
background-image:url(../images/submit_bg.png);
background-repeat:no-repeat;
width:170px;
height:25px;
background-position:left center;
border:0px;
padding-left:5px;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
margin-right: 0px;
line-height: 25px;
float: left;
}
.left_emailsignup form table tr td #submit {
margin-left: -20px;
}
#right_main{float:right; width:720px; margin-right:15px;}
Comment