MitaDC
12-16-2006, 10:07 PM
Hey guys,
Trying to use the Inman position clearing method to get my footer to drop down but I can't seem to get it to work. Can somebody take a look at my site and tell me what is wrong? Code also below
fairway.a-lantech.com
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Welcome to Fairway Floor and Design Center</title>
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="color.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="branding">
<a href="index.html"><h1>Fairway Floor</h1></a>
<h2>Abby Carpet</h2>
</div>
<div id="nav_main">
<ul id="nav_links">
<!-- Removed for spacing reasons -->
<li id="nav_home"><a href="#">Home</a></li>
<li id="nav_about"><a href="#">About Us</a></li>
<li id="nav_staff"><a href="#">Our Staff</a></li>
<li id="nav_brands"><a href="#">Major Brands</a></li>
<li id="nav_choice"><a href="#">Right Choice</a></li>
<li id="nav_carpet"><a href="#">Carpet</a></li>
<!-- <li id="nav_contact"><a href="#">Contact Us</a></li> -->
</ul>
<ul id="nav_sub">
<li id="abby_carpet"><a href="http://www.abbeycarpet.com" target="_blank">Visit Abbey Carpets</a></li>
<li>|</li>
<li id="host_cleaning"><a href="http://www.hostcarpetcleaning.com" target="_blank">Visist Host Carpet Cleaning</a></li>
</ul>
</div>
<div id="content" class="c clear_children">
<div id="content_main" class="pc cc_tallest">
<h2>Cool Summer Savings at Fairway Floor</h2>
<p>Let the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you want.</p><br />
<p>Come on in and see why we are the #1 choice for quick and easy one stop shopping for Homeowners and Contractors alike.</p>
</div>
<div id="content_sub" class="sc">
<ul id="content_sub_ul">
<li>Carpet</li>
<li>Vinyl</li>
<li>Ceramic Tile</li>
<li>Wood Floors</li>
<li>Window and Wall Treatments</li>
<li>Laminate Flooring</li>
</ul>
</div>
</div>
<!--
<div id="cards_credit">
<ul id="cards_list">
<li id="cards_discover">Discover Card</li>
<li id="cards_visa">Visa Card</li>
<li id="cards_mc">Master Card</li>
</ul>
</div>
<h3>Currency Converter</h3>
<ul>
<li>Fairway Floor</li>
<li>4065 E. 16th</li>
<li>Post Falls, ID 83854</li>
</ul>
-->
<p>Copyright (C) 2006 Fairway Floor Design Center</p>
<p>Website Designed by: <a href="http://www.a-lantech.com" target="_blank">A-LanTech Computers</a></p>
<script type='text/javascript' src="si-clear-children.js"></script>
</body>
</html>
CSS1
/* Normalizing margin, padding */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, input, p, blockquote, th, td
{ margin : 0; padding : 0; }
/* Normalizes font-size for headers */
h1, h2, h3, h4, h5, h6
{ font-size : 100% }
/* Removes list-style from lists */
ol, ul
{ list-style : none; }
/* Normalizes font-style and font-weight to normal */
address, caption, cite, code, dfn, em, strong, th, var
{ font-style : normal; font-weight : normal; }
/* Remove list-styles from lists */
table
{ border-collapse : collapse; border-spacing : 0; }
/* Removes border from fieldset and img */
fieldset, img
{ border : 0; }
/*Left-aligns text in caption and th */
caption, th
{ text-align : left; }
/* Removes quotation marks from q */
q:before, q:after
{ content : ''; }
/*footer fix*/
.clear_children,.cc_tallest { position: relative; } /*\*/* html .clear_children { display: inline;}/**/
.cc_tallest:after { content: ''; } /* PREVENTS A REDRAW BUG IN SAFARI */
html {
text-align: center;
}
body {
width: 800px;
padding-top: 35px;
text-align: left;
margin-top: 0px;
position: relative;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#branding {
width: 100%;
height: 167px;
}
ul#nav_links li {
display: inline;
}
ul#nav_links {
position: absolute;
top: 0px;
left: 200px;
margin: 0px;
height: 40px;
}
li#nav_home a, li#nav_about a, li#nav_brands a, li#nav_staff a, li#nav_choice a, li#nav_carpet a, li#nav_contact a {
height: 30px;
width: 99px;
display: block;
float: left;
text-align: center;
padding-top: 10px;
padding-bottom: 0px;
border-left-width: 1px;
border-left-style: solid;
text-decoration: none;
}
div#nav_main {
position: relative;
height: 40px;
}
ul#nav_sub {
position: absolute;
top: -167px;
right: 0px;
padding-right: 10px;
}
#branding h1 {
background-image: url(images/fairwaylogo.png);
background-repeat: no-repeat;
width: 220px;
text-indent: -9999px;
position: relative;
top: -18px;
z-index: 10;
left: -20px;
height: 185px;
}
div#content_sub {
width: 190px;
position: absolute;
padding-top: 1em;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 10px;
left: 600px;
}
div#content {
position: relative;
width: 100%;
}
ul#nav_sub li {
display: inline;
font-size: 10px;
}
div#content_main {
width: 600px;
left: 0%;
position: absolute;
padding-top: 1em;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
li#nav_home a:hover, li#nav_about a:hover, li#nav_brands a:hover, li#nav_staff a:hover, li#nav_choice a:hover, li#nav_carpet a:hover, li#nav_contact a:hover {
border-left-width: 1px;
border-left-style: solid;
text-decoration: none;
}
ul#nav_sub li a {
text-decoration: none;
}
ul#nav_sub li a:hover {
text-decoration: underline;
}
ul#cards_credit {
position: absolute;
top: 10px;
}
CSS2:
#branding {
background-color: #382159;
}
body {
background-color: #F0F5FA;
}
div#nav_main {
background-color: #5582A7;
}
li#nav_home a, li#nav_about a, li#nav_brands a, li#nav_staff a, li#nav_choice a, li#nav_carpet a, li#nav_contact a {
border-top-color: #666666;
border-right-color: #666666;
border-bottom-color: #666666;
border-left-color: #666666;
text-decoration: none;
color: #FFFFFF;
}
ul#nav_sub li a {
color: #FFF;
}
li#nav_home a:hover, li#nav_about a:hover, li#nav_brands a:hover, li#nav_staff a:hover, li#nav_choice a:hover, li#nav_carpet a:hover, li#nav_contact a:hover {
display: block;
text-align: center;
text-decoration: none;
border-right-color: #666666;
border-left-color: #666666;
background-color: #CDC7D5;
color: #000000;
}
ul#nav_sub li {
color: #fff;
}
Thanks!
Mita
Trying to use the Inman position clearing method to get my footer to drop down but I can't seem to get it to work. Can somebody take a look at my site and tell me what is wrong? Code also below
fairway.a-lantech.com
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Welcome to Fairway Floor and Design Center</title>
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="color.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="branding">
<a href="index.html"><h1>Fairway Floor</h1></a>
<h2>Abby Carpet</h2>
</div>
<div id="nav_main">
<ul id="nav_links">
<!-- Removed for spacing reasons -->
<li id="nav_home"><a href="#">Home</a></li>
<li id="nav_about"><a href="#">About Us</a></li>
<li id="nav_staff"><a href="#">Our Staff</a></li>
<li id="nav_brands"><a href="#">Major Brands</a></li>
<li id="nav_choice"><a href="#">Right Choice</a></li>
<li id="nav_carpet"><a href="#">Carpet</a></li>
<!-- <li id="nav_contact"><a href="#">Contact Us</a></li> -->
</ul>
<ul id="nav_sub">
<li id="abby_carpet"><a href="http://www.abbeycarpet.com" target="_blank">Visit Abbey Carpets</a></li>
<li>|</li>
<li id="host_cleaning"><a href="http://www.hostcarpetcleaning.com" target="_blank">Visist Host Carpet Cleaning</a></li>
</ul>
</div>
<div id="content" class="c clear_children">
<div id="content_main" class="pc cc_tallest">
<h2>Cool Summer Savings at Fairway Floor</h2>
<p>Let the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you wantLet the staff at fairway Floor help you with all of your flooring needs. We'll help you find what you're looking for fast and easy, Or, if you'd like, we can help you design the custom look you want.</p><br />
<p>Come on in and see why we are the #1 choice for quick and easy one stop shopping for Homeowners and Contractors alike.</p>
</div>
<div id="content_sub" class="sc">
<ul id="content_sub_ul">
<li>Carpet</li>
<li>Vinyl</li>
<li>Ceramic Tile</li>
<li>Wood Floors</li>
<li>Window and Wall Treatments</li>
<li>Laminate Flooring</li>
</ul>
</div>
</div>
<!--
<div id="cards_credit">
<ul id="cards_list">
<li id="cards_discover">Discover Card</li>
<li id="cards_visa">Visa Card</li>
<li id="cards_mc">Master Card</li>
</ul>
</div>
<h3>Currency Converter</h3>
<ul>
<li>Fairway Floor</li>
<li>4065 E. 16th</li>
<li>Post Falls, ID 83854</li>
</ul>
-->
<p>Copyright (C) 2006 Fairway Floor Design Center</p>
<p>Website Designed by: <a href="http://www.a-lantech.com" target="_blank">A-LanTech Computers</a></p>
<script type='text/javascript' src="si-clear-children.js"></script>
</body>
</html>
CSS1
/* Normalizing margin, padding */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, input, p, blockquote, th, td
{ margin : 0; padding : 0; }
/* Normalizes font-size for headers */
h1, h2, h3, h4, h5, h6
{ font-size : 100% }
/* Removes list-style from lists */
ol, ul
{ list-style : none; }
/* Normalizes font-style and font-weight to normal */
address, caption, cite, code, dfn, em, strong, th, var
{ font-style : normal; font-weight : normal; }
/* Remove list-styles from lists */
table
{ border-collapse : collapse; border-spacing : 0; }
/* Removes border from fieldset and img */
fieldset, img
{ border : 0; }
/*Left-aligns text in caption and th */
caption, th
{ text-align : left; }
/* Removes quotation marks from q */
q:before, q:after
{ content : ''; }
/*footer fix*/
.clear_children,.cc_tallest { position: relative; } /*\*/* html .clear_children { display: inline;}/**/
.cc_tallest:after { content: ''; } /* PREVENTS A REDRAW BUG IN SAFARI */
html {
text-align: center;
}
body {
width: 800px;
padding-top: 35px;
text-align: left;
margin-top: 0px;
position: relative;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#branding {
width: 100%;
height: 167px;
}
ul#nav_links li {
display: inline;
}
ul#nav_links {
position: absolute;
top: 0px;
left: 200px;
margin: 0px;
height: 40px;
}
li#nav_home a, li#nav_about a, li#nav_brands a, li#nav_staff a, li#nav_choice a, li#nav_carpet a, li#nav_contact a {
height: 30px;
width: 99px;
display: block;
float: left;
text-align: center;
padding-top: 10px;
padding-bottom: 0px;
border-left-width: 1px;
border-left-style: solid;
text-decoration: none;
}
div#nav_main {
position: relative;
height: 40px;
}
ul#nav_sub {
position: absolute;
top: -167px;
right: 0px;
padding-right: 10px;
}
#branding h1 {
background-image: url(images/fairwaylogo.png);
background-repeat: no-repeat;
width: 220px;
text-indent: -9999px;
position: relative;
top: -18px;
z-index: 10;
left: -20px;
height: 185px;
}
div#content_sub {
width: 190px;
position: absolute;
padding-top: 1em;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 10px;
left: 600px;
}
div#content {
position: relative;
width: 100%;
}
ul#nav_sub li {
display: inline;
font-size: 10px;
}
div#content_main {
width: 600px;
left: 0%;
position: absolute;
padding-top: 1em;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
li#nav_home a:hover, li#nav_about a:hover, li#nav_brands a:hover, li#nav_staff a:hover, li#nav_choice a:hover, li#nav_carpet a:hover, li#nav_contact a:hover {
border-left-width: 1px;
border-left-style: solid;
text-decoration: none;
}
ul#nav_sub li a {
text-decoration: none;
}
ul#nav_sub li a:hover {
text-decoration: underline;
}
ul#cards_credit {
position: absolute;
top: 10px;
}
CSS2:
#branding {
background-color: #382159;
}
body {
background-color: #F0F5FA;
}
div#nav_main {
background-color: #5582A7;
}
li#nav_home a, li#nav_about a, li#nav_brands a, li#nav_staff a, li#nav_choice a, li#nav_carpet a, li#nav_contact a {
border-top-color: #666666;
border-right-color: #666666;
border-bottom-color: #666666;
border-left-color: #666666;
text-decoration: none;
color: #FFFFFF;
}
ul#nav_sub li a {
color: #FFF;
}
li#nav_home a:hover, li#nav_about a:hover, li#nav_brands a:hover, li#nav_staff a:hover, li#nav_choice a:hover, li#nav_carpet a:hover, li#nav_contact a:hover {
display: block;
text-align: center;
text-decoration: none;
border-right-color: #666666;
border-left-color: #666666;
background-color: #CDC7D5;
color: #000000;
}
ul#nav_sub li {
color: #fff;
}
Thanks!
Mita