...

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



gtd
02-25-2008, 07: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?

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

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

Frank

Donkey
02-25-2008, 01: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.

outseeker
02-25-2008, 01: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.

gtd
02-25-2008, 05:05 PM
http://www.noahsrealm.com/gallery_dec.html

jcdevelopment
02-25-2008, 05: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!!

like



#pictureWrapper{
.....
width:500px;
....
}


if you have any other questions let me know

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

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

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

code:

#leftsidebar {
clear: left;
}

that did not work

outseeker
02-25-2008, 07: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 :)

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

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

See if it helps :D

maxvee8
02-26-2008, 02: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

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

Frank

rangana
02-27-2008, 01: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