HTML Help
HTML Help Central . com

» Online Users: 45

1 members and 44 guests
Most users ever online was 695, 02-16-2011 at 07:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2003
    Location
    I live in a world of hate.
    Posts
    434

    Unhappy Regarding <style="background-image:url('......

    ok first off thanks to all the guys that gave me help with some html... but i have a question as you can see on this page.... www.kustommods.com/likenota/purp/index.php the grey image is being repeated like soo many times!! how wud i make it so i can do several different images where those grey boxes is ? going across ?....


    heres where the problem prevails... the image link_ltp.jpg is the image where it repeats left to right....

    <table style="z-index: 1; position: absolute; LEFT: 138px; TOP: 125px;" width="449px"cellpadding="0"cellspacing="0">
    <tr>
    <td style="background-image:url('imgs/main_headr.jpg');"width="449px"height="16px">
    </td>
    </tr>
    <tr>
    <td style="background-image:url('imgs/link_ltp.jpg');background-repeat: repeat-none; background-attachment: fixed;">
    sdfg
    </td>
    </tr>
    <tr>
    <td style="background-image:url('imgs/main_btp.jpg');"width="449px"height="21px">
    </td>
    </tr>
    </table>
    <table style="z-index: 1; position: absolute; LEFT: 138px; TOP: 125px;" width="449px"cellpadding="0"cellspacing="0">
    <tr>
    <td style="background-image:url('imgs/main_headr.jpg');"width="449px"height="16px">
    </td>
    </tr>
    <tr>
    <td style="background-image:url('imgs/link_ltp.jpg');">
    sdfg
    </td>
    </tr>
    <tr>
    <td style="background-image:url('imgs/main_btp.jpg');"width="449px"height="21px">
    </td>
    </tr>
    </table>

  2. #2
    Join Date
    Dec 2003
    Location
    I live in a world of hate.
    Posts
    434
    this would be amazing if there was anyway i can fix it without using divs!!

  3. #3
    Join Date
    May 2002
    Location
    Kansas City, Missouri
    Posts
    148
    should just be able to use multiple columns (td tags) in that row and set them to the width you want and give each a different background

  4. #4
    Join Date
    Aug 2003
    Posts
    1,464
    this would be amazing if there was anyway i can fix it without using divs!!
    Code:
    <style type="text/css">
    .summat, .summat li{
    margin:0;
    padding:0;
    list-style:none;
    }
    
    .summat li{
    display:block;
    width:whatever;
    height:whatever;
    float:left;
    }
    
    .summat li span{
    display:none;
    }
    
    .one{
    background:url(img/a_pic1.jpg) center center no-repeat;
    }
    
    .two{
    background:url(img/a_pic2.jpg) center center no-repeat;
    }
    
    .three{
    background:url(img/a_pic3.jpg) center center no-repeat;
    }
    
    .four{
    background:url(img/a_pic4.jpg) center center no-repeat;
    }
    
    .five{
    background:url(img/a_pic5.jpg) center center no-repeat;
    }
    
    .six{
    background:url(img/a_pic6.jpg) center center no-repeat;
    }
    </style>
    Code:
    <ul class="summat">
    <li class="one"><span>block 1</span></li>
    <li class="two"><span>block 2</span></li>
    <li class="three"><span>block 3</span></li>
    <li class="four"><span>block 4</span></li>
    <li class="five"><span>block 5</span></li>
    <li class="six"><span>block 6</span></li>
    </ul>
    Not a div in sight :|

    I may have opened the door, but you entered of your own free will
    Blog - Spam Trap -Blogrums

  5. #5
    Join Date
    Dec 2003
    Location
    I live in a world of hate.
    Posts
    434
    ight ill give it a try. thanks for the reply. . ("Always reliable; Always Accurate - YabBa EntertainMent") thx YabBa.

  6. #6
    Join Date
    Dec 2003
    Location
    I live in a world of hate.
    Posts
    434
    crap.... by any chance is there anyway i can do it without divs and without style css code ?...

  7. #7
    Join Date
    Apr 2005
    Location
    Upland, CA
    Posts
    1,031
    Why without CSS whats wrong with it?
    Chris

    Computers are like Air Conditioners..
    Once you open windows they both stop working.
    Updated Links

    My Blog | MadReligion | My facebook | Twitter

    Windows has Written There Code to fail!! Save YourSelf.. Go Linux!!

Similar Threads

  1. Replies: 1
    Last Post: 07-23-2007, 01:05 PM
  2. style="cursor:hand;"
    By sbhmf in forum HTML / XHTML / XML
    Replies: 3
    Last Post: 07-31-2003, 05:21 PM
  3. Style Sheets with image background?
    By SlimJim in forum HTML / XHTML / XML
    Replies: 1
    Last Post: 09-30-2002, 06:49 PM
  4. Changing standard Window "Submit" button to an image
    By alphasisgraphic in forum HTML / XHTML / XML
    Replies: 2
    Last Post: 09-12-2002, 02:47 PM
  5. can i use the style tag to cetner a background?
    By socket404 in forum HTML / XHTML / XML
    Replies: 2
    Last Post: 10-05-2001, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1