|
 |
|
|
|
02-15-2006, 04:51 PM
|
Re: Side bars
|
Posts: 40
|
Ive gatta go Ill be back in little while
|
|
|
|
02-15-2006, 04:56 PM
|
Re: Side bars
|
Posts: 383
Location: Michigan
|
why wouldn't divclasses work like below?
Code:
<!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 profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php bloginfo('name'); ?>
<?php if ( is_single() ) { ?>
»Blog Archive
<?php } ?>
<?php wp_title(); ?>
</title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
<style type="text/css" media="screen">
body
{ background-color: #000000; padding: 0; margin: 0 auto; color: #ffffff; }
#content {
position:absolute;
left:50%;
width:760px;
margin-top:0px;
margin-left:-380px;
padding:15px;
border:none;
background-color:#000000;
}
#mainbanner { width: 750px; height: 375px; position: absolute; top: 0px; left: 5px; margin: 0px; background-repeat: no-repeat; }
#textads { width: 160px; height: 315px; position: absolute; top: 60px; left: 595px; margin: 0px; }
.left { z-index: 1; position: absolute; top:0px; left: 0px; background-image:images/left.gif;}
.right { z-index: 1; position: absolute; top:0px; left: 755px; background-image:images/right.gif;}
#menu { width: 200px; height: 100%; position: absolute; top: 375px; left: 5px; margin: 0px; background-repeat: repeat; background-color:#000000;}
#main { width: 550px; position: absolute; top: 375px; left: 205px; margin: 0px 0px 0px 0px; background-repeat: repeat; background-color:#000000; padding: 0px 0px 0px 0px;}
a:link, a:visited { color: #e4e100; text-decoration: none; font-weight: bold; border-bottom: 0px solid #ffffff;}
a:hover { color: #ffffff; border-bottom: 0px solid #ffffff; font-weight: bold;}
</style>
</head>
<body>
<div id="content">
<div class="left">
<div class="right">
<div id="mainbanner">
<TABLE WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=2>
<A HREF="http://futilesoul.com">
<IMG SRC="images/fs.gif" WIDTH=282 HEIGHT=60 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=3>
<A HREF="http://futilesoul.com/?page_id=30">
<IMG SRC="images/bannerad.gif" WIDTH=468 HEIGHT=60 BORDER=0 ALT=""></A></TD>
</TR>
<TR>
<TD COLSPAN=2>
<IMG SRC="images/main1.gif" WIDTH=282 HEIGHT=257 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/main2.gif" WIDTH=308 HEIGHT=257 ALT=""></TD>
<TD ROWSPAN=2>
<IMG SRC="images/textads.gif" WIDTH=160 HEIGHT=315 ALT=""></TD>
</TR>
<TR>
<TD>
<A HREF="http://futilesoul.com">
<IMG SRC="images/home.gif" WIDTH=167 HEIGHT=58 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2>
<A HREF="http://futilesoul.com/?page_id=33">
<IMG SRC="images/portfolio.gif" WIDTH=226 HEIGHT=58 BORDER=0 ALT=""></A></TD>
<TD>
<A HREF="http://futilesoul.com/?page_id=32">
<IMG SRC="images/contact.gif" WIDTH=197 HEIGHT=58 BORDER=0 ALT=""></A></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=167 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=115 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=111 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=197 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=160 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>
</div>
<div id="bannerad">
</div>
<div id="textads">
<div class="textads">
<center><strong><font color="#cccccc"><small>Advertisements</small></font></strong></cemter><br>
<a href="http://twistedtopics.com"><small>Twisted Topics *nfsw*</small></a><br>
<a href="http://theprojectgeek.com/"><small>The Project Geek</small></a><br>
<a href="http://www.freeminimacs.com/?r=15577121"><small>Free MiniMac</small></a><br>
<a href="http://www.freegamingsystems.com/?r=17970243"><small>Free Gaming Systems</small></a><br>
<br><br><br><br>
<a href="http://www.freepsps.com/?r=17970258"><img src="http://i48.photobucket.com/albums/f242/FutileSoul/psp.gif" border="0"></a><br>
<br><br><a href="http://futilesoul.com/?page_id=30"><small>Advertise</small></a>
</div>
</div>
<div id="main">
<!-- S T A R T M A I N C O N T E N T -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<table><tr><td width="550" bgcolor="#252525"> <center><font size="4"> <?php the_date('','<h2>','</h2>'); ?> </font></center></td></tr></table>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark">
<font size="4"><?php the_title(); ?></font>
</a></h3>
<div class="storycontent">
<?php the_content(__('Read More >>')); ?>
</div>
<center><div class="meta">
<?php _e("Filed under:"); ?>
<?php the_category(',') ?> — <?php the_author() ?> <?php the_time() ?>
<?php edit_post_link(__('Edit')); ?>
</div> </center>
<div class="feedback" align="right">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!-- <?php // trackback_rdf(); ?> -->
</div>
<!-- E N D O F P O S T -->
<!-- E N D O F P O S T -->
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
<!-- E N D M A I N C O N T E N T -->
</div>
<div id="menu">
<table>
<tr><td width="200" bgcolor="#252525">
<center><h1>Navigation</h1><center></td></tr>
<tr>
<td>
<a href="http://futilesoul.com">Home</a><br>
<a href="http://futilesoul.com/?page_id=33">WebDesign</a><br>
<a href="http://futilesoul.com/?page_id=33">Portfolio</a><br>
<a href="http://futilesoul.com/?page_id=32">Submit Stuff</a><br>
<a href="http://futilesoul.com/?page_id=32">Contact</a><br>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Links</h1><center></td></tr>
<tr>
<td>
<a href="http://digitalnotion.co.uk/phpbb2">DigitalNotion Forums</a><br>
<a href="http://torrancemusic.com">Torrance</a><br>
<a href="http://theclassicstruggle.com">The Classic Struggle</a><br>
<a href="http://burn-the-priest.com/phpBB2">Lamb of God Forums</a><br>
<a href="http://chimaira.com">Chimaira</a><br>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>BlogRoll</h1><center></td></tr>
<tr>
<td>
<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=b3b8a68befa33467e7242b704752b4a7"></script>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Blog of the Week</h1><center></td></tr>
<tr>
<td><center>
<!-- Start of BlogExplosion Rent code -->
<script type="text/javascript" language="javascript">
var rent_siteid="58474";
</script>
<script type="text/javascript" language="javascript" src="http://rentblog.blogexplosion.com/rentblog.js"></script>
<!-- End of BlogExplosion Rent code --></center>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Meta</h1><center></td></tr>
<tr>
<td>
<?php wp_loginout(); ?>
</td></tr>
<tr><td>
<A HREF="http://blogclicker.com/?username=spud_8350" TARGET="_blank"><IMG SRC="http://blogclicker.com/banners/bc80x15gold.gif" BORDER=0></A>
<br>
<a href="http://lush.solais.net/in.php?id=872" target="_blank">
<img src="http://lush.solais.net/button.php?id=872" border="0" alt="Lush Topsites">
</a>
<br>
<a href="http://www.blogtop100.com/in.php?id=223">
<img src="http://www.blogtop100.com/button.php?id=223" border="0"><br>
<a href="http://www.blogadvance.com/topblogs/">
<img src="http://www.blogadvance.com/topblogs/button.php?u=futilesoul" alt="BlogAdvance Top Blogs" border="0" width="88" height="31" />
</a>
</td></tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
__________________
Please login or register to view this content. Registration is FREE
- The Congregation of Man
|
|
|
|
02-15-2006, 07:25 PM
|
Re: Side bars
|
Posts: 40
|
They will if its <div class="left"></div> if you suround all your content then you are telling the browser to display all your content to what ever the class is Im going to search for some info I think you may be able to use the gif as a background image inside a single cell table with the table height at 100%
|
|
|
|
02-15-2006, 09:27 PM
|
Re: Side bars
|
Posts: 40
|
Code:
.left { position: absolute; top: 0px; left: 125px; height: 120%; width: 20px;
background: url("http://www.webmaster-talk.com/images/whatever.jpg");
background-repeat: repeat-y;
}
try this the only thing is, that you will have to adjust the height every time your content changes I cant figure out how to make it strech automaticly then use <div class="left"></div> dont put anything between the tags just place the div in the body just like that
Last edited by mrksoliz; 02-15-2006 at 09:33 PM..
|
|
|
|
02-15-2006, 11:30 PM
|
Re: Side bars
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
If you want the div to stretch vertically with your content you have to have your content inside that div and it can't use positioning since that removes it from the normal document flow.
I think the way you're currently attempting to have the sidebars appear you'll need to specify the height for each page.
There are ways to get what you want to work, but I think you'll need to wrap everything into a container div and go from there.
|
|
|
|
02-15-2006, 11:47 PM
|
Re: Side bars
|
Posts: 383
Location: Michigan
|
i thought the following might work, it kinda did. i made an image that is 760px wide and put it as the content background image. one problem, it goes 100% down the visible area until you scroll down.
Code:
<!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 profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php bloginfo('name'); ?>
<?php if ( is_single() ) { ?>
»Blog Archive
<?php } ?>
<?php wp_title(); ?>
</title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
<style type="text/css" media="screen">
body
{ background-color: #000000; padding: 0; margin: 0 auto; color: #ffffff;}
#content {
position:absolute;
left:50%;
width:760px;
height:100%;
margin-top:0px;
margin-left:-380px;
padding:15px;
border:none;
background-image: url(images/bg.gif);
background-repeat: repeat-y;
}
#mainbanner { width: 750px; height: 375px; position: absolute; top: 0px; left: 5px; margin: 0px; background-repeat: no-repeat; }
#textads { width: 160px; height: 315px; position: absolute; top: 60px; left: 595px; margin: 0px; }
#menu { width: 200px; height: 100%; position: absolute; top: 375px; left: 5px; margin: 0px; background-repeat: repeat; background-color:#000000;}
#main { width: 550px; position: absolute; top: 375px; left: 205px; margin: 0px 0px 0px 0px; background-repeat: repeat; background-color:#000000; padding: 0px 0px 0px 0px;}
a:link, a:visited { color: #e4e100; text-decoration: none; font-weight: bold; border-bottom: 0px solid #ffffff;}
a:hover { color: #ffffff; border-bottom: 0px solid #ffffff; font-weight: bold;}
</style>
</head>
<body>
<div id="content">
<div id="mainbanner">
<TABLE WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=2>
<A HREF="http://futilesoul.com">
<IMG SRC="images/fs.gif" WIDTH=282 HEIGHT=60 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=3>
<A HREF="http://futilesoul.com/?page_id=30">
<IMG SRC="images/bannerad.gif" WIDTH=468 HEIGHT=60 BORDER=0 ALT=""></A></TD>
</TR>
<TR>
<TD COLSPAN=2>
<IMG SRC="images/main1.gif" WIDTH=282 HEIGHT=257 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/main2.gif" WIDTH=308 HEIGHT=257 ALT=""></TD>
<TD ROWSPAN=2>
<IMG SRC="images/textads.gif" WIDTH=160 HEIGHT=315 ALT=""></TD>
</TR>
<TR>
<TD>
<A HREF="http://futilesoul.com">
<IMG SRC="images/home.gif" WIDTH=167 HEIGHT=58 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2>
<A HREF="http://futilesoul.com/?page_id=33">
<IMG SRC="images/portfolio.gif" WIDTH=226 HEIGHT=58 BORDER=0 ALT=""></A></TD>
<TD>
<A HREF="http://futilesoul.com/?page_id=32">
<IMG SRC="images/contact.gif" WIDTH=197 HEIGHT=58 BORDER=0 ALT=""></A></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=167 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=115 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=111 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=197 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=160 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>
</div>
<div id="bannerad">
</div>
<div id="textads">
<div class="textads">
<center><strong><font color="#cccccc"><small>Advertisements</small></font></strong></cemter><br>
<a href="http://twistedtopics.com"><small>Twisted Topics *nfsw*</small></a><br>
<a href="http://theprojectgeek.com/"><small>The Project Geek</small></a><br>
<a href="http://www.freeminimacs.com/?r=15577121"><small>Free MiniMac</small></a><br>
<a href="http://www.freegamingsystems.com/?r=17970243"><small>Free Gaming Systems</small></a><br>
<br><br><br><br>
<a href="http://www.freepsps.com/?r=17970258"><img src="http://i48.photobucket.com/albums/f242/FutileSoul/psp.gif" border="0"></a><br>
<br><br><a href="http://futilesoul.com/?page_id=30"><small>Advertise</small></a>
</div>
</div>
<div id="main">
<!-- S T A R T M A I N C O N T E N T -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<table><tr><td width="550" bgcolor="#252525"> <center><font size="4"> <?php the_date('','<h2>','</h2>'); ?> </font></center></td></tr></table>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark">
<font size="4"><?php the_title(); ?></font>
</a></h3>
<div class="storycontent">
<?php the_content(__('Read More >>')); ?>
</div>
<center><div class="meta">
<?php _e("Filed under:"); ?>
<?php the_category(',') ?> <?php the_author() ?> <?php the_time() ?>
<?php edit_post_link(__('Edit')); ?>
</div> </center>
<div class="feedback" align="right">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!-- <?php // trackback_rdf(); ?> -->
</div>
<!-- E N D O F P O S T -->
<!-- E N D O F P O S T -->
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<?php posts_nav_link(' ', __('« Previous Page'), __('Next Page »')); ?>
<!-- E N D M A I N C O N T E N T -->
</div>
<div id="menu">
<table>
<tr><td width="200" bgcolor="#252525">
<center><h1>Navigation</h1><center></td></tr>
<tr>
<td>
<a href="http://futilesoul.com">Home</a><br>
<a href="http://futilesoul.com/?page_id=33">WebDesign</a><br>
<a href="http://futilesoul.com/?page_id=33">Portfolio</a><br>
<a href="http://futilesoul.com/?page_id=32">Submit Stuff</a><br>
<a href="http://futilesoul.com/?page_id=32">Contact</a><br>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Links</h1><center></td></tr>
<tr>
<td>
<a href="http://digitalnotion.co.uk/phpbb2">DigitalNotion Forums</a><br>
<a href="http://torrancemusic.com">Torrance</a><br>
<a href="http://theclassicstruggle.com">The Classic Struggle</a><br>
<a href="http://burn-the-priest.com/phpBB2">Lamb of God Forums</a><br>
<a href="http://chimaira.com">Chimaira</a><br>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>BlogRoll</h1><center></td></tr>
<tr>
<td>
<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=b3b8a68befa33467e7242b704752b4a7"></script>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Blog of the Week</h1><center></td></tr>
<tr>
<td><center>
<!-- Start of BlogExplosion Rent code -->
<script type="text/javascript" language="javascript">
var rent_siteid="58474";
</script>
<script type="text/javascript" language="javascript" src="http://rentblog.blogexplosion.com/rentblog.js"></script>
<!-- End of BlogExplosion Rent code --></center>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Donate</h1><center></td></tr>
<tr>
<td>
Please make a donation, donations go towards the improvement of my site and hosting.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQ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bL8W38ltMs0pvJDxeV00vJ9fLwWtJGwyModen+EpSgnb3di7acca7NRm7RefxtsNKuPSIPs87kkdBpYaz5jBn4ZaJdgra0Q==-----END PKCS7-----
">
</form>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Meta</h1><center></td></tr>
<tr>
<td>
<?php wp_loginout(); ?>
</td></tr>
<tr><td>
<A HREF="http://blogclicker.com/?username=spud_8350" TARGET="_blank"><IMG SRC="http://blogclicker.com/banners/bc80x15gold.gif" BORDER=0></A>
<br>
<a href="http://lush.solais.net/in.php?id=872" target="_blank">
<img src="http://lush.solais.net/button.php?id=872" border="0" alt="Lush Topsites">
</a>
<br>
<a href="http://www.blogtop100.com/in.php?id=223">
<img src="http://www.blogtop100.com/button.php?id=223" border="0"><br>
<a href="http://www.blogadvance.com/topblogs/">
<img src="http://www.blogadvance.com/topblogs/button.php?u=futilesoul" alt="BlogAdvance Top Blogs" border="0" width="88" height="31" />
</a>
</td></tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
__________________
Please login or register to view this content. Registration is FREE
- The Congregation of Man
|
|
|
|
02-15-2006, 11:55 PM
|
Re: Side bars
|
Posts: 40
|
ok so how does it work without positioning the only other way I can think of is to create cells in the existing table, one on the left and one on the right with the cell height at 100% and the image as a background in those two cells that way when your content expands or shortens the two cells will expand or shorten with the content, but we were talking about css and the only way I see to do it in css is to position it if there's another way Id like to know
|
|
|
|
02-16-2006, 12:09 AM
|
Re: Side bars
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
From what I saw with the way the site was set up you could create a wrapper div around everything say div#page and then positon that using css positioning. In this case the div would just need to be centered in the window.
With everything inside the page div you could use margins. You'd basically be replacing top and left positioning here with margin-top and margin-left. The numbers might have to change since everything would now be inside the positioned page div.
To create the side bars you could then just add a border on the left and right of the page div since it would be extending all the way down the page.
Does that make sense?
You can still use positioning on some of the various elements inside the page div, with the exception of the content that's extending to the bottom of the page. So for futilesoul's site I think it's div#main that contains the content to the bottom of the page and that can't be positioned with css with what I'm suggesting. However the other things like the menu div and the banner div could all be positioned using css. The main div would just use margins to push it down and to the right.
Last edited by vangogh; 02-16-2006 at 12:17 AM..
|
|
|
|
02-16-2006, 12:12 AM
|
Re: Side bars
|
Posts: 383
Location: Michigan
|
i dont really understand,
but i found if i have the bg image on the body at 100% it will go to the bottom of the page, is there a way i could center the bg image of the body?
__________________
Please login or register to view this content. Registration is FREE
- The Congregation of Man
|
|
|
|
02-16-2006, 12:29 AM
|
Re: Side bars
|
Posts: 383
Location: Michigan
|
I DID IT!!!!, well at least in FireFox, my IE wont open for some reason.
Code:
<!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 profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php bloginfo('name'); ?>
<?php if ( is_single() ) { ?>
»Blog Archive
<?php } ?>
<?php wp_title(); ?>
</title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
<style type="text/css" media="screen">
body
{ background-color: #000000; color: #ffffff;
position:absolute;
left:50%;
width:760px;
height:100%;
margin-top:0px;
margin-left:-380px;
padding:15px;
border:none;
background-image: url(images/bg.gif);
background-position:center;
background-repeat: repeat-y;}
#mainbanner { width: 750px; height: 375px; position: absolute; top: 0px; left: 5px; margin: 0px; background-repeat: no-repeat; }
#textads { width: 160px; height: 315px; position: absolute; top: 60px; left: 595px; margin: 0px; }
#menu { width: 200px; height: 100%; position: absolute; top: 375px; left: 5px; margin: 0px; background-repeat: repeat; background-color:#000000;}
#main { width: 550px; position: absolute; top: 375px; left: 205px; margin: 0px 0px 0px 0px; background-repeat: repeat; background-color:#000000; padding: 0px 0px 0px 0px;}
a:link, a:visited { color: #e4e100; text-decoration: none; font-weight: bold; border-bottom: 0px solid #ffffff;}
a:hover { color: #ffffff; border-bottom: 0px solid #ffffff; font-weight: bold;}
</style>
</head>
<body>
<div id="mainbanner">
<TABLE WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=2>
<A HREF="http://futilesoul.com">
<IMG SRC="images/fs.gif" WIDTH=282 HEIGHT=60 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=3>
<A HREF="http://futilesoul.com/?page_id=30">
<IMG SRC="images/bannerad.gif" WIDTH=468 HEIGHT=60 BORDER=0 ALT=""></A></TD>
</TR>
<TR>
<TD COLSPAN=2>
<IMG SRC="images/main1.gif" WIDTH=282 HEIGHT=257 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/main2.gif" WIDTH=308 HEIGHT=257 ALT=""></TD>
<TD ROWSPAN=2>
<IMG SRC="images/textads.gif" WIDTH=160 HEIGHT=315 ALT=""></TD>
</TR>
<TR>
<TD>
<A HREF="http://futilesoul.com">
<IMG SRC="images/home.gif" WIDTH=167 HEIGHT=58 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2>
<A HREF="http://futilesoul.com/?page_id=33">
<IMG SRC="images/portfolio.gif" WIDTH=226 HEIGHT=58 BORDER=0 ALT=""></A></TD>
<TD>
<A HREF="http://futilesoul.com/?page_id=32">
<IMG SRC="images/contact.gif" WIDTH=197 HEIGHT=58 BORDER=0 ALT=""></A></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=167 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=115 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=111 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=197 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=160 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>
</div>
<div id="bannerad">
</div>
<div id="textads">
<div class="textads">
<center><strong><font color="#cccccc"><small>Advertisements</small></font></strong></cemter><br>
<a href="http://twistedtopics.com"><small>Twisted Topics *nfsw*</small></a><br>
<a href="http://theprojectgeek.com/"><small>The Project Geek</small></a><br>
<a href="http://www.freeminimacs.com/?r=15577121"><small>Free MiniMac</small></a><br>
<a href="http://www.freegamingsystems.com/?r=17970243"><small>Free Gaming Systems</small></a><br>
<br><br><br><br>
<a href="http://www.freepsps.com/?r=17970258"><img src="http://i48.photobucket.com/albums/f242/FutileSoul/psp.gif" border="0"></a><br>
<br><br><a href="http://futilesoul.com/?page_id=30"><small>Advertise</small></a>
</div>
</div>
<div id="main">
<!-- S T A R T M A I N C O N T E N T -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<table><tr><td width="550" bgcolor="#252525"> <center><font size="4"> <?php the_date('','<h2>','</h2>'); ?> </font></center></td></tr></table>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark">
<font size="4"><?php the_title(); ?></font>
</a></h3>
<div class="storycontent">
<?php the_content(__('Read More >>')); ?>
</div>
<center><div class="meta">
<?php _e("Filed under:"); ?>
<?php the_category(',') ?> <?php the_author() ?> <?php the_time() ?>
<?php edit_post_link(__('Edit')); ?>
</div> </center>
<div class="feedback" align="right">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!-- <?php // trackback_rdf(); ?> -->
</div>
<!-- E N D O F P O S T -->
<!-- E N D O F P O S T -->
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<?php posts_nav_link(' ', __('« Previous Page'), __('Next Page »')); ?>
<!-- E N D M A I N C O N T E N T -->
</div>
<div id="menu">
<table>
<tr><td width="200" bgcolor="#252525">
<center><h1>Navigation</h1><center></td></tr>
<tr>
<td>
<a href="http://futilesoul.com">Home</a><br>
<a href="http://futilesoul.com/?page_id=33">WebDesign</a><br>
<a href="http://futilesoul.com/?page_id=33">Portfolio</a><br>
<a href="http://futilesoul.com/?page_id=32">Submit Stuff</a><br>
<a href="http://futilesoul.com/?page_id=32">Contact</a><br>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Links</h1><center></td></tr>
<tr>
<td>
<a href="http://digitalnotion.co.uk/phpbb2">DigitalNotion Forums</a><br>
<a href="http://torrancemusic.com">Torrance</a><br>
<a href="http://theclassicstruggle.com">The Classic Struggle</a><br>
<a href="http://burn-the-priest.com/phpBB2">Lamb of God Forums</a><br>
<a href="http://chimaira.com">Chimaira</a><br>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>BlogRoll</h1><center></td></tr>
<tr>
<td>
<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=b3b8a68befa33467e7242b704752b4a7"></script>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Blog of the Week</h1><center></td></tr>
<tr>
<td><center>
<!-- Start of BlogExplosion Rent code -->
<script type="text/javascript" language="javascript">
var rent_siteid="58474";
</script>
<script type="text/javascript" language="javascript" src="http://rentblog.blogexplosion.com/rentblog.js"></script>
<!-- End of BlogExplosion Rent code --></center>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Donate</h1><center></td></tr>
<tr>
<td>
Please make a donation, donations go towards the improvement of my site and hosting.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAhqCjD19TdLYLjO/GqZiGKz5XsBZRJhrcB9OXIljbJ7ADysYgtXatC7WVrI11r3MKfOv7PvbaZxsBWgPqcxOkmCaVWIqHLiYvjBric5cnt1KTJtVcshim1q7YbKwepbfa/bcofK0VP2b7H03uX/XJBsDH2NqblZ0kRhVPehZDKEDELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIdXM1sHpK//SAgaCaGkYvcHcsw6qvtTkSSG4WEiXfRgYUlDgRlLCn9GbYrtFsAzLu6LJ25zaQ+1i0xNm3bf6OytTFxQkcJGYZ0wWXoMUwZMBB7Cd8QH6aN+zTc53IyYn+JlOIr/e2+5j5JB093yMaK1TULV9azGq5t0OGA+z8xISZu3lDv8+aCf7UR84Ygrl5ZRNN3KYI7oTpqiuVpjUhKrn91WXLDBzIeI8HoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAM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zELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDYwMjE1MjIyOTMwWjAjBgkqhkiG9w0BCQQxFgQU22GXlNsvO3hyW2Wt8vBIP+JsLlIwDQYJKoZIhvcNAQEBBQAEgYAHdtMtZmvi05ppvB+FtJuIGWd8BKnS0FVgSCvFH6i2qYp4Iz5H39llT75E5xfe2kVKsf2kXrM5DcPbL8W38ltMs0pvJDxeV00vJ9fLwWtJGwyModen+EpSgnb3di7acca7NRm7RefxtsNKuPSIPs87kkdBpYaz5jBn4ZaJdgra0Q==-----END PKCS7-----
">
</form>
</td></tr>
<tr><td width="200" bgcolor="#252525">
<center><h1>Meta</h1><center></td></tr>
<tr>
<td>
<?php wp_loginout(); ?>
</td></tr>
<tr><td>
<A HREF="http://blogclicker.com/?username=spud_8350" TARGET="_blank"><IMG SRC="http://blogclicker.com/banners/bc80x15gold.gif" BORDER=0></A>
<br>
<a href="http://lush.solais.net/in.php?id=872" target="_blank">
<img src="http://lush.solais.net/button.php?id=872" border="0" alt="Lush Topsites">
</a>
<br>
<a href="http://www.blogtop100.com/in.php?id=223">
<img src="http://www.blogtop100.com/button.php?id=223" border="0"><br>
<a href="http://www.blogadvance.com/topblogs/">
<img src="http://www.blogadvance.com/topblogs/button.php?u=futilesoul" alt="BlogAdvance Top Blogs" border="0" width="88" height="31" />
</a>
</td></tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
__________________
Please login or register to view this content. Registration is FREE
- The Congregation of Man
|
|
|
|
02-16-2006, 10:10 AM
|
Re: Side bars
|
Posts: 383
Location: Michigan
|
It works in IE,
if anyone has Safari or Opera can you tell me if it is alright in those browsers?
thanks
__________________
Please login or register to view this content. Registration is FREE
- The Congregation of Man
|
|
|
|
02-16-2006, 08:36 PM
|
Re: Side bars
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
Glad you got it working. I guess there's always more than one way to solve any problem.
It's working in Opera 8 on my XP laptop. I don't have safari to test, but you can check how it looks in safari at the following site.
http://snugtech.com/en/safaritest/
|
|
|
|
|
« Reply to Side bars
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|