0

So I'm creating a website, here it is: http://www.testeeee.cixx6.com/

And I can't put the site_contente, and the content and sidebar (this 2 are inside site_contente) 100% height.

Basically I want the content and the sidebar to be 100% no matter what. And when the content on content div is more than 100%, I want it to scroll, I mean, only scroll on content scroll.

Example of what I want:

https://i.stack.imgur.com/i2rid.jpg

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

2 Answers2

1

Based on what you submitted, you'll need to user an iframe. However, you may be referring to something like this: How might I force a floating DIV to match the height of another floating DIV?

Community
  • 1
  • 1
user1721634
  • 19
  • 1
  • 5
0

to set scroll in a DIV use the style properties

overflow:scroll|auto
overflow-x: scroll|auto
overflow-y: scroll|auto

for sizeing I think you are answered

Edit ¿have you even tried???:

Copying from the question that was refered in other answer:

<DIV id="site_content" >

<DIV id="content" style="float : left; width :65%; height:auto;background-color:#FDD017;">
</DIV>

<DIV id="side_bar" style="float : left; width :35%;height:auto; background-color:#FDD017;">
</DIV>

</DIV>
Mitch Bukaner
  • 171
  • 13