HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 9th, 2012, 02:00 PM
fuchsia555 fuchsia555 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 12 fuchsia555 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 19 m 47 sec
Reputation Power: 0
Why can't be in two columns ?

Hello Dears
I need help in having two columns in my website , i don't know why it can't be done
i tried everything with table and div and css ,, but it appears on column is down and the another is up
it's so strange !!!!!!!! i tried also valign and top in css but it doesn't work

here is an example for my website http://videos.play35.com/funniest-security-footage-of-idiot-car-crash/

the problem that is under the video
i want to make the Description and the Ad 300x250 in two columns but as you see , the description is down and the ad is up !!!!!!



I appreciate your help

Thanks

Reply With Quote
  #2  
Old August 12th, 2012, 09:41 PM
elkehinze's Avatar
elkehinze elkehinze is offline
The Queen of Typos
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Sep 2004
Location: San Clemente
Posts: 1,471 elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level)elkehinze User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 5 h 31 m 29 sec
Reputation Power: 189
Send a message via ICQ to elkehinze Send a message via AIM to elkehinze Send a message via MSN to elkehinze Send a message via Yahoo to elkehinze Send a message via Skype to elkehinze
Facebook
The page was not found when I looked.

What you need to do is float your containers to make the columns. In addition to floating them you will want to specify a width for the container. If the width of the containers is wider than the available space, one of them will get pushed down, like what you're describing. Things like padding and margins will affect the width due to the box model.

A few resources for you:

CSS Float
CSS Float Theory: Things you should know
The CSS Box Model

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Why can't be in two columns ?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap