Jump to content

css floating div help


Crusader

Recommended Posts

Hey everyone!

Hope you're all having a good Tuesday Anyway, I need some help getting a div to float up underneath the second box on the far right hand side column.

The div should be rendered last (the div code should be just before the close of the body tag) but show up at the top like in the attached image.

This is the original: http://www.nearfantastica.com/blue/

I'd appreciate any help! THanks.

[attachment deleted by admin]
Link to comment
https://forums.phpfreaks.com/topic/19852-css-floating-div-help/
Share on other sites

well the best option would be to create the classsic three column layout and then all the items you want on the left put in the div floated left and all the item syou want on teh right put in the div floated right

[code]
<body>
<div id="wrapper">
  <div id="left">
  \\all the bots on the left
  </div>
  <div id="right">
  \\ all the bist in the right panel
  </div>
  <div id="cont>
  \\ all the content
  <div class="clear">
  </div>
  </div>
</div>
</body>
[/code]

css...

#left {
float: left;
}

#right {
float: right;
}

.clear {
clear: both;
}
Link to comment
https://forums.phpfreaks.com/topic/19852-css-floating-div-help/#findComment-87054
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.