How To Make Page Variable In Height

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jasdak@gmail.com

    How To Make Page Variable In Height

    i want to programatically make my page of varying height based on the
    content. if you go to trinadoula.com you will see what i am talking
    about. you'll see the mid section of the page is a bar that could be
    stacked on top of itself over and over in a loop to make a variable
    height page. how can i use php to analyze how tall the content is
    (i.e. the text, or images) and then loop a image bar on top of itself
    to make the page different heights? thanks for help! -jason

  • Jerry Stuckle

    #2
    Re: How To Make Page Variable In Height

    jasdak@gmail.co m wrote:[color=blue]
    > i want to programatically make my page of varying height based on the
    > content. if you go to trinadoula.com you will see what i am talking
    > about. you'll see the mid section of the page is a bar that could be
    > stacked on top of itself over and over in a loop to make a variable
    > height page. how can i use php to analyze how tall the content is
    > (i.e. the text, or images) and then loop a image bar on top of itself
    > to make the page different heights? thanks for help! -jason
    >[/color]

    You can't be sure of the size of the content. For instance, I may use a
    larger or smaller font than you expect. Or I may not have the default
    font on my system. Either case can affect the size on my screen.

    Basically you have no control over how it looks on my screen. All you
    can do is make recommendations .

    Rather, rethink your HTML and check groups like alt.html to figure out
    how to make your page adjust itself.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    Working...