How to resize the bodycontent at runtime

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phanimadhav
    New Member
    • Jun 2007
    • 78

    How to resize the bodycontent at runtime

    Hello friends this is sudheer.I need your help for developing my project.Actuall y myproblem is if i Restore Down the mybrowser my pagebody content i am not clearly see the all the content.That time scroll will appear.But according to my client requirement is the body of the all the content will appear only with in the page at the page ResoreDown time.Please help me.(please try to understand my poor english)
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Well, if you need to scroll down to read the content, then this means either your content is too much for a page to show in one screen, or you are using a wrapper to shrink your page to a fixed width.

    If the case is that you have much content, then just reduce the font size and other things, (make sure its legible).

    If the case is that you have fixed width, then remove the wrapper, and just let it be a liquid site.

    If you want to do it dynamically with JavaScript, then you need to have a look at availWidth and style.width.

    Comment

    Working...