Is this possible?

Discussion in 'CSS' started by Jace, May 12, 2008.

  1. #1
    I need someone to help with me with the header on http://www.thekickassblog.com/

    See in the top left and right the spaces for websites? I need to be able to put images there, but since the header is called from the style.css, it has be completely done via css, and here is the fun part, it has to be able to be linked to those websites...so, the images have to be placed using css, but they can be linked in anyway that is normal for a wordpress theme

    can you I do this? and how?
     
    Jace, May 12, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you put the images inside the div, the banner div so it's like:
    <div id="banner">
    <a href="boo.html"><img src="boo.jpg" class="imgleft" /> </a>
    <a href="fish.html"><img src="fish.jpg" class="imgright" /> </a>
    </div>

    Then inside the CSS you would have something like:

    .imgleft { float: left; width: 200px; height: 200px; margin: 10px 0 0 10px; }
    .imgright { float: right; width: 200px; height: 200px; margin: 10px 10px 0 0; }

    Then you change width and height to whatever it is, it looks about 200px anyways.
    and the 10px is the gap from the top and side.

    You could also do it with positioning but i guess this is probably the better option.
     
    wd_2k6, May 12, 2008 IP
  3. Jace

    Jace Peon

    Messages:
    66
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok, i will give it a shot for sure, let me eat dinner first :) haha
     
    Jace, May 12, 2008 IP
  4. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #4
    lol making me hungry and it's nearly 1am here
     
    wd_2k6, May 12, 2008 IP
    Stomme poes likes this.
  5. Jace

    Jace Peon

    Messages:
    66
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    dude, that worked, thanks so much!

    can I offer you a free link from www.justjace.com for your help?
     
    Jace, May 12, 2008 IP