Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2006
    Location
    United States
    Posts
    575
    Tokens
    0

    Default [+REP] How do i...??

    How do i make it so that a banner stays on the top?

    Like if you go to www.uploadz.co.uk they have their banner that takes up the whole top no matter what screen resolution you're set at. I seen it somwhere on the forum but I've looked and I can't find it..

    THANKS! ;]

    Ps. Don't say "google it" because i have...
    Last edited by Jaysir; 15-05-2007 at 11:51 PM.


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

    Latest Awards:

    Default

    Code:
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    }
    p {
    margin-left: 10px;
    }
    body {
    margin: 0px;
    }
    #head {
    background-image:url(http://www.uploadz.co.uk/beta_04_images/head.png);
    width: 99&#37;;
    height: 65px;
    padding-top: 10px;
    padding-left: 1%;
    }
    #shadow {
    background-image:url(http://www.uploadz.co.uk/images/shadow.png);
    width: 70%;
    height: 30px;
    float: left;
    margin-bottom: 20px;
    }
    a {
    color: #285D93;
    }
    -->
    </style>
    <body>
    <div id="head"><a href="index.php"><img src="http://www.uploadz.co.uk/beta_04_images/logo1.gif" alt="Uploadz it!" border="0" /></a></div>
    <div style="background:url(http://www.uploadz.co.uk/beta_04_images/shadow.png); height: 30px; width: 100%; margin-bottom: 30px;"></div>
    </body>

  3. #3
    Join Date
    Feb 2005
    Location
    Sheffield
    Posts
    2,288
    Tokens
    1,686

    Latest Awards:

    Default

    Set the width to 100% and have the background repeating across (repeat-x)

  4. #4
    Join Date
    Sep 2006
    Location
    United States
    Posts
    575
    Tokens
    0

    Default

    I seen that in their code, but i'm not quite sure how to understand it.. I'll have a go at it . Thanks. Dentafrice. [ offtopic- why'd you get banned? ]


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

    Latest Awards:

    Default

    Quote Originally Posted by Jaysir View Post
    I seen that in their code, but i'm not quite sure how to understand it.. I'll have a go at it . Thanks. Dentafrice. [ offtopic- why'd you get banned? ]
    Some "word i wont use" staff.

    All for this line:

    Mad gets whipped by his mum

  6. #6
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Quote Originally Posted by Jaysir View Post
    I seen that in their code, but i'm not quite sure how to understand it.. I'll have a go at it . Thanks. Dentafrice. [ offtopic- why'd you get banned? ]
    His sig might partly explain it perhaps

Posting Permissions

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