View Full Version : how do i make my content not go below my sidebars

02-25-2008, 06:33 AM
I have a photo gallery on my website and when it gets below my right sidebar it just moves under it. Could anyone tell me how to fix this?

02-25-2008, 06:36 AM
Could you wrap your codes...or better a link :D

02-25-2008, 07:31 AM
We need to see your code. Most of us are not psychic!


02-25-2008, 12:18 PM
Most of us are not psychic!Although some of us are psychiatric. :~) - No names no pack drill.

Your gallery should be in a div and your right content should be in another div both divs should either be floated or positioned side by side. The divs should be given widths either in pixels, or in percentages if you want a fluid layout.

02-25-2008, 12:54 PM
True that. Have the whole lot in a div and have the center content in another div seperate to the sidebars. That shouldn't allow the center content to cross the line to the left or right.

02-25-2008, 04:05 PM

02-25-2008, 04:14 PM
The best thing to do is wrap the pictures with a div and set a certain width to that column. That way it wont go under the left hand menu!!



if you have any other questions let me know

02-25-2008, 04:39 PM
that made everything even but now all of the pictures are under the left menu

02-25-2008, 04:53 PM
ok, make your left menu div float left and clear left!! Or do you have that yet?

02-25-2008, 05:01 PM
I have float left but not clear left what is the code for that because i tried


#leftsidebar {
clear: left;

that did not work

02-25-2008, 06:09 PM
Quickest way if you like, zip up a copy of your html and css's and I can post it back 2 u after it works properly :)

02-25-2008, 06:16 PM
Here are the files to that page

02-26-2008, 12:48 AM
Wrapping them in one div should do the fix. Attached is the zipped file.

See if it helps :D

02-26-2008, 01:05 AM
hey, do sumthing like that on you picture wrapper, i dont think your picture warapper was wide enoght for the pictures so it had to move them down!

#pictureWrapper{width:840px; float:right;}

if it works use the thank user button ! thanks

02-26-2008, 04:02 PM
Wot! No DOCTYPE Rangana


02-27-2008, 12:53 AM
I thought he was only asking for the help regarding the sidebars...so I did not mind on the doctypes.. :D

My apologies :D

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum