Skip navigation
Currently Being Moderated

positioning div tags

Apr 27, 2013 11:18 PM

Hello Dreamweavers


I’m practicing using  Div Tags, and I have added 2 boxes. My initial thought was how can I have these boxes  to be side by side. Having the blue on the left and the aqua box to the right. So I made the box1_blue

and was inserted to the upper left corner. And then the box2_aqua was positioned beneath the blue. So As I was playing around with the box properties the box2_aqua suddenly moved to the upper right hand corner,exactly where I wanted it to be, but I don’t understand how it got there!







#box1 {

          background-color: #00F;

          height: 200px;

          width: 300px;

          float: left;


#box2 {

          background-color: #0FF;

          height: 200px;

          width: 300px;

          float: right;


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points