Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Argh :(

  1. #1
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default Argh :(

    Ok, so I'm coding a layout!

    http://www.zocorp.com/minigolf/

    However, if you are using Firefox (like you should!), you will see that it's broken. The grassy bit should be at the bottom, instead of halfway up the page. I have no idea what I'm doing wrong, and I've looked over the problem for at least fifteen minutes now. Any help would be gladly appreciated!

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    it's like that for Safari too.
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  3. #3
    Join Date
    May 2007
    Location
    Nebo, NC, USA
    Posts
    2,517
    Tokens
    0

    Latest Awards:

    Default

    add:

    Code:
    position: absolute;
    bottom: 0px;
    to footer.

  4. #4
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice, View Post
    add:

    Code:
    position: absolute;
    bottom: 0px;
    to footer.
    Don't do that, as if the page has to scroll, then the footer will look stupid.

  5. #5
    Join Date
    May 2007
    Location
    Nebo, NC, USA
    Posts
    2,517
    Tokens
    0

    Latest Awards:

    Default

    Well why not show him what to do then?

  6. #6
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    clear: both;

  7. #7
    Join Date
    Oct 2006
    Location
    London
    Posts
    342
    Tokens
    0

    Default

    .grass {
    background-image:url(../images/grass.png);
    background-repeat:repeat-x;
    clear:both;
    height:53px;
    }

    Just saw it was said above. Use FireBug addon for firefox. It will let you inspect elements on a page, edit them etc without changing the page its self.




    You can find problems easily and find out what is causing them, e.g inherited property.

  8. #8
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    Thanks, I downloaded it, and love it so far I mean, I mainly develop things locally anyway, but still, it's great to see how the DOM is working etc.

    Speaking of Dentrafrice's suggestion, another thing I need to work out how to do, is make the grass and footer sit at the bottom of the page. I played around with the position: tags that he suggested, but it just made it look weird...

  9. #9
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    Ignore the above post, found a solution!

    http://matthewjamestaylor.com/blog/k...om-of-the-page



    EDIT: Wait, it now stuffs up when scrolling. Great...
    Last edited by Beau; 13-11-2007 at 08:00 AM.

  10. #10
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Did you find out how to do it?

Page 1 of 2 12 LastLast

Posting Permissions

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