1 reply [Last post]
Degran
Offline
newbie
Last seen: 10 years 1 week ago
Timezone: GMT-6
Joined: 2010-06-29
Posts: 1
Points: 2

Hey there, so I've got a 3 col layout I'm working with but the content in the left column is pushing all the center content down so it doesn't start until the left columns content ends. I know there's a fairly simple fix for this I just can't seem to remember what it is, I just want to move the center content back up ~300px so it's level with everything else. If anyone can point out what I'm missing that'd be greatly apprecited.

CSS:

#sidebar_left {
 
	width: 170px;
	background-color: #fcfcfc;
	border: 1px solid #a6a6a6;
	padding: 10px;
	position:relative;
	float: left;
 
 
}
#sidebar_center {
	background-color: #fcfcfc;
	border: 1px solid #a6a6a6;
	margin: 0px 115px 5px 200px;
	position:relative;
	padding: 10px;
 
}
#sidebar_right {
 
	width: 85px;
	background-color: #fcfcfc;
	border: 1px solid #a6a6a6;
	padding: 10px;
	float: right;
	position:relative;
 
}

(I've tried it with absolute positioning too but that didn't fix it)

HTML:

<div class="rounded-corners" id="sidebar_left">
			<div id="colHead">Services</div><div id="hr"></div>
			<a href="#"><img src="../wordpress/filepath"></img></a>
			<br></br>
			<div id="colHead">Clients</div><div id="hr"></div>
			<a href="#"><img src="../wordpress/filepath"></img></a>
			<br></br>
			<div id="colHead">Video of the Week</div><div id="hr"></div>
			<p>
		</div>
		<div class="rounded-corners" id="sidebar_right">
			<div id="colHead">Events</div><div id="hr"></div>
			<?php get_sidebar('semp'); ?>
			<br></br>
			<br></br>
			<br></br>
			<div id="colHead">Newsletter</div><div id="hr"></div>
			Each issue contains reviews of books/articles, handy gadgets, cool websites, and other nuggets of useful information.
			<br></br>
			<a href="#">Sign Up Now!</a>
		</div>
		<div class="rounded-corners" id="sidebar_center"  style="padding-top:-200px;">
		<?php while (have_posts()) : the_post(); ?>
		<div <?php post_class() ?>>
				<div class="entry">
					<?php the_content() ?>
				</div>
 
			</div>
 
		<?php endwhile; ?>
		</div>
 
</div> 		

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 43 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

got a link? if no link,

got a link? if no link, provide the code without the php.