|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2/6/2007 10:16:55 AM
Posts: 21,
Visits: 30
|
|
| I don't know CSS very well, but I used the code from someone else on this forum to try the 2 column layout with the divs, it's pretty good! Here's my code .contentdivone { float:left; width:400px; } .contentdivtwo { float:left; width:150px; }
This works great, but my problem here is when I make the window smaller the contentdivtwo moves below contentdivone. What I want is a scroll bar to appear so that the two columns are always next to each other. Any ideas?
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 2/8/2007 8:41:42 AM
Posts: 45,
Visits: 35
|
|
| Oh, you just need to put a container div around the two divs. So something like <div id="container"> <div id="leftside" class="contentdivone">Something</div> <div id="rightside" class="contentdivtwo">Something else</div> </div> Should work for you fine.
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 2/18/2007 12:58:12 PM
Posts: 36,
Visits: 4
|
|
| Cool I've learnt something new today.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/4/2009 4:09:13 PM
Posts: 1,
Visits: 2
|
|
| Yeah. Cool for a beginner.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/28/2009 7:55:34 AM
Posts: 8,
Visits: 2
|
|
| Tennessee Technology Center is below Programming Help lol why pay tuition when I learn more here?thanks for the pointer
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/26/2010 3:57:48 AM
Posts: 1,
Visits: 1
|
|
Can you please place some image so we can see right away how it is display in the browser
free essays
|
|
|
|