A little WP coding help

Discussion in 'CSS' started by Alan|AzH, Feb 10, 2009.

  1. #1
    Hi!!

    Please look at : http://l4dtv.com/

    I want to header section with the nav and adsense to site better.

    Currently I have this code:

      <div id="headerlogo">
    	  <a href="<?php echo get_settings('home'); ?>/">HOME</a> | <a href="http://left4deadforums.com">FORUMS</a> | <a href="http://left4deadfiles.com">FILES</a>
    <div align="right"><script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxxx";
    /* l4dtv */
    google_ad_slot = "2509745443";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></div>
    	
    	</div>
    Code (markup):
    and it cause a gap at the top of the adsense block.

    I want them to be aligned. If I remove aligh right div tags it removes the gap at the top of the ad box but leaves the ad box right after the links.

    Any suggestions on a fix please??
     
    Alan|AzH, Feb 10, 2009 IP
  2. korp

    korp Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would think you could use the margin option in your css file. I forget which one it is ... margin: 0 0 0 20px; or whatever I think the last one is right.
     
    korp, Feb 12, 2009 IP
  3. Alan|AzH

    Alan|AzH Active Member

    Messages:
    298
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Thanks. I used aligning html <p> tags.
     
    Alan|AzH, Feb 13, 2009 IP
  4. a010387

    a010387 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    your site desing is not looking good colors are so dark plz use some bright colors that will make your site look better
     
    a010387, Feb 14, 2009 IP
  5. Alan|AzH

    Alan|AzH Active Member

    Messages:
    298
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Thanks for the feedback. I like it the way it is. :)
     
    Alan|AzH, Feb 14, 2009 IP