SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    always learning . . .
    Join Date
    Nov 2003
    Location
    UK
    Posts
    821
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    weird relative streching

    hi guys,
    I have problem, i could start again and do what i need to achieve but incase happens again i want to know whats causing the problem!

    i have a top row say 100 pixels
    bottom row 100 pixels
    and a row between needs to stretch so top is always top of screen and bottom always at bottom! however it aint working, I have done this before when centering flash and worked fine and if i started again prob would work! but what is the problem im facing ? incase it happens again.

    http://www.im.sizemik.co.uk/relative/messing.htm

    i need the part where content is the be the relaative stretching part!

    Im really puzzeled as when i center flash use the same idea in tables to get it centered!

    PS. my mates tampered with the look, but for now wondering why it wont stretch

  2. #2
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I get a 404 not found on your URI. [edit] now working

    And how many wierd relatives do you have that need stretching? Just curious.
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.

  3. #3
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you validate your code - I've done so at http://htmlhelp.com/cgi-bin/validate...m&warnings=yes

    you'll find this:
    # Line 22, character 28:

    <table width="100%" height="100%" border="1" cellpadding="0" ...
    ^

    Error: there is no attribute HEIGHT for this element (in this HTML version)
    So what you're trying to is unlikely to give you the result you want.

    Would it be possible to separate out the copyright line into another table and use CSS to style that to the bottom of the viewport?
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.

  4. #4
    always learning . . .
    Join Date
    Nov 2003
    Location
    UK
    Posts
    821
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeh prob easiest thing to do cheers! guys, thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •