I can't figure this out. I made this web page and ran the HTML and CSS through the W3C Validation service to make sure all my coding is good and I change the few errors it found.
Can you help me figure this out? I want the page to open and show the top/header properly and then you scroll down like all web pages. This happened before and you all were able to help.
thanks
HTML
CSSCode:<!DOCTYPE HTML> <html> <head> <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>LiveInNewCastle .com brought to you by Samonas Realty</title> <link rel="stylesheet" type="text/css" href="styles.css"> <style type="text/css"> div.c4 {text-align: right;} div.c3 {text-align: center} div.c2 {line-height:20px;} span.c1 {color:#458B00;} </style> </head> <body> <div id="mainPicture"><img src="images/NewCastle_logo.jpg" alt="LiveInNewCastle logo"></div> <div class="contentBox innerBox"> <div class="contentText"> <h3>111 Main Street, New Castle, New Hampshire <span class="c1">$1,295,000</span></h3> <a href="http://www.nneren.com/listing_detail.html?id=4059995&return=1" target="_blank">MLS#: 4059995</a> <p>Exquisite Colonial, in the Heart of New Castle Village. Circa 1775. Sophisticated, yet Warm in Style. Open & Bright Kitchen & Dining Room, Living Room with Custom Bookshelves & Fireplace & Relaxing Family Room w/Fireplace & French Doors Leading to Full Length Deck, Office & Half Bath on 1st Floor. 3 Roomy Bedrooms, Laundry & 2 Full Baths on 2nd Floor. Well manicured Landscape & Gardens in Fenced Backyard...enjoy the views from the Back Deck!</p> <div class="c3"><embed width="900" height="500" flashvars="showLogo=false&showVersionInfo=false&dataFile=http://www.homesandland.com/ClientSide/SlideShow/slideshowconfig.cfm?SlideShowId=1394720%26ListingId=16829295%26Unbranded=1" quality="high" bgcolor="##ffffff" name="SOEZTour" src="http://www.homesandland.com/ClientSide/SlideShow/HNLEZTour.swf" type="application/x-shockwave-flash"><br> <div id="ldpPFHeadline"></div> <table class="ldpPropFeatures" border="0" cellpadding="5" cellspacing="5"> <tbody> <tr> <td colspan="3" class="ldpPFHeadline"></td> </tr> <tr> <td width="310px"> <ul> <li><strong>Home Features Amenities</strong></li> <li>MLS #: 4059995</li> <li>Price: $1,295,000</li> <li>Total Rooms: 8</li> <li>BedRooms: 3</li> <li>Total Baths: 3</li> <li>Acres: 0.25</li> <li>Square Feet: 2000 Sq Ft</li> <li>Above GRD: 2000 Sq Ft</li> <li>Below GRD: 0</li> <li>Taxes: $4,018</li> <li>Tax Year: 2010</li> <li>Year Built: 1775</li> </ul> </td> <td width="310"> <ul> <li><strong>Features:</strong></li> <li>Style:Colonial, Historic Vintage</li> <li>Color:Taupe</li> <li>Full Baths: 2</li> <li>1/2 Baths: 1</li> <li>Water Heater: Electric</li> <li>Water: Public</li> <li>Basement: Full, Unfinished</li> <li>Construction: Existing, Wood Frame</li> <li>Driveway: Paved</li> <li>Electric: 200 Amp</li> <li>Exterior: Clapboard, Wood</li> <li>Foundation: Brick, Stone</li> <li>Garage/Parking: 2 Parking Spaces</li> <li>Heating/Cooling: Hot Air</li> <li>Heat Fuel: Gas-LP/Bottle, Oil</li> <li>Lot Description: Country Setting, Fenced, Landscaped, Level</li> <li>Roof: Shingle-Architectural</li> <li>Interior Features: 2nd Floor Laundry, Cable, Cable Internet, Family Room, Fireplace-Gas, Foyer, Island, Kitchen/Dining, Living Room, Smoke Det-Hdwired w/Batt, 2 Fireplaces</li> </ul> </td> <td width="310"> <ul> <li>Exterior Features: Full Fence, Shed</li> <li>School Elementary: Maude H. Trefethen School</li> <li>Junior High: Portsmouth Middle School</li> <li>High School: Portsmouth High School</li> <li>Seasonal: No</li> <li>Surveyed: Yes</li> <li>Zoning: Residential</li> <li>Flood Zone: Unknown</li> <li>Book: 3491; Page: 1731; Map: 0013; Lot: 0017</li> <li>Sewer: Public</li> <li>Roads: Public, Paved</li> <li>Room Dimensions:</li> <li>Master Bedroom: 13 x 19</li> <li>Bedroom 2: 11 x 13</li> <li>Bedroom 3: 10 x 11</li> <li>Kitchen: 9 X 22</li> <li>Living Room: 13 X 19</li> <li>Family Room: 14 X 23</li> <li>Dining Room: 10 X 13</li> <li>Office: 8 X 11</li> </ul> </td> </tr> </tbody> </table> <br> <div id="mapviewer"><iframe id="map" name="mapFrame" scrolling="no" width="900" height="450" frameborder="0" src="http://www.bing.com/maps/embed/?lvl=14&cp=43.071301~-70.718039&sty=r&draggable=true&v=2&dir=0&where1=111+Main+St%2C+New+Castle%2C+NH+03854&q=111+Main+St%2C+New+Castle%2C+NH+03854&form=LMLTEW&pp=43.071169~-70.717986&emid=b655c7e0-bf23-f0f7-41fa-e492ad839619&w=900&h=450"></iframe> <div id="LME_maplinks" class="c2"><a id="LME_largerMap" href="http://www.bing.com/maps/?mm_embed=map&cp=43.071301~-70.718039&lvl=14&sty=r&where1=111+Main+St%2C+New+Castle%2C+NH+03854&form=LMLTEW" target="_blank">View Larger Map</a> <a id="LME_directions" href="http://www.bing.com/maps/?mm_embed=dir&cp=43.071301~-70.718039&rtp=~pos.43.071169_-70.717986_111+Main+St%2C+New+Castle%2C+NH+03854&lvl=14&sty=r&form=LMLTEW" target="_blank">Get Directions</a> <a id="LME_birdsEye" href="http://www.bing.com/maps/?mm_embed=be&cp=43.071301~-70.718039&lvl=18&sty=b&where1=111+Main+St%2C+New+Castle%2C+NH+03854&form=LMLTEW" target="_blank">View Bird's Eye</a></div> </div> </div> </div> <div class="c4"><a href="mailto:John@samonasgroup.com%20?subject=WalkToDowntown.com"><strong>Click here to make an appointment to view this wonderful home.</strong></a></div> </div> <div id="footer"><a href="http://samonasgroup.com/">Samonas Realty</a> | 111 Bow St, Portsmouth, NH 03801 | <a href="mailto:Suzanne@samonasgroup.com">Suzanne Butcofski</a> | (603) 957-1210</div> </body> </html>
Code:body { margin : auto; color : #003366; background-color : #003366; background-repeat : repeat; max-width : 960px; } #navBar { color : #ceeaee; font-family : sans-serif; margin-top : 30px; margin-bottom : 0; padding : 0; } #navBar li { display : inline; list-style-type : none; } #navBar li a { display : inline-block; height : 1.5em; color : #cde2fc; padding-top : 0.2em; padding-left : 1em; padding-right : 1em; text-decoration : none; } #navBar li a:hover { color : #0c61c9; background-color : white; } #mainPicture { height : 170px; width : 960px; padding-top : 10px; margin : auto; } .contentBox { font-family : sans-serif; clear : both; } .sidebar { float : right; width : 370px; padding : 10px; clear : both; } .innerBox { background-color : #ffffff; background-repeat : repeat-y; padding-top : 1em; padding-left : 1em; padding-right : 1em; padding-bottom : 1em; } .agent-block img { border : 1px solid #e5e5e5; padding : 4px; margin : 0 8px 1px 0; } .ldpPFHeadline h3 { font-weight : bold; } .ldpPropFeatures td { vertical-align : top; margin : 0; padding : 0 0 10px 0; width : 310px; } .ldpPropFeatures ul { margin : 0 0 0 10px; } .ldpPropFeatures li { margin : 0; padding : 0; list-style-position : outside; } .ldpSecHeadline { margin : 0 0 5px 0; } #footer { background : url(images/footer.png) no-repeat; text-align : center; font-size : small; font-family : sans-serif; color : #010101; padding-top : 5px; padding-bottom : 5px; } #footer A { color : #010101; }



Reply With Quote



Bookmarks