viktor
04-15-2008, 06:48 AM
I got two css codes that won't work together.
This code:
.optionsDivInvisible, .optionsDivVisible {
position:absolute;
margin-top:-1px;
margin-left:3px;
width:250px;
background:#6f7074;
padding:2px;
font-size:11px;
z-index:20;
}
.optionsDivInvisible {display:none;}
.optionsDivVisible {display:block;}
.optionsDivVisible p {
margin:0;
padding:0;
}
.optionsDivVisible a {
color:#F2F2F2;
text-decoration:none;
display:block;
padding:1px 4px;
border:1px solid #6f7074;
}
.optionsDivVisible a:hover {
color:#FFF;
background:#5F6062;
border-color:#cfd0d6;
}
does not work correctly with this code installed:
/* CSS General*/
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2{
background: transparent url(images/img.php.png) no-repeat bottom right;}
.cssbox{
/* intended total box width - padding-right(next) */
width:370px !important; /* IE Win = width - padding */
width: 320px;
/* the gap on the right edge of the image (not content padding) */
padding-right:15px;
/* use to position the box */
margin:100px auto;}
/* set the top-right image */
.cssbox_head{background-position:top right;
/* pull the right image over on top of border */
margin-right:-15px;
/* right-image-gap + right-inside padding */
padding-right:40px;}
/* set the top-left image */
.cssbox_head h2{
background-position:top left;
margin:0;
/* reset main site styles*/
border:0;
/* ditto */ /* padding-left = image gap + interior padding ... no padding-right */
padding:25px 0 15px 40px; height:auto !important; height:1%;}
/* IE Holly Hack */ /* set the lower-left corner image */
.cssbox_body{
background-position:bottom left; margin-right:25px;
/* interior-padding right */
padding:15px 0 15px 40px;} /* mirror .cssbox_head right/left */
.request{
top: 255px;
left: 690px;
position:absolute;
text-decoration: none;
font-style:normal;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:10px;
color:#999999;}
.navbar, a:link{
top: 350px;
text-align: center;
text-decoration: none;
font-style:normal;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:10px;
color:#999999;}
.copyright{
top: 355px;
text-align: center;
font-style:normal;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:9px;
color:#999999;}
I can't see where the problem is. Any help?
viktor
This code:
.optionsDivInvisible, .optionsDivVisible {
position:absolute;
margin-top:-1px;
margin-left:3px;
width:250px;
background:#6f7074;
padding:2px;
font-size:11px;
z-index:20;
}
.optionsDivInvisible {display:none;}
.optionsDivVisible {display:block;}
.optionsDivVisible p {
margin:0;
padding:0;
}
.optionsDivVisible a {
color:#F2F2F2;
text-decoration:none;
display:block;
padding:1px 4px;
border:1px solid #6f7074;
}
.optionsDivVisible a:hover {
color:#FFF;
background:#5F6062;
border-color:#cfd0d6;
}
does not work correctly with this code installed:
/* CSS General*/
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2{
background: transparent url(images/img.php.png) no-repeat bottom right;}
.cssbox{
/* intended total box width - padding-right(next) */
width:370px !important; /* IE Win = width - padding */
width: 320px;
/* the gap on the right edge of the image (not content padding) */
padding-right:15px;
/* use to position the box */
margin:100px auto;}
/* set the top-right image */
.cssbox_head{background-position:top right;
/* pull the right image over on top of border */
margin-right:-15px;
/* right-image-gap + right-inside padding */
padding-right:40px;}
/* set the top-left image */
.cssbox_head h2{
background-position:top left;
margin:0;
/* reset main site styles*/
border:0;
/* ditto */ /* padding-left = image gap + interior padding ... no padding-right */
padding:25px 0 15px 40px; height:auto !important; height:1%;}
/* IE Holly Hack */ /* set the lower-left corner image */
.cssbox_body{
background-position:bottom left; margin-right:25px;
/* interior-padding right */
padding:15px 0 15px 40px;} /* mirror .cssbox_head right/left */
.request{
top: 255px;
left: 690px;
position:absolute;
text-decoration: none;
font-style:normal;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:10px;
color:#999999;}
.navbar, a:link{
top: 350px;
text-align: center;
text-decoration: none;
font-style:normal;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:10px;
color:#999999;}
.copyright{
top: 355px;
text-align: center;
font-style:normal;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:9px;
color:#999999;}
I can't see where the problem is. Any help?
viktor