I have problem with site I am building. The sidebar with menu and other thinks is overlapping footer. The footer move with the content and but it dos it dos not move with the sidebar.
Here is the website: holtz-realty
And also the html file and css file.
Anny help will by mostly appreciated. I did try everything I can think of.
HTML:
Expand|Select|Wrap|Line Numbers
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
- <head>
- <meta http-equiv="content-type" content="text/html;charset={charset}" />
- <meta name="keywords" content="{load_meta_keywords_raw}" />
- <meta name="description" content="{load_meta_description_raw}" />
- {load_css_editor}
- <title>{site_title}</title>
- <link href="{template_url}/style.css" rel="stylesheet" type="text/css" />
- {license_tag}
- <!--[if lte IE 7]>
- <style>
- #col3
- {
- position: absolute;
- width: 190px;
- padding-top: 5px;
- padding-right: 5px;
- padding-bottom: 5px;
- padding-left: 5px;
- float: left;
- margin-left: 0px;
- top: 10px;
- }
- </style>
- <![endif]-->
- <script src="script/jquery-1.2.6.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- /* ================================================================
- This copyright notice must be untouched at all times.
- Copyright (c) 2008 Stu Nicholls - stunicholls.com - all rights reserved.
- =================================================================== */
- $(document).ready(function(){
- closetimer = 0;
- if($("#nav")) {
- $("#nav b").mouseover(function() {
- clearTimeout(closetimer);
- if(this.className.indexOf("clicked") != -1) {
- $(this).parent().next().slideUp(500);
- $(this).removeClass("clicked");
- }
- else {
- $("#nav b").removeClass();
- $(this).addClass("clicked");
- $("#nav ul:visible").slideUp(500);
- $(this).parent().next().slideDown(500);
- }
- return false;
- });
- $("#nav").mouseover(function() {
- clearTimeout(closetimer);
- });
- $("#nav").mouseout(function() {
- closetimer = window.setTimeout(function(){
- $("#nav ul:visible").slideUp(500);
- $("#nav b").removeClass("clicked");
- }, 2000);
- });
- }
- });
- </script>
- </head><body>
- <div id="page_margins">
- <div id="page">
- <div id="topnav"><table border="0" cellspacing="0" width="800px">
- <td align="left" width="25%">
- <SCRIPT LANGUAGE="JavaScript">
- // Get today's current date.
- var now = new Date();
- // Array list of days.
- var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
- // Array list of months.
- var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
- // Calculate the number of the current day in the week.
- var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
- // Calculate four digit year.
- function fourdigits(number) {
- return (number < 1000) ? number + 1900 : number;
- }
- // Join it all together
- today = days[now.getDay()] + ", " +
- months[now.getMonth()] + " " +
- date + ", " +
- (fourdigits(now.getYear())) ;
- // Print out the data.
- document.write(today);
- // End -->
- </script>
- </td>
- <td width="75%">
- {check_guest}<a href="{url_member_login}"> Login </a> | <a href="{url_member_signup}">Register</a> | {/check_guest}{check_member}<a href="{url_logout}">Logout</a> |{/check_member} <a href="{page_link_2}"> Contact</a>
- </td>
- </table>
- </div>
- <div id="header">
- <div id="test2"><br /><a href="{url_index}">Joe Chodur at Holtz Realty</a></div><br />
- <div id="test">Let's make it happen...for YOU <br /><br />Renting is Spending & Buying is Investing </div>
- </div>
- <div id="sub_header">
- <div id="sub_header_tag"></div>
- </div>
- <ul id="nav">
- <li class="first"><a href="{url_index}"><b>Home</b></a></li>
- <li class="sub"><a href="{url_search_results}"><b>View Our Listings</b></a>
- <li><a href="{baseurl}/index.php?action=addon_openhouse_showpage1"><b>Open House</b></a>
- <li><a href="{url_index}"><b>Search</b></a>
- <ul class="w1">
- <li><a href="{url_search}">Search Our Listings</a></li>
- <li><a href="{page_link_5}">Search Noth Iowa Listings</a></li>
- <li><a href="{page_link_6}">Search Iowa HUD Properties Listing</a></li>
- </ul>
- </li>
- <li><a href=""><b>About</b></a>
- <ul class="w2">
- <li><a href="{page_link_3}">About Holtz Realty</a></li>
- <li><a href="{url_view_agents}">View Agents</a></li>
- </ul>
- </dd>
- <li><a href=""><b>Learn Center</b></a>
- <ul class="w3">
- <li>{link_calc}</li>
- <li><a href="#url">Buyer Resources</a></li>
- <li><a href="#url">Seller Resources</a></li>
- <li><a href="#url">Homeowner Resources</a></li>
- <li><a href="#url">Neighborhood Information</a></li>
- <li><a href="{page_link_10}">Real Estate Definitions</a></li>
- <li><a href="#url">Home Value Estimator</a></li>
- </ul>
- </dd>
- <li><a href="{page_link_2}"><b>Contact Us</b></a>
- <ul class="w4">
- <li><a href="#url">Email Addresses</a></li>
- <li><a href="{page_link_9}">By Post</a></li>
- <li><a href="#url">Telephone Numbers</a></li>
- </ul>
- <li class="last"><a href="{page_link_4}"><b>Privacy Policy</b></a></li>
- </ul>
- <div id="main">
- <div id="col2">
- <div id="col2_content">{content}</div>
- </div>
- <div id="col3">
- <div id="col3_content" class="clearfix">
- <div id="test"><br /><br />
- Holtz Realty <br />
- 34 - 2nd Street NE<br />
- Mason City, IA 50401<br />
- Office: (641) 423-9111<br />
- Mobile: (641) 583-0289<br />
- Home: (641) 424-4486<br />
- Website: www.holtz-realty.com
- </div>
- {check_guest}
- <h2>Login</h2>
- <form action="index.php?action=member_login" method="post">
- <table border="0" cellspacing="0" cellpadding="3">
- <tr>
- <td>Login:</td>
- <td><input type="text" name="user_name" maxlength="30" /></td>
- </tr>
- <tr>
- <td>Password:</td>
- <td><input type="password" name="user_pass" maxlength="30" /></td>
- </tr>
- <tr>
- <td colspan="2" align="left"><input type="checkbox" name="remember" />
- <span style="font-size:10px">Remember Me Next Time</span></td>
- </tr>
- <tr>
- <td colspan="2" align="right"><input type="submit" value="Log In" /></td>
- </tr>
- </table>
- </form>
- {/check_guest}
- <h2>Member Menu </h2>
- <ul id="navlist2">{check_member}
- <li>{addon_userpage_link}</li>
- <li><a href="{url_edit_profile}" title="Edit Profile">Edit My Profile</a></li>
- <li><a href="{url_view_favorites}" title="View Favorites">View My Favorites</a></li>
- <li><a href="{url_view_saved_searches}" title="Saved Searches">My Saved Searches</a></li>
- <li><a href="{url_logout}" title="Logout">Logout</a></li>
- {/check_member}
- {check_guest}
- <li><a href="{url_member_signup}" title="Member Signup">Member Signup</a></li>
- {/check_guest}
- </ul>
- <div id="featured">
- <h2>Featured Listings</h2>
- {featured_listings_vertical}
- </div>
- <h2>Weather</h2>
- <div align="center"><a href="http://www.weatherforyou.com/weather/iowa/mason+city.html">
- <img src="http://www.weatherforyou.net/fcgi-bin/hw3/hw3.cgi?config=png&forecast=hourly&alt=hwihourly&place=mason+city&state=ia&country=us&hwvbg=4F666F&hwvtc=FECF05&hwvdisplay=" width="175" height="90" border="0" alt="Latest Mason City, Iowa, weather"></a>
- </div>
- <div id="rss">
- <h2>Rss feeds</h2>
- <img src="{template_url}/images/feed-icon-14x14.png" alt="Rss2" /> <a href="/index.php?action=rss_featured_listings" >{lang_rss_featured_link_title}</a> <br/>
- <img src="{template_url}/images/feed-icon-14x14.png" alt="Rss1" /> <a href="/index.php?action=rss_lastmodified_listings" >{lang_rss_lastmodified_link_title}</a>
- </div>
- </div>
- <div id="ie_clearing"> </div>
- </div>
- </div>
- <div id="footer">
- <div align="center">
- <a href="{url_index}" title="Home Page ">Home Page</a> |
- <a href="{url_search_results}" title="View All Listings">View All Listings</a> |
- <a href="{url_search}" title="Search Listings">Search Our Listings </a>|
- <a href="{baseurl}/index.php?action=addon_openhouse_showpage1" title="Open House">Open House</a> |
- <a href="{page_link_5}" title="">Search N.I.R. Listings </a>|
- <a href="{page_link_6}" title="Iowa HUD Property Search">Iowa HUD Properties Listing</a> |
- <a href="{page_link_3}" title="">About Holtz Realty</a> |
- <a href="{page_link_2}" title="">Contact Us</a><br />
- <a href="{url_view_agents}" title="">View Agents</a>
- <br />
- <br />
- Hotz Realty, 34-2nd Street NE, Mason City, IA 50401, Office: 641-423-9111, Fax: 641-423-4137, Home: 641-424-4486, Cell: 641-583-0289<br />
- All content provided within this site is Copyright © Holt Realty & Joe Chodur 2009<br />
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="fade.js"></script>
- </body>
- </html>
Expand|Select|Wrap|Line Numbers
- body
- {
- margin: 0;
- background-image: url(images/back.gif);
- margin-top: 0px;
- background-repeat: repeat-x;
- background-color: #4F666F;
- font:12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Sans-Serif;
- font-size: 12px;
- }
- h1, h2, h3, h4, h5, h6
- {
- letter-spacing: -1px;
- color: #3C71AA;
- margin-bottom: 5px;
- font-weight: normal;
- }
- #styleR {
- color: #000000;
- text-decoration:none;
- }
- a, a:visited
- {
- color: #FFCC00;
- text-decoration: none;
- }
- #popup
- {
- background-color: #80A4B3;
- }
- /* ================================================================
- This copyright notice must be untouched at all times.
- Copyright (c) 2008 Stu Nicholls - stunicholls.com - all rights reserved.
- =================================================================== */
- #nav, #nav ul {padding:0; margin:0 auto; list-style:none; background:#fff;}
- #nav { float:left; width:800px; z-index:50; background:url(images/list-back.gif);}
- #nav ul {display:none;}
- #nav li {float:left; position:relative;}
- #nav li a {text-decoration:none; font-family:garamond, serif; font-size:16px; white-space:nowrap}
- #nav li b {display:block; padding:0 15px 0 14px; cursor:pointer; height:30px; line-height:30px; float:left; background:url(images/list-back.gif) center top; font-weight:normal; color:#000;}
- #nav li.first b {padding-left:23px; background-position:left top;}
- #nav li.last b {padding-right:10px; background-position:right top;}
- #nav li a b.clicked {color:#fff;}
- #nav li ul {position:absolute; left:0; top:35px; height:auto; float:left; background:#f8f8f8; padding:2px; border:1px solid #5663DB;}
- #nav li ul.w1 {width:220px;}
- #nav li ul.w2 {width:135px;}
- #nav li ul.w3 {width:170px;}
- #nav li ul.w4 {width:130px;}
- #nav li ul.w5 {width:130px;}
- #nav li ul.w6 {width:130px;}
- #nav li ul li {float:none;}
- #nav li ul li a {display:block; height:20px; line-height:20px; padding:0 5px; color:#000; font-size:14px}
- #nav li ul li a:hover {background:#aaa; color:#fff;}
- #topnav
- {
- text-align: right;
- width: 800px;
- color: #ffffff;
- border-bottom: 2px solid #3C71AA;
- }
- #topnav a, #topnav a:visited
- {
- color: #ffffff;
- text-decoration: none;
- }
- #header
- {
- width: 800px;
- height: 150px;
- background-image: url(images/x.jpg);
- text-align: left;
- }
- #header h1
- {
- margin: 0px;
- font-size: 23px;
- width: 800px;
- }
- #page_margins
- {
- width: 990px;
- padding: 0px 10px 0px 10px;
- margin-left: auto;
- margin-right: auto;
- display: block;
- }
- #page
- {
- width: 990px;
- float: left;
- padding: 0px 10px 0px 10px;
- }
- #main
- {
- float:left;
- padding-top: 10px;
- background-color:#FFFFFF;
- width: 800px;
- }
- #nav_main
- {
- width: 800px;
- background-image: url(images/bg1.gif);
- float: left;
- border-bottom: 2px solid #3C71AA;
- }
- #nav_main ul, #nav_main ul li
- {
- margin: 0px;
- padding: 0px;
- list-style: none;
- display: inline;}
- #nav_main a, #nav_main a:visited
- {
- display: block;
- float: right;
- padding: 5px 15px 5px 15px;
- text-decoration: none;
- color: #000000;
- }
- #nav_main a:hover
- {
- background-color: #3C71AA;
- color: white;
- }
- select, input
- {
- font-size: 12px;
- border: 1px solid #E3E3E3;
- }
- #col1, #col2, #col3
- {
- float: left;
- }
- #col1
- {
- width: 198px;
- float: left;
- padding-left:1px;
- border-right: 2px solid #3C71AA;
- }
- #col1 ul
- {
- margin: 0px;
- padding: 0px;
- padding-left: 20px;
- }
- #col1 li
- {
- list-style-image: url(images/nav_arrow.gif);
- padding: 5px 0px 5px 0px;
- }
- #col1 li:hover
- {
- list-style-image: url(images/nav_arrow_over.gif);
- }
- #col1 li a, #col1 li a:visited
- {
- color: #000000;
- text-decoration: none;
- }
- #col2
- {
- width: 780px;
- float: left;
- padding: 10px;
- border-left: 0px;
- border-bottom: 0px;
- }
- #col3
- {
- position: absolute;
- width: 190px;
- padding: 5px;
- float: left;
- margin-left: 812px;
- top: 10px;
- }
- #col3 input
- {
- width: 95px;
- }
- #test
- {
- color:#ffffff;
- padding-left:5px;
- height: 194px;
- }
- #test2
- {
- padding-left:5px;
- font-size: 24px;
- font-weight: bold;
- }
- /*77A1CF
- */
- #col1 h2, #col3 h2
- {
- width: 91%;
- display: block;
- border-left: 1px solid #3c71aa;
- border-right: 1px solid #3c71aa;
- padding-left: 10px;
- background-image: url(images/list-back.gif);
- margin-top: 0px;
- text-decoration:none; font-family:garamond, serif; font-size:18px; white-space:nowrap; color:#000000;
- margin-bottom: 8px;
- }
- #rss a , #rss a:visited
- {
- font-size: 10px;
- text-decoration: none;
- color: #3C71AA;
- }
- #rss img
- {
- padding-top: 3px;
- padding-right: 3px;
- }
- .featured_listings
- {
- text-align: center;
- margin-left:auto;
- margin-right:auto;
- }
- .featured_listings img
- {
- padding: 2px;
- border: 1px solid #cccccc;
- }
- #footer
- {
- float: inherit;
- width: 100%;
- padding: 15px 0px 15px 0px;
- border-top: 2px solid #77A1CF;
- text-align: center;
- margin-top: 2px;
- background-image: url(images/foot.jpg);
- }
- .search_result_table
- {
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 10px;
- padding: 5px 0px 5px 0px;
- }
- /* *** This is internal css for Open-Realty */
- .field_caption{
- font-weight:bold;
- }
- .searchpage_field_caption {
- font-weight:bold;
- text-align:right;
- }
- .searchpage_field_caption_row {
- font-weight:bold;
- text-align:right;
- }
- .lat_long_header{font-size:12px;}
- .view_image {
- text-align:center;
- }
- .image_caption {
- font-size:16px;
- font-weight:bold;
- }
- .view_user {
- padding-left:5px;
- }
- .view_user_user_name {
- font-size:14px;
- font-weight:bold;
- }
- .view_user_user_images {
- float:left;
- }
- .view_user_user_info {
- float:left;
- padding-left:10px;
- }
- .view_user_user_hitcount {
- clear:both;
- }
- .view_user_user_box {
- }
- .no_results { color:red; margin-top:10px;}
- /* *** Generated by www.csscreator.com *** */
- /* THIS IS SECTION IS FOR VERTICAL MENU */
- .search_results
- {
- width:100%;
- }
- .result_row_0 { background-color: #f8f8f8; }
- .result_row_1 { background-color: #FFFFFF; }
- .view_users { width:100%; }
- .logo h1{
- font-size: 30px;
- color:#333333;
- vertical-align: text-bottom;
- margin: 0px;
- margin-top: 10px;
- font-weight: normal;
- }
- .clr{
- clear:both;
- }
- .content{
- position:relative;
- }
- /*printer styles*/
- @media print{
- /*hide the left column when printing*/
- #leftcol{display:none;}
- #outer{border-left:0;}
- }
- /* THIS CONTROLS THE TABLES DISPLAYED BY PAGES GENERATED BY THE PAGE EDITOR */
- table.page_display
- {
- border: 3px;
- }
- td.page_display
- {
- width: 100%;
- vertical-align: top;
- }
- /* THIS CONTROLS THE TABLES DISPLAYED IN THE ADMIN */
- table.admin_main
- {
- border: 3px;
- width: 100%;
- }
- td.admin_main
- {
- width: 100%;
- vertical-align: top;
- }
- /* THIS CONTROLS THE ROW COLORS */
- td.row1_0 { background-color: #FFFFFF; }
- td.row2_0 { background-color: #C2C2C2; }
- td.row3_0 { background-color: #FFFFFF; }
- .adminListingLeft_0 {
- color: #FFFFFF;
- background-color : transparent;
- }
- /* LISTING BROWSE PAGE NAVIGATION WIDGET 'next_prev()'display stuff */
- .browse_tool_table {
- background-color: #FFFFFF;
- width:100%;
- font-size: 11px;
- text-decoration: none;
- color: black;
- }
- .browse_tool {
- background-color: #FFFFFF;
- font-size: 9px;
- text-decoration: none;
- color: black;
- }
- .browse_tool_num {
- color: #336699;
- }
- .browse_tool_button A {
- background-color: #FFFFFF;
- font-size: 9px;
- line-height: 10px;
- text-align: center;
- BORDER-COLOR: #000000;
- BORDER-STYLE: outset;
- BORDER-WIDTH: 1px;
- font-weight: bold;
- text-decoration: none;
- color: #000000;
- width: 55px;
- height: 18px;
- display: block;
- padding: 3px;
- }
- .browse_tool_button A:visited {
- color: #000000;
- }
- .browse_tool_button A:hover {
- color: #CCCCCC;
- BORDER-STYLE: inset;
- width: 55px;
- height: 18px;
- }
- .browse_tool_ghost {
- font-size: 9px;
- line-height: 10px;
- color: #aaaaaa;
- text-decoration: none;
- }
- .browse_tool_curpage {
- BACKGROUND-COLOR: #f8f8f8;
- color: #CCCCCC;
- width: 24px;
- height: 20px;
- display: block;
- text-align: center;
- }
- .bt_pages {
- font-family: verdana, arial, Helvetica, sans-serif;
- BACKGROUND-COLOR: #D1DEE9;
- text-decoration:none;
- font-size: 9px;
- vertical-align: middle;
- color: #000000;
- padding: 0px;
- }
- bt_pages_ghost{
- color: #aaaaaa;
- text-decoration:none;
- }
- A.bt_pages{
- color: #000000;
- width: 24px;
- height: 20px;
- display: block;
- text-align: center;
- }
- A.bt_pages:visited{
- color: #000000;
- }
- A.bt_pages:hover{
- color:#FFFFFF;
- background: #132975;
- }
- /* LISTING PAGE DETAILS 'listing_next_prev' */
- .next_prev_listing { margin: 2em 0 2em 3em; border: 1px solid #a9a9a9; width: 40em; text-align: center; }
- .next_prev_listing ul { margin: 1.5em auto; }
- .next_prev_listing li { display: inline; padding: .5em 1em; list-style-type: none; }
- .count, .listing_xy { width: 100%; background-color: #dcdcdc; clear: both; padding: .5em 0; }
- /* css for tabbed pages */
- .dynamic-tab-pane-control.tab-pane {
- position: relative;
- width: 100%; /* width needed weird IE bug */
- margin-right: -2px; /* to make room for the shadow */
- }
- .dynamic-tab-pane-control .tab-row .tab {
- width: 70px;
- height: 16px;
- background-image: url( "{template_url}/images/tab.png" );
- position: relative;
- top: 0;
- display: inline;
- float: left;
- overflow: hidden;
- cursor: Default;
- margin: 1px -1px 1px 2px;
- padding: 2px 0px 0px 0px;
- border: 0;
- z-index: 1;
- font: 11px Tahoma;
- white-space: nowrap;
- text-align: center;
- }
- .dynamic-tab-pane-control .tab-row .tab.selected {
- width: 74px !important;
- height: 18px !important;
- background-image: url( "{template_url}/images/tab.active.png" ) !important;
- background-repeat: no-repeat;
- border-bottom-width: 0;
- z-index: 3;
- padding: 2px 0 0px 0;
- margin: 1px -3px -3px 0px;
- top: -2px;
- font: 11px Tahoma;
- }
- .dynamic-tab-pane-control .tab-row .tab a {
- font: 11px Tahoma;
- color: Black;
- text-decoration: none;
- cursor: default;
- }
- .dynamic-tab-pane-control .tab-row .tab.hover {
- font: 11px Tahoma;
- width: 70px;
- height: 16px;
- background-image: url( "{template_url}/images/tab.hover.png" );
- background-repeat: no-repeat;
- }
- .dynamic-tab-pane-control .tab-page {
- clear: both;
- border: 1px solid rgb( 145, 155, 156 );
- background: #ffffff;
- z-index: 2;
- position: relative;
- top: -2px;
- font: 11px Tahoma;
- color: Black;
- padding: 10px;
- }
- .dynamic-tab-pane-control .tab-row {
- z-index: 1;
- white-space: nowrap;
- }
Thank You for looking