tables and include files
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
no im having trouble editing it im just trying to make a template for now of the photoshop design and the with a template i can just add editable regions and then include files and use for other pages....i also have programs like webassist now that adds forms into your pages and easier if your pages are templates, but im mostly having trouble with getting the footer to move or expand when the above divs are expanded. please help with advise thanks dude...im new to the css div world and trying to practice designing and implementing some sites now using divs and tables inside divs for now with css
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
November 29th, 2007, 3:45 pm
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
im trying to make the footer move when the body or and div expands...
i know i need to change some of the css and get ride of some of the black spaces...but can anyone help
i know i need to change some of the css and get ride of some of the black spaces...but can anyone help
Code: [ Select ]
<html>
<head>
<title>index3</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (index3.psd) -->
<style type="text/css">
<!--
#Table_01 {
position:absolute;
left:0px;
top:0px;
width:775px;
height:735px;
}
#container {
position:absolute;
left:0px;
top:0px;
width:25px;
height:667px;
}
#logo {
position:absolute;
left:25px;
top:0px;
width:175px;
height:98px;
}
#container003 {
position:absolute;
left:200px;
top:0px;
width:254px;
height:98px;
}
#topNav {
position:absolute;
left:454px;
top:0px;
width:297px;
height:98px;
}
#container005 {
position:absolute;
left:751px;
top:0px;
width:24px;
height:667px;
}
#index3-06 {
position:absolute;
left:25px;
top:98px;
width:725px;
height:12px;
}
#container007 {
position:absolute;
left:750px;
top:98px;
width:1px;
height:569px;
}
#header {
position:absolute;
left:25px;
top:110px;
width:550px;
height:233px;
}
#search {
position:absolute;
left:575px;
top:110px;
width:175px;
height:263px;
}
#navMenu {
position:absolute;
left:25px;
top:343px;
width:550px;
height:30px;
}
#featuredHomes {
position:absolute;
left:25px;
top:373px;
width:174px;
height:294px;
}
#index3-12 {
position:absolute;
left:199px;
top:373px;
width:376px;
height:294px;
}
#index3-13 {
position:absolute;
left:575px;
top:373px;
width:175px;
height:216px;
}
#container014 {
position:absolute;
left:575px;
top:589px;
width:175px;
height:1px;
}
#index3-15 {
position:absolute;
left:575px;
top:590px;
width:175px;
height:77px;
}
#footer {
position:absolute;
left:0px;
top:667px;
width:775px;
height:68px;
}
-->
</style>
<!-- End ImageReady Styles -->
</head>
<body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (index3.psd) -->
<div id="Table_01">
<div id="container">
<img src="templates/images/container.jpg" width="25" height="667" alt="">
</div>
<div id="logo"><img src="templates/images/logo.jpg" width="175" height="98" alt=""></div>
<div id="container003">
<img src="templates/images/container-03.jpg" width="254" height="98" alt="">
</div>
<div id="topNav">
<img src="templates/images/topNav.jpg" width="297" height="98" alt="">
</div>
<div id="container005">
<img src="templates/images/container-05.jpg" width="24" height="667" alt="">
</div>
<div id="index3-06">
<img src="templates/images/index3_06.jpg" width="725" height="12" alt="">
</div>
<div id="container007">
<img src="templates/images/container-07.jpg" width="1" height="569" alt="">
</div>
<div id="header"><!-- TemplateBeginEditable name="header" --><img src="templates/images/header.jpg" width="550" height="233" alt=""><!-- TemplateEndEditable --></div>
<div id="search">
<img src="templates/images/search.jpg" width="175" height="263" alt="">
</div>
<div id="navMenu">
<img src="templates/images/navMenu.jpg" width="550" height="30" alt="">
</div>
<div id="featuredHomes">
<img src="templates/images/featuredHomes.jpg" width="174" height="294" alt="">
</div>
<div id="index3-12"><!-- TemplateBeginEditable name="body" --><img src="templates/images/index3_12.jpg" width="376" height="294" alt=""><!-- TemplateEndEditable --></div>
<div id="index3-13"><!-- TemplateBeginEditable name="testimonials" --><img src="templates/images/index3_13.jpg" width="175" height="216" alt=""><!-- TemplateEndEditable --></div>
<div id="container014">
<img src="templates/images/container-14.jpg" width="175" height="1" alt="">
</div>
<div id="index3-15">
<img src="templates/images/index3_15.jpg" width="175" height="77" alt="">
</div>
<div id="footer">
<img src="templates/images/footer.jpg" width="775" height="68" alt="">
</div>
</div>
<!-- End ImageReady Slices -->
</body>
</html>
<head>
<title>index3</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (index3.psd) -->
<style type="text/css">
<!--
#Table_01 {
position:absolute;
left:0px;
top:0px;
width:775px;
height:735px;
}
#container {
position:absolute;
left:0px;
top:0px;
width:25px;
height:667px;
}
#logo {
position:absolute;
left:25px;
top:0px;
width:175px;
height:98px;
}
#container003 {
position:absolute;
left:200px;
top:0px;
width:254px;
height:98px;
}
#topNav {
position:absolute;
left:454px;
top:0px;
width:297px;
height:98px;
}
#container005 {
position:absolute;
left:751px;
top:0px;
width:24px;
height:667px;
}
#index3-06 {
position:absolute;
left:25px;
top:98px;
width:725px;
height:12px;
}
#container007 {
position:absolute;
left:750px;
top:98px;
width:1px;
height:569px;
}
#header {
position:absolute;
left:25px;
top:110px;
width:550px;
height:233px;
}
#search {
position:absolute;
left:575px;
top:110px;
width:175px;
height:263px;
}
#navMenu {
position:absolute;
left:25px;
top:343px;
width:550px;
height:30px;
}
#featuredHomes {
position:absolute;
left:25px;
top:373px;
width:174px;
height:294px;
}
#index3-12 {
position:absolute;
left:199px;
top:373px;
width:376px;
height:294px;
}
#index3-13 {
position:absolute;
left:575px;
top:373px;
width:175px;
height:216px;
}
#container014 {
position:absolute;
left:575px;
top:589px;
width:175px;
height:1px;
}
#index3-15 {
position:absolute;
left:575px;
top:590px;
width:175px;
height:77px;
}
#footer {
position:absolute;
left:0px;
top:667px;
width:775px;
height:68px;
}
-->
</style>
<!-- End ImageReady Styles -->
</head>
<body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (index3.psd) -->
<div id="Table_01">
<div id="container">
<img src="templates/images/container.jpg" width="25" height="667" alt="">
</div>
<div id="logo"><img src="templates/images/logo.jpg" width="175" height="98" alt=""></div>
<div id="container003">
<img src="templates/images/container-03.jpg" width="254" height="98" alt="">
</div>
<div id="topNav">
<img src="templates/images/topNav.jpg" width="297" height="98" alt="">
</div>
<div id="container005">
<img src="templates/images/container-05.jpg" width="24" height="667" alt="">
</div>
<div id="index3-06">
<img src="templates/images/index3_06.jpg" width="725" height="12" alt="">
</div>
<div id="container007">
<img src="templates/images/container-07.jpg" width="1" height="569" alt="">
</div>
<div id="header"><!-- TemplateBeginEditable name="header" --><img src="templates/images/header.jpg" width="550" height="233" alt=""><!-- TemplateEndEditable --></div>
<div id="search">
<img src="templates/images/search.jpg" width="175" height="263" alt="">
</div>
<div id="navMenu">
<img src="templates/images/navMenu.jpg" width="550" height="30" alt="">
</div>
<div id="featuredHomes">
<img src="templates/images/featuredHomes.jpg" width="174" height="294" alt="">
</div>
<div id="index3-12"><!-- TemplateBeginEditable name="body" --><img src="templates/images/index3_12.jpg" width="376" height="294" alt=""><!-- TemplateEndEditable --></div>
<div id="index3-13"><!-- TemplateBeginEditable name="testimonials" --><img src="templates/images/index3_13.jpg" width="175" height="216" alt=""><!-- TemplateEndEditable --></div>
<div id="container014">
<img src="templates/images/container-14.jpg" width="175" height="1" alt="">
</div>
<div id="index3-15">
<img src="templates/images/index3_15.jpg" width="175" height="77" alt="">
</div>
<div id="footer">
<img src="templates/images/footer.jpg" width="775" height="68" alt="">
</div>
</div>
<!-- End ImageReady Slices -->
</body>
</html>
- <html>
- <head>
- <title>index3</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <!-- ImageReady Styles (index3.psd) -->
- <style type="text/css">
- <!--
- #Table_01 {
- position:absolute;
- left:0px;
- top:0px;
- width:775px;
- height:735px;
- }
- #container {
- position:absolute;
- left:0px;
- top:0px;
- width:25px;
- height:667px;
- }
- #logo {
- position:absolute;
- left:25px;
- top:0px;
- width:175px;
- height:98px;
- }
- #container003 {
- position:absolute;
- left:200px;
- top:0px;
- width:254px;
- height:98px;
- }
- #topNav {
- position:absolute;
- left:454px;
- top:0px;
- width:297px;
- height:98px;
- }
- #container005 {
- position:absolute;
- left:751px;
- top:0px;
- width:24px;
- height:667px;
- }
- #index3-06 {
- position:absolute;
- left:25px;
- top:98px;
- width:725px;
- height:12px;
- }
- #container007 {
- position:absolute;
- left:750px;
- top:98px;
- width:1px;
- height:569px;
- }
- #header {
- position:absolute;
- left:25px;
- top:110px;
- width:550px;
- height:233px;
- }
- #search {
- position:absolute;
- left:575px;
- top:110px;
- width:175px;
- height:263px;
- }
- #navMenu {
- position:absolute;
- left:25px;
- top:343px;
- width:550px;
- height:30px;
- }
- #featuredHomes {
- position:absolute;
- left:25px;
- top:373px;
- width:174px;
- height:294px;
- }
- #index3-12 {
- position:absolute;
- left:199px;
- top:373px;
- width:376px;
- height:294px;
- }
- #index3-13 {
- position:absolute;
- left:575px;
- top:373px;
- width:175px;
- height:216px;
- }
- #container014 {
- position:absolute;
- left:575px;
- top:589px;
- width:175px;
- height:1px;
- }
- #index3-15 {
- position:absolute;
- left:575px;
- top:590px;
- width:175px;
- height:77px;
- }
- #footer {
- position:absolute;
- left:0px;
- top:667px;
- width:775px;
- height:68px;
- }
- -->
- </style>
- <!-- End ImageReady Styles -->
- </head>
- <body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
- <!-- ImageReady Slices (index3.psd) -->
- <div id="Table_01">
- <div id="container">
- <img src="templates/images/container.jpg" width="25" height="667" alt="">
- </div>
- <div id="logo"><img src="templates/images/logo.jpg" width="175" height="98" alt=""></div>
- <div id="container003">
- <img src="templates/images/container-03.jpg" width="254" height="98" alt="">
- </div>
- <div id="topNav">
- <img src="templates/images/topNav.jpg" width="297" height="98" alt="">
- </div>
- <div id="container005">
- <img src="templates/images/container-05.jpg" width="24" height="667" alt="">
- </div>
- <div id="index3-06">
- <img src="templates/images/index3_06.jpg" width="725" height="12" alt="">
- </div>
- <div id="container007">
- <img src="templates/images/container-07.jpg" width="1" height="569" alt="">
- </div>
- <div id="header"><!-- TemplateBeginEditable name="header" --><img src="templates/images/header.jpg" width="550" height="233" alt=""><!-- TemplateEndEditable --></div>
- <div id="search">
- <img src="templates/images/search.jpg" width="175" height="263" alt="">
- </div>
- <div id="navMenu">
- <img src="templates/images/navMenu.jpg" width="550" height="30" alt="">
- </div>
- <div id="featuredHomes">
- <img src="templates/images/featuredHomes.jpg" width="174" height="294" alt="">
- </div>
- <div id="index3-12"><!-- TemplateBeginEditable name="body" --><img src="templates/images/index3_12.jpg" width="376" height="294" alt=""><!-- TemplateEndEditable --></div>
- <div id="index3-13"><!-- TemplateBeginEditable name="testimonials" --><img src="templates/images/index3_13.jpg" width="175" height="216" alt=""><!-- TemplateEndEditable --></div>
- <div id="container014">
- <img src="templates/images/container-14.jpg" width="175" height="1" alt="">
- </div>
- <div id="index3-15">
- <img src="templates/images/index3_15.jpg" width="175" height="77" alt="">
- </div>
- <div id="footer">
- <img src="templates/images/footer.jpg" width="775" height="68" alt="">
- </div>
- </div>
- <!-- End ImageReady Slices -->
- </body>
- </html>
- jameson5555
- Bronze Robot


- Joined: Oct 02, 2007
- Posts: 575
- Loc: Phoenix, AZ
- Status: Offline
It's hard to really see what you're talking about without the images, but... are you saying you want the image you're using as the footer to expand when the page expands?
I wouldn't think your page would even be able to expand because you have everything set to fixed widths and absolute positioning.
This might help for starters. Change:
to
That'll center your page.
I wouldn't think your page would even be able to expand because you have everything set to fixed widths and absolute positioning.
This might help for starters. Change:
Code: [ Select ]
#Table_01 {
position:absolute;
left:0px;
top:0px;
width:775px;
height:735px;
}
position:absolute;
left:0px;
top:0px;
width:775px;
height:735px;
}
- #Table_01 {
- position:absolute;
- left:0px;
- top:0px;
- width:775px;
- height:735px;
- }
to
Code: [ Select ]
#Table_01 {
position:relative;
margin-left:auto;
margin-right:auto;
width:775px;
height:735px;
}
position:relative;
margin-left:auto;
margin-right:auto;
width:775px;
height:735px;
}
- #Table_01 {
- position:relative;
- margin-left:auto;
- margin-right:auto;
- width:775px;
- height:735px;
- }
That'll center your page.
phoenix web design
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
ok so how about the footer because right now to get that accomplished i am using a table within a div so when the body expands the footer will to...
and also sometime the page doesnt wanna scroll how can i fix this too...
like here:
http://www.getflap.com/userProperties_Update.php
and also sometime the page doesnt wanna scroll how can i fix this too...
like here:
http://www.getflap.com/userProperties_Update.php
- jameson5555
- Bronze Robot


- Joined: Oct 02, 2007
- Posts: 575
- Loc: Phoenix, AZ
- Status: Offline
olm75 wrote:
ok so how about the footer because right now to get that accomplished i am using a table within a div so when the body expands the footer will to...
and also sometime the page doesnt wanna scroll how can i fix this too...
like here:
http://www.getflap.com/userProperties_Update.php
and also sometime the page doesnt wanna scroll how can i fix this too...
like here:
http://www.getflap.com/userProperties_Update.php
You should just be able to set the footer width to
Code: [ Select ]
width:100%;
It looks like the page isn't scrolling in IE6.. if you just get rid of that "overflow:visible;" that you have in the body, that should fix it.
phoenix web design
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
i want to make the footer move with the body when it extends downword...
here is my code all cleaned and filtered up i am trying to learn so here we go:
here is my code all cleaned and filtered up i am trying to learn so here we go:
Code: [ Select ]
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>index3</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (index3.psd) -->
<style type="text/css">
<!--
#container {
position:absolute;
left:0px;
top:0px;
width:775px;
height:735px;
}
#left_blank {
position:absolute;
left:0px;
top:0px;
width:25px;
height:667px;
}
#logo {
position:absolute;
left:25px;
top:0px;
width:175px;
height:98px;
}
#leftBlank {
position:absolute;
left:200px;
top:0px;
width:254px;
height:98px;
}
#topNav {
position:absolute;
left:454px;
top:0px;
width:297px;
height:98px;
}
#rightBlank {
position:absolute;
left:751px;
top:0px;
width:24px;
height:667px;
}
#topLineDivider {
position:absolute;
left:25px;
top:98px;
width:725px;
height:12px;
}
#header {
position:absolute;
left:25px;
top:110px;
width:550px;
height:233px;
}
#search {
position:absolute;
left:575px;
top:110px;
width:175px;
height:263px;
}
#navMenu {
position:absolute;
left:25px;
top:343px;
width:550px;
height:30px;
}
#featuredHomes {
position:absolute;
left:25px;
top:373px;
width:174px;
height:294px;
}
#body {
position:absolute;
left:199px;
top:373px;
width:376px;
height:294px;
}
#testimonials {
position:absolute;
left:575px;
top:373px;
width:175px;
height:216px;
}
#constantContact {
position:absolute;
left:575px;
top:590px;
width:175px;
height:77px;
}
#footer {
position:absolute;
left:0px;
top:667px;
width:775px;
height:68px;
}
-->
</style>
<!-- End ImageReady Styles -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (index3.psd) -->
<div id="container">
<div id="logo"><img src="images/logo.jpg" width="175" height="98" alt=""></div>
<div id="leftBlank"></div>
<div id="topNav">
<?php require_once('../topNav.php'); ?>
</div>
<div id="rightBlank"></div>
<div id="topLineDivider">
<img src="images/index3_06.jpg" width="725" height="12" alt="">
</div>
<div id="header"><!-- TemplateBeginEditable name="header" --><img src="images/header.jpg" width="550" height="233" alt=""><!-- TemplateEndEditable --></div>
<div id="search"><!-- TemplateBeginEditable name="search" --><img src="images/search.jpg" width="175" height="263" alt=""><!-- TemplateEndEditable --></div>
<div id="navMenu">
<img src="images/navMenu.jpg" width="550" height="30" alt="">
</div>
<div id="featuredHomes"><!-- TemplateBeginEditable name="featuredHomes" --><img src="images/featuredHomes.jpg" width="174" height="294" alt=""><!-- TemplateEndEditable --></div>
<div id="body"><!-- TemplateBeginEditable name="body" --><img src="images/index3_12.jpg" width="376" height="294" alt=""><!-- TemplateEndEditable --></div>
<div id="testimonials"><!-- TemplateBeginEditable name="testimonials" --><img src="images/index3_13.jpg" width="175" height="216" alt=""><!-- TemplateEndEditable --></div>
<div id="constantContact"><!-- TemplateBeginEditable name="constantContact" --><img src="images/index3_15.jpg" width="175" height="77" alt=""><!-- TemplateEndEditable --></div>
<div id="footer">
<?php require_once('../footerNav.php'); ?>
</div>
</div>
<!-- End ImageReady Slices -->
</body>
</html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>index3</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (index3.psd) -->
<style type="text/css">
<!--
#container {
position:absolute;
left:0px;
top:0px;
width:775px;
height:735px;
}
#left_blank {
position:absolute;
left:0px;
top:0px;
width:25px;
height:667px;
}
#logo {
position:absolute;
left:25px;
top:0px;
width:175px;
height:98px;
}
#leftBlank {
position:absolute;
left:200px;
top:0px;
width:254px;
height:98px;
}
#topNav {
position:absolute;
left:454px;
top:0px;
width:297px;
height:98px;
}
#rightBlank {
position:absolute;
left:751px;
top:0px;
width:24px;
height:667px;
}
#topLineDivider {
position:absolute;
left:25px;
top:98px;
width:725px;
height:12px;
}
#header {
position:absolute;
left:25px;
top:110px;
width:550px;
height:233px;
}
#search {
position:absolute;
left:575px;
top:110px;
width:175px;
height:263px;
}
#navMenu {
position:absolute;
left:25px;
top:343px;
width:550px;
height:30px;
}
#featuredHomes {
position:absolute;
left:25px;
top:373px;
width:174px;
height:294px;
}
#body {
position:absolute;
left:199px;
top:373px;
width:376px;
height:294px;
}
#testimonials {
position:absolute;
left:575px;
top:373px;
width:175px;
height:216px;
}
#constantContact {
position:absolute;
left:575px;
top:590px;
width:175px;
height:77px;
}
#footer {
position:absolute;
left:0px;
top:667px;
width:775px;
height:68px;
}
-->
</style>
<!-- End ImageReady Styles -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (index3.psd) -->
<div id="container">
<div id="logo"><img src="images/logo.jpg" width="175" height="98" alt=""></div>
<div id="leftBlank"></div>
<div id="topNav">
<?php require_once('../topNav.php'); ?>
</div>
<div id="rightBlank"></div>
<div id="topLineDivider">
<img src="images/index3_06.jpg" width="725" height="12" alt="">
</div>
<div id="header"><!-- TemplateBeginEditable name="header" --><img src="images/header.jpg" width="550" height="233" alt=""><!-- TemplateEndEditable --></div>
<div id="search"><!-- TemplateBeginEditable name="search" --><img src="images/search.jpg" width="175" height="263" alt=""><!-- TemplateEndEditable --></div>
<div id="navMenu">
<img src="images/navMenu.jpg" width="550" height="30" alt="">
</div>
<div id="featuredHomes"><!-- TemplateBeginEditable name="featuredHomes" --><img src="images/featuredHomes.jpg" width="174" height="294" alt=""><!-- TemplateEndEditable --></div>
<div id="body"><!-- TemplateBeginEditable name="body" --><img src="images/index3_12.jpg" width="376" height="294" alt=""><!-- TemplateEndEditable --></div>
<div id="testimonials"><!-- TemplateBeginEditable name="testimonials" --><img src="images/index3_13.jpg" width="175" height="216" alt=""><!-- TemplateEndEditable --></div>
<div id="constantContact"><!-- TemplateBeginEditable name="constantContact" --><img src="images/index3_15.jpg" width="175" height="77" alt=""><!-- TemplateEndEditable --></div>
<div id="footer">
<?php require_once('../footerNav.php'); ?>
</div>
</div>
<!-- End ImageReady Slices -->
</body>
</html>
- <html>
- <head>
- <!-- TemplateBeginEditable name="doctitle" -->
- <title>index3</title>
- <!-- TemplateEndEditable -->
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <!-- ImageReady Styles (index3.psd) -->
- <style type="text/css">
- <!--
- #container {
- position:absolute;
- left:0px;
- top:0px;
- width:775px;
- height:735px;
- }
- #left_blank {
- position:absolute;
- left:0px;
- top:0px;
- width:25px;
- height:667px;
- }
- #logo {
- position:absolute;
- left:25px;
- top:0px;
- width:175px;
- height:98px;
- }
- #leftBlank {
- position:absolute;
- left:200px;
- top:0px;
- width:254px;
- height:98px;
- }
- #topNav {
- position:absolute;
- left:454px;
- top:0px;
- width:297px;
- height:98px;
- }
- #rightBlank {
- position:absolute;
- left:751px;
- top:0px;
- width:24px;
- height:667px;
- }
- #topLineDivider {
- position:absolute;
- left:25px;
- top:98px;
- width:725px;
- height:12px;
- }
- #header {
- position:absolute;
- left:25px;
- top:110px;
- width:550px;
- height:233px;
- }
- #search {
- position:absolute;
- left:575px;
- top:110px;
- width:175px;
- height:263px;
- }
- #navMenu {
- position:absolute;
- left:25px;
- top:343px;
- width:550px;
- height:30px;
- }
- #featuredHomes {
- position:absolute;
- left:25px;
- top:373px;
- width:174px;
- height:294px;
- }
- #body {
- position:absolute;
- left:199px;
- top:373px;
- width:376px;
- height:294px;
- }
- #testimonials {
- position:absolute;
- left:575px;
- top:373px;
- width:175px;
- height:216px;
- }
- #constantContact {
- position:absolute;
- left:575px;
- top:590px;
- width:175px;
- height:77px;
- }
- #footer {
- position:absolute;
- left:0px;
- top:667px;
- width:775px;
- height:68px;
- }
- -->
- </style>
- <!-- End ImageReady Styles -->
- <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
- </head>
- <body style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
- <!-- ImageReady Slices (index3.psd) -->
- <div id="container">
- <div id="logo"><img src="images/logo.jpg" width="175" height="98" alt=""></div>
- <div id="leftBlank"></div>
- <div id="topNav">
- <?php require_once('../topNav.php'); ?>
- </div>
- <div id="rightBlank"></div>
- <div id="topLineDivider">
- <img src="images/index3_06.jpg" width="725" height="12" alt="">
- </div>
- <div id="header"><!-- TemplateBeginEditable name="header" --><img src="images/header.jpg" width="550" height="233" alt=""><!-- TemplateEndEditable --></div>
- <div id="search"><!-- TemplateBeginEditable name="search" --><img src="images/search.jpg" width="175" height="263" alt=""><!-- TemplateEndEditable --></div>
- <div id="navMenu">
- <img src="images/navMenu.jpg" width="550" height="30" alt="">
- </div>
- <div id="featuredHomes"><!-- TemplateBeginEditable name="featuredHomes" --><img src="images/featuredHomes.jpg" width="174" height="294" alt=""><!-- TemplateEndEditable --></div>
- <div id="body"><!-- TemplateBeginEditable name="body" --><img src="images/index3_12.jpg" width="376" height="294" alt=""><!-- TemplateEndEditable --></div>
- <div id="testimonials"><!-- TemplateBeginEditable name="testimonials" --><img src="images/index3_13.jpg" width="175" height="216" alt=""><!-- TemplateEndEditable --></div>
- <div id="constantContact"><!-- TemplateBeginEditable name="constantContact" --><img src="images/index3_15.jpg" width="175" height="77" alt=""><!-- TemplateEndEditable --></div>
- <div id="footer">
- <?php require_once('../footerNav.php'); ?>
- </div>
- </div>
- <!-- End ImageReady Slices -->
- </body>
- </html>
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
- celandine
- Mastermind


- Joined: Oct 30, 2007
- Posts: 2008
- Loc: Belgrade, Serbia
- Status: Offline
copy the css into its own file and call it styles.css or something, and take it out of the HTML. Then link it into your document like this: (the following line goes into the <head> of your HTML).
Code: [ Select ]
<link href="styles.css" rel="stylesheet" type="text/css" />
Eagles may soar in the sky but weasels don't get sucked into jet engines.
celandine designblog
celandine designblog
- jameson5555
- Bronze Robot


- Joined: Oct 02, 2007
- Posts: 575
- Loc: Phoenix, AZ
- Status: Offline
olm75 wrote:
i want to make the footer move with the body when it extends downword...
To get the footer to always be underneath the rest of the divs, you would need to take it out from inside the container div and put it at the bottom. Then put "clear:both;" in the CSS for the footer.
Part of the problem you're having I think is that Imageready gave you all the code as absolutely positioned with fixed sizes. Try experimenting with removing the "position:absolute;" from your divs to see what effect it has.
Here is a great article about positioning with CSS. It helped me out a ton when I was learning this stuff.
phoenix web design
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
- jameson5555
- Bronze Robot


- Joined: Oct 02, 2007
- Posts: 575
- Loc: Phoenix, AZ
- Status: Offline
olm75 wrote:
so what you are saying is that i shouldnt use photoshop to do this huh
No, I'm not saying that at all. Photoshop and Imageready are powerful software, and can be great tools to help with building a web page.
All I'm saying is that if you just take whatever code Imageready gives you, you're always gonna have issues trying to get it to do exactly what you want. With a little knowledge of CSS positioning and the box model, though, you could make a few quick changes to the Imageready code and have complete control.
phoenix web design
- olm75
- Proficient


- Joined: Aug 07, 2005
- Posts: 294
- Status: Offline
- celandine
- Mastermind


- Joined: Oct 30, 2007
- Posts: 2008
- Loc: Belgrade, Serbia
- Status: Offline
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
December 3rd, 2007, 3:01 am
To Reply to this topic you need to LOGIN or REGISTER. It is free.
Post Information
- Total Posts in this topic: 46 posts
- Users browsing this forum: No registered users and 69 guests
- You cannot post new topics in this forum
- You cannot reply to topics in this forum
- You cannot edit your posts in this forum
- You cannot delete your posts in this forum
- You cannot post attachments in this forum
