trouble working on a CSS layout

Discussion in 'CSS' started by burningcode, Nov 30, 2008.

  1. #1
    hi. i'm definitely new to CSS although i've been coding sites for a while. i'm working on this web site for my company and i have no clue how to get the result i'm looking for.

    first, have a look at the current version of the site: www.sstrock.com

    right now, all the elements are position: absolute. what i'd like to do is have the layout stretch so that the whole page will scroll, instead of having an inner-scroll (look at the longer pages to see what i mean).

    i'm envisioning something like what's possible with an HTML table, where there's three rows, and the background image of the middle row is a 1px tall image that connects the top and bottom rows visually.

    one problem is the links at the bottom which i have blank images stretched to the appropriate size and position: absolute. the actual images you see are part of the background image.

    if anyone can offer some advice, i'd really appreciate it. thanks.
     
    burningcode, Nov 30, 2008 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    One quick question. Do you intend for this to be a fixed or constrained-width liquid-elastic width layout?
     
    Dan Schulz, Nov 30, 2008 IP
  3. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    fixed width. there's no need to make it go wider or thinner than it already is.
     
    burningcode, Dec 1, 2008 IP
  4. 007c

    007c Peon

    Messages:
    611
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Looks like you have a cookie cutter site. Better to redo it all than mess around with that mess.
     
    007c, Dec 1, 2008 IP
  5. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well yes :) i would like to re-do it all. not a big deal since it only took me a few days to code it. i just don't know how to re-do it better.
     
    burningcode, Dec 1, 2008 IP
  6. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Bah, give me a few days (need to finish my current work load first) and I'll do it for free - and show how it was done step by step (yes, I'll write a personalized custom tutorial). I need to freshen up some of my more advanced CSS skills anyway. :cool:
     
    Dan Schulz, Dec 1, 2008 IP
  7. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    dan, that sounds too good to be true! i really don't want to have to resort to tables if possible. i would really like to understand some more advanced css stuff, too. thanks for your help.
     
    burningcode, Dec 1, 2008 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    This will be pure HTML/CSS. Or XHTML (albeit served as text/html) if you prefer.
     
    Dan Schulz, Dec 1, 2008 IP
  9. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    probably XHTML? the more trendy/updated the better..
     
    burningcode, Dec 1, 2008 IP
  10. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #10
    In that case you'll want HTML 5 when it becomes a working specification in about 10 years...

    Let me put it to you this way. If you're not going to be using a content management system or other Web application that already uses XHTML (in other words, if you're not using a server-side programming language like PHP), chances are you'll want to stick to HTML 4.01 Strict.
     
    Dan Schulz, Dec 1, 2008 IP
  11. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    makes sense to me!
     
    burningcode, Dec 1, 2008 IP
  12. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    hey dan, are you still interested in helping me out? it would save me a huge headache.
     
    burningcode, Dec 10, 2008 IP
  13. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    moderator please delete this post.
     
    burningcode, Dec 23, 2008 IP
  14. burningcode

    burningcode Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    moderator please delete this post. any moderators out there?
     
    burningcode, Dec 29, 2008 IP