Re: Layout problems with Firefox Hi and thanks for the reply. I can't post the css file in one post, it's too big. And I can't seem to attach the file. So I will anserw this with 2 posts. First here comes part one of the CSS-file:
/* CSS Document */
.clr {
clear: both;
}
#main_outline {
width: 744px !important;
width: 750px;
border: 1px solid #0066CC;
padding: 2px;
background: #ffffff;
}
#foot {
width: 738px !important;
width: 744px;
height: 20px;
float: left;
border: 1px solid #ffffff;
background: url(../images/boxheading.gif) repeat-x;
font-family: verdana, arial, sans-serif;
font-size: 10px;
font-weight: bold;
text-align: left;
color: #ffffff;
margin-bottom: 2px !important;
margin-bottom: -2px;
}
#pathway_outline {
width: 738px !important;
width: 744px;
height: 20px;
float: left;
border: 1px solid #ffffff;
background: url(../images/boxheading.gif) repeat-x;
font-family: verdana, arial, sans-serif;
font-size: 10px;
font-weight: bold;
color: #ffffff;
margin-bottom: 2px !important;
margin-bottom: -2px;
}
#pathway {
float: left;
padding: 4px 3px 3px 5px;
}
#buttons {
float: right;
margin: 0px;
padding: 0px;
width: 50%;
}
ul#mainlevel-nav
{
list-style: none;
padding: 0;
margin: 0;
font-size: 0.8em;
}
ul#mainlevel-nav li
{
display: block;
background-image: none;
padding-left: 0px;
padding-right: 0px;
float: right;
margin: 0;
width: auto !important;
width: 15%;
font-size: 11px;
line-height: 20px;
white-space: nowrap;
border-left: 1px solid #0066CC;
}
ul#mainlevel-nav li a
{
display: block;
padding-left: 15px;
padding-right: 15px;
text-decoration: none;
color: #ffffff;
background: transparent;
}
#buttons>ul#mainlevel-nav li a { width: auto; }
ul#mainlevel-nav li a:hover
{
color: #00ff00;
text-decoration: underline;
background: url(../images/boxheading.gif) repeat-x;
}
#search {
float: right;
border: 1px solid #0066CC;
padding: 0px;
width: 163px !important;
width: 165px;
height: 21px !important;
height: 23px;
overflow: hidden;
}
#search .inputbox {
border: 0px;
padding: 4px 3px 3px 5px !important;
padding: 3px 3px 3px 5px;
font-family: verdana, arial, sans-serif;
font-size: 11px;
height: 17px !important;
height: 19px;
width: 153px !important;
width: 159px;
color: #0066CC;
}
#header_area {
width: 744px !important;
text-align: left;
border: 0px;
margin: 0px;
}
#header {
float: left;
padding: 0px;
margin: 0px;
width: 577px;
height: 70px;
background: url(../images/barntotal.gif) no-repeat;
}
#top_outline {
float: left;
border: 1px solid #cccccc;
padding: 2px;
margin-left: 2px;
float: left;
overflow: hidden;
height: 40px !important;
height: 46px;
width: 159px !important;
width: 165px;
}
#left_outline {
margin-top: 2px;
border: 1px solid #0066CC;
padding: 2px;
float: left;
width: 145px !important;
width: 151px;
}
#content_area {
padding: 0px;
margin-top: 0px;
margin-left: 2px;
/** border: 1px solid #cccccc; **/
float: left;
width: 591px;;
}
#banner_area {
width: 591px;
margin-top: 2px;
margin-bottom: 0px !important;
margin-bottom: -3px;
}
#banner {
float: left;
padding: 0px;
width: 424px;
}
#poweredby {
float: left;
margin-left: 2px;
}
#sandbox_area_2 .sandbox_area {
float: left;
margin-top: 2px;
width: 424px;
}
#sandbox_area_1 .sandbox_area {
float: left;
margin-top: 2px;
width: 591px;
}
#right_outline {
border: 1px solid #0066CC;
margin-top: 2px;
float: right;
padding: 2px;
width: 159px !important;
width: 165px;
}
/** with both user1 and user2 visible **/
#user1_2 .user1_outline {
width: 205px !important;
width: 211px;
border: 1px solid #0066CC;
float: left;
margin: 0px;
padding: 2px;
margin-bottom: 2px;
}
#user2_2 .user2_outline {
width: 205px !important;
width: 211px;
border: 1px solid #0066CC;
float: right;
margin-left: 2px;
margin-bottom: 2px;
padding: 2px;
}
/** with either user1 or user2 visible **/
#user1_1 .user1_outline {
width: 418px !important;
width: 424px;
border: 1px solid #0066CC;
float: left;
margin: 0px;
padding: 2px;
margin-bottom: 2px;
}
#user2_1 .user2_outline {
width: 418px !important;
width: 424px;
border: 1px solid #0066CC;
float: right;
margin-bottom: 2px;
padding: 2px;
}
/** based on 100% content width **/
#user1_4 .user1_outline {
width: 270px !important;
width: 276px;
border: 1px solid #0066CC;
float: left;
margin: 0px;
padding: 2px;
margin-bottom: 2px;
}
#user2_4 .user2_outline {
width: 271px !important;
width: 275px;
border: 1px solid #0066CC;
float: right;
margin-left: 2px;
margin-bottom: 2px;
padding: 2px;
}
/** with either user1 or user2 visible **/
#user1_3 .user1_outline {
width: 585px !important;
width: 591px;
border: 1px solid #0066CC;
float: left;
margin: 0px;
padding: 2px;
margin-bottom: 2px;
}
#user2_3 .user2_outline {
width: 585px !important;
width: 591px;
border: 1px solid #0066CC;
float: right;
margin-bottom: 2px;
padding: 2px;
}
/** adjust content area based on right nav **/
#sandbox_area_2 .content_outline {
width: 418px !important;
width: 424px;
border: 1px solid #0066CC;
padding: 2px;
}
#sandbox_area_1 .content_outline {
width: 585px !important;
width: 591px;
border: 1px solid #0066CC;
padding: 2px;
}
#active_menu {
color:#FFCC00;
font-weight: bold;
}
a#active_menu:hover {
color: #ff6600;
}
.maintitle {
color: #ffffff;
font-size: 40px;
padding-left: 15px;
padding-top: 20px;
}
.error {
font-style: italic;
text-transform: uppercase;
padding: 5px;
color: #cccccc;
font-size: 14px;
font-weight: bold;
}
/** old stuff **/
.back_button {
float: left;
font-size: 11px;
font-weight: bold;
margin-top: 15px;
margin-bottom: 10px;
border: 1px solid #0066CC;
width: 80px;
padding: 4px;
}
.pagenav {
text-align: center;
font-size: 11px;
font-weight: bold;
border: 1px solid #0066CC;
width: auto;
padding: 4px;
margin: 1px;
}
.pagenavbar {
padding-right: 5px;
float: right;
}
#footer {
text-align: center;
padding: 3px;
}
ul
{
margin: 0;
padding: 0;
list-style: none;
}
li
{
line-height: 15px;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png) ;
background-repeat: no-repeat;
background-position: 0px 3px;
}
td {
text-align: left;
font-size: 11px;
}
body {
margin: 15px;
height: 100%;
padding: 0px;
font-family: verdana, arial, sans-serif;
font-size: 11px;
font-weight: normal;
color: #0066CC;
background: #ffffff;
}
/* mambo core stuff */
a:link, a:visited {
color: #ff6600; text-decoration: none;
font-weight: bold;
}
a:hover {
color: #00ff00; text-decoration: underline;
font-weight: bold;
}
table.contentpaneopen {
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
}
table.contentpane td {
margin: 0px;
padding: 0px;
}
table.contentpane td.componentheading {
padding-left: 4px;
}
table.contentpane td.contentheading {
padding-left: 15px;
padding-top: 9px;
}
.button {
padding: 2px 3px 2px 3px;
height: 22px;
border:solid 1px #0066CC;
background-color: #ffffff;
color: #ff6600;
font-family: verdana, arial, sans-serif;
text-align: center;
font-size: 11px;
font-weight: bold;
}
.inputbox {
padding: 2px;
border:solid 1px #0066CC;
background-color: #ffffff;
}
#sandbox_area_2 .componentheading {
background: url(../images/boxheading.gif) repeat-x;
color: #ffffff;
text-align: center;
padding-top: 4px;
padding-left: 4px;
height: 20px;
font-weight: normal;
font-size: 10px;
text-transform: uppercase;
width: 414px !important;
width: 418px;
}
#sandbox_area_1 .componentheading {
background: url(../images/boxheading.gif) repeat-x;
color: #ffffff;
text-align: center;
padding-top: 4px;
padding-left: 4px;
height: 20px;
font-weight: normal;
font-size: 10px;
text-transform: uppercase;
width: 414px !important;
width: 418px;
}
.contentcolumn {
padding-right: 5px;
}
.contentheading {
height: 30px;
background: url(../images/contenthead.png) repeat-x;
color: #0066cc;
text-align: left;
padding-top: 9px;
padding-left: 15px;
font-weight: bold;
font-size: 16px;
white-space: nowrap;
}
.contentpagetitle {
font-size: 13px;
font-weight: bold;
color: #0066CC;
text-align:left;
}
table.searchinto {
width: 100%;
}
table.searchintro td {
font-weight: bold;
}
table.moduletable {
width: 100%;
margin-bottom: 5px;
padding: 0px;
border-spacing: 0px;
border-collapse: collapse;
}
table.moduletable th {
background: url(../images/boxheading.gif) repeat-x;
color: #ffffff;
text-align: center;
padding-top: 4px;
padding-left: 4px;
height: 20px;
font-weight: normal;
font-size: 10px;
height: 20px;
width: 100%;
text-transform: uppercase;
}
table.moduletable td {
font-size: 11px;
padding: 0px;
margin: 0px;
font-weight: normal;
}
table.pollstableborder td {
padding: 2px;
}
.sectiontableheader {
font-weight: bold;
background: #f0f0f0;
padding: 4px;
}
.sectiontablefooter {
} |