Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help With A Stretch Page...

    Here's What My Site Looks Like Not Stretched:

    http://www.wrestlinganswers.com/main/index2.html

    Here's What My Site Looks Like Stretched:

    http://www.wrestlinganswers.com/main/index3.html

    Here's What I Want My Site To Look Like Stretched:

    http://www.wrestlinganswers.com/main/example.jpg

    This Is My First 'Non-Amateurish' Site That I Have Actually Coded Entirely Myself, I Was Wondering If Anyone Had Any Ideas/Tutorials On How I Could Fix This Problem?

  • #2
    Regular Coder
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    375
    Thanks
    0
    Thanked 0 Times in 0 Posts
    They all look the same to me.

  • #3
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Hmmm,

    I don't know what you mean by stretched. Do you mean that if the window is narrowed, that your site will narrow as well (ie, your site is fliud)?

    Bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #4
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah, Fluid Is What I Mean. I Couldn't Think Of The Right Word.

  • #5
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anyone?

  • #6
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    well, your examples don't help me much with undertsanding your difficulty because as said by jscheuer1, "they all look the same to me". OK the third is different (thinner), but I don't fully understand how they describe this 'problem'.

    It looks like you have this page built within a table , which if so, is why it has the whitespace on each side. If you use the window as the container, then use floating 'divs' you'll begin to see how to design a fluid, or more fluid, site. As the resolution becomes changed by the user, the floating divs can always position themselves relative to the sides of the window.

    nothing against tables but, leave them out of normal web design and you'll gradually find coding easier. That's my experience anyway, and I'm nothing like expert as other guys here.


    Bazz
    Last edited by bazz; 08-24-2005 at 02:53 PM.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #7
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Okay Thanks, Someone Else Told Me To Try Tables And It Didnt Seem To Work, I Will Research Some Fluid Tuts.

  • #8
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    don;t forget to make sure you have a DOCTYPE at the top of your html file. Then the browser will know what way you want it to present the page, rather then it thinking it knows what you want it to do. see the sticky at the top of this forum.

    Also your fluid divs could layout like...

    <body>

    <div id="first">stuff here</div>
    <div id="second">stuff here</div>
    <div id="third">stuff here</div>

    </body>

    Then tell the div how to behave with CSS like

    #first {
    float : left;
    width : 25%;
    background-color: #aaaaaa; /* the darker grey one */
    }

    #second {
    float : right;
    background-color: #cccccc; /* the lighter grey one*/
    width : 25%;
    }

    #third {
    margin : auto auto;
    width : 40%;
    background-color: #ffff80; /*the other colour */
    }

    That should give you three boxes of differing shapes in your page of two shades of grey and one of (I think), red.
    not tested but I think it should give you the idea of how to CSS and of the simplicity of the html structure when used with CSS

    Bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

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