Hello all,
This is my first post in the web development forum, though I have been watching it for awhile and have picked up lots of great info. I was hoping I could get a little help on my site. You will no doubt be able to tell that I am a novice designer, so be prepared for some very ugly code. It is a very simple, streamlined portfolio site (I have only uploaded some of the content). Basically I am having some spacing issues occuring in IE 7. If I can get it right in IE 7 I'll be satisfied. IE 6 is just icing on the cake. The site looks perfect in Safari and Firefox (same old story). The trouble seems to be directly above the footer in all pages, and in multiple areas in my "About/News" page. I started out using the Dreamweaver template for a fixed three column with a header and footer. I am posting the URL and a CSS file. I have two CSS files that I need help with, but I'll stick with just the one for now to keep this post from getting too long (oops too late). If anyone can help me out I'd really appreciate it. Thank you!
http://www.plasticmenagerie.com/
The CSS file below pertains to the "art" section of my site.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@charset "UTF-8";
body {
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
background-color: #FFFFFF;
}
.thrColFixHdr #container {
width: 950px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 0px none #FFFFFF;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.thrColFixHdr #header {
font-family: Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
line-height: normal;
background-image: url(images_BG/headers2/header_BG.gif); background-repeat: no-repeat;
}
.thrColFixHdr #container #header #links {
margin-left: 648px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
background-image: none;
height: 81px;
padding: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.thrColFixHdr #container #header img {
float: left;
}
.thrColFixHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 164px;
background-image: url(images_BG/sidebar1.gif); background-repeat: no-repeat;
height: 659px;
overflow: auto;
padding: 0;
margin: 0px;
}
.thrColFixHdr #sidebar2 {
float: left; /* since this element is floated, a width must be given */
width: 204px; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 0; /* padding keeps the content of the div away from the edges */
background-color: #FFFFFF;
height: 659px;
background-image: url(images_BG/sidebar2.gif); background-repeat: no-repeat;
line-height: 130%;
margin: 0px;
}
.thrColFixHdr #mainContent {
padding: 0;
line-height: normal;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
width: 582px;
float: right;
margin: 0;
height: 659px;
}
.thrColFixHdr #footer {
padding-top: 0;
padding-right: 0px;
padding-bottom: 0;
padding-left: 0px;
width: 950px;
background-color: #FFFFFF;
margin: 0px;
height: 60px;
}
.thrColFixHdr #footer p {
margin: 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
padding-top: 0px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 0;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.thrColFixHdr #container #header h1 a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
}
.thrColFixHdr #container #header h1 a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
}
.thrColFixHdr #container #header h1 a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #0066FF;
text-decoration: none;
}
.thrColFixHdr #container #header h1 a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #CCCCCC;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #333333;
text-decoration: none;
padding-right: 0px;
padding-left: 40px;
padding-top: 10px;
}
.thrColFixHdr #container #sidebar2 p {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #333333;
text-decoration: none;
padding-left: 18px;
padding-top: 10px;
padding-right: 15px;
}
.thrColFixHdr #container #mainContent h1 {
line-height: 0%;
}
.thrColFixHdr #container #sidebar1 h3 a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #333333;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #333333;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #0066FF;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #CCCCCC;
text-decoration: none;
}
.thrColFixHdr #container #header #links h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
padding-top: 50px;
line-height: normal;
margin: 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;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
This is my first post in the web development forum, though I have been watching it for awhile and have picked up lots of great info. I was hoping I could get a little help on my site. You will no doubt be able to tell that I am a novice designer, so be prepared for some very ugly code. It is a very simple, streamlined portfolio site (I have only uploaded some of the content). Basically I am having some spacing issues occuring in IE 7. If I can get it right in IE 7 I'll be satisfied. IE 6 is just icing on the cake. The site looks perfect in Safari and Firefox (same old story). The trouble seems to be directly above the footer in all pages, and in multiple areas in my "About/News" page. I started out using the Dreamweaver template for a fixed three column with a header and footer. I am posting the URL and a CSS file. I have two CSS files that I need help with, but I'll stick with just the one for now to keep this post from getting too long (oops too late). If anyone can help me out I'd really appreciate it. Thank you!
http://www.plasticmenagerie.com/
The CSS file below pertains to the "art" section of my site.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@charset "UTF-8";
body {
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
background-color: #FFFFFF;
}
.thrColFixHdr #container {
width: 950px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 0px none #FFFFFF;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.thrColFixHdr #header {
font-family: Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
line-height: normal;
background-image: url(images_BG/headers2/header_BG.gif); background-repeat: no-repeat;
}
.thrColFixHdr #container #header #links {
margin-left: 648px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
background-image: none;
height: 81px;
padding: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.thrColFixHdr #container #header img {
float: left;
}
.thrColFixHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 164px;
background-image: url(images_BG/sidebar1.gif); background-repeat: no-repeat;
height: 659px;
overflow: auto;
padding: 0;
margin: 0px;
}
.thrColFixHdr #sidebar2 {
float: left; /* since this element is floated, a width must be given */
width: 204px; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 0; /* padding keeps the content of the div away from the edges */
background-color: #FFFFFF;
height: 659px;
background-image: url(images_BG/sidebar2.gif); background-repeat: no-repeat;
line-height: 130%;
margin: 0px;
}
.thrColFixHdr #mainContent {
padding: 0;
line-height: normal;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
width: 582px;
float: right;
margin: 0;
height: 659px;
}
.thrColFixHdr #footer {
padding-top: 0;
padding-right: 0px;
padding-bottom: 0;
padding-left: 0px;
width: 950px;
background-color: #FFFFFF;
margin: 0px;
height: 60px;
}
.thrColFixHdr #footer p {
margin: 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
padding-top: 0px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 0;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.thrColFixHdr #container #header h1 a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
}
.thrColFixHdr #container #header h1 a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
}
.thrColFixHdr #container #header h1 a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #0066FF;
text-decoration: none;
}
.thrColFixHdr #container #header h1 a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #CCCCCC;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #333333;
text-decoration: none;
padding-right: 0px;
padding-left: 40px;
padding-top: 10px;
}
.thrColFixHdr #container #sidebar2 p {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #333333;
text-decoration: none;
padding-left: 18px;
padding-top: 10px;
padding-right: 15px;
}
.thrColFixHdr #container #mainContent h1 {
line-height: 0%;
}
.thrColFixHdr #container #sidebar1 h3 a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #333333;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #333333;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #0066FF;
text-decoration: none;
}
.thrColFixHdr #container #sidebar1 h3 a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
color: #CCCCCC;
text-decoration: none;
}
.thrColFixHdr #container #header #links h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #EE755F;
text-decoration: none;
padding-top: 50px;
line-height: normal;
margin: 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;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}