Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    1
    Member #
    3830
    Hey everyone, I want to make my graphics stretch across like the below site, I used to know the coding but cant find it anywhere.

    Hope you can help a newbee:bandit:

    www.modbee.com

  2.  

  3. #2
    Senior Member rosland's Avatar
    Join Date
    Jul 2003
    Location
    Norway
    Posts
    1,944
    Member #
    2096
    Don't know if this is what you mean, but JR wrote a tutorial on liquid layout.
    S. Rosland

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Actually, this is a fairly simple trick. The only thing you need to do is use fixed widths for your static images and a liquid (percentage) width for the "white" (red) space in between with a 1x1 pixel clear graphic.

    Something like this:
    Code:
    <TABLE WIDTH="100%">
    <TR>
    <TD WIDTH="150"><IMG SRC="/somelogo.gif" width="150" height="90"></TD>
    <TD WIDTH="100%"><IMG SRC="/clear.gif" WIDTH="1" height="1"></TD>
    <TD WIDTH="200"><IMG SRC="/rightsidegraphic.gif" WIDTH="200" height="90"></TD>
    </TR>
    </TABLE>
    You will find that you will have to make sure that there are no spaces between your opening table tag and your image. This will avoid ugly white space and issues of spacing and formatting. So make sure you space your stuff out right.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    Senior Member dotcommakers's Avatar
    Join Date
    Oct 2003
    Posts
    527
    Member #
    3342
    Liked
    1 times
    here is the correction


    Ecode:--------------------------------------------------------------------------------
    <TABLE WIDTH="100%">
    <TR>
    <TD WIDTH="150"><IMG SRC="/somelogo.gif" width="150" height="90"></TD>
    <TD WIDTH="100%"><IMG SRC="/clear.gif" WIDTH="1" height="1"></TD>
    <TD WIDTH="200"><IMG SRC="/rightsidegraphic.gif" WIDTH="200" height="90"></TD>
    </TR>
    </TABLE>
    --------------------------------------------------------------------------------




    Code:
    <TABLE WIDTH="100%">
    <TR>
    <TD WIDTH="150"><IMG SRC="/somelogo.gif" width="150" height="90"></TD>
    <TD WIDTH="100%" background="/clear.gif">& nbsp;</TD>
    <TD WIDTH="200"><IMG SRC="/rightsidegraphic.gif" WIDTH="200" height="90"></TD>
    </TR>
    </TABLE>


  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I'm not sure why you're quoting my code exactly, but either example will work. I just find that my example seems to be more Netscape-friendly for whatever reason, hence the post.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com