Need Help :)

Discussion in 'CSS' started by tiatia252, Nov 1, 2008.

  1. #1
    I think it's simple, what i want is this
    [​IMG]

    and actually what i get is this
    [​IMG]

    Code i use

    .Box {
    margin: 0 0 10px 0;
    padding: 4px 4px 4px 4px;
    width: 162px;
    background: #151515 url(images/box.jpg) repeat-x left top;
    border: 1px solid #fff;
    }
    .Box-Title {
    width: 160px;
    height: 15px;
    padding: 7px 0px 4px 0px;
    background: #151515 url(images/box-title.gif) repeat-x;
    text-align: center;
    border: 1px solid #fff;
    color: #555;
    font-weight: bold;
    }
    .Spacer {
    float: left;
    width: 17px;
    height: 120px;
    margin: 10px 0;
    padding: 4px;

    Any idea why the image from the box-title wont show up ?

    Thanks!
     
    tiatia252, Nov 1, 2008 IP
  2. Dimmo

    Dimmo Well-Known Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    126
    #2
    Try adding,

    position:relative;
    Code (markup):
    on each div and then,

    z-index:1;
    Code (markup):
    on .Box-Title
     
    Dimmo, Nov 2, 2008 IP
  3. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    post your html too please
     
    garrettheel, Nov 2, 2008 IP
  4. skateme

    skateme Peon

    Messages:
    162
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Also make sure your box title image exists :D
     
    skateme, Nov 2, 2008 IP
  5. witsols

    witsols Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    check your html code. do you write the flash code in your html file.



    <tr>
    <td><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH="780" HEIGHT="168" id="logo" ALIGN="">
    <param name="wmode" value="transparent">
    <PARAM NAME=movie VALUE="logo.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="logo.swf" quality=high bgcolor=#FFFFFF WIDTH="780" HEIGHT="168" NAME="logo" ALIGN=""
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent"></EMBED>
    </OBJECT></td>
    </tr>


    Zubair.
     
    witsols, Nov 4, 2008 IP
  6. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ^ a code tag might be a good idea here..
     
    garrettheel, Nov 4, 2008 IP
  7. steelfrog

    steelfrog Peon

    Messages:
    537
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Post the HTML source so we can debug it properly. It's hard to complete the puzzle without some of the pieces. ;)
     
    steelfrog, Nov 5, 2008 IP
  8. tloosle

    tloosle Active Member

    Messages:
    460
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #8
    can you post the solution you did for this?

    thanks
     
    tloosle, Nov 20, 2008 IP