1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Website Help Please

Discussion in 'HTML & Website Design' started by chris00129, Jan 29, 2011.

  1. #1
    Hey Everyone,

    I have a website http://coupon.dealspower.com where I have inputed some javascript code. If you notice the main body of the blog is showing the coupon section.

    The issue I am having is it is not centered and was hoping you would know how to fix this. Also I was looking to raise the coupon section so its closer to the header.

    Any quick fixes?

    Thanks,

    Chris
     
    chris00129, Jan 29, 2011 IP
  2. marharri

    marharri Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    css for Coupon section

    margin-top:-20px;
    will get back with you on the center
     
    marharri, Jan 29, 2011 IP
  3. chris00129

    chris00129 Greenhorn

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Would I add this to the Java Script Code? For instance any where specific?
     
    chris00129, Jan 29, 2011 IP
  4. chris00129

    chris00129 Greenhorn

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    Hey Everyone,

    I am currently utilizing some code that I put on my site for a coupon site. I am looking to center this and as well raise it a bit so its closer to the header. Here is the code and the site where it's located is http://coupon.dealspower.com -

    <script language="javascript" type="text/javascript">
    var ci_cap_scriptId = "2238";
    var ci_cap_bid = "1158050001";
    var ci_cap_format = "718x940";
    var ci_cap_bannerType = "3";
    </script>
    <script language="javascript" src="http://bc.coupons.com/" type="text/javascript">
    </script>

    Is there anything I can add to this to center it and raise it?

    Thanks,

    Chris
     
    chris00129, Jan 29, 2011 IP
  5. infoman66

    infoman66 Peon

    Messages:
    58
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I looked at your site.
    I see that this is a wordpress.
    In that sea of CSS code, I had not the nerve to ask for reasons why your coupon is not close to header.
    But I'm at your place, I would put the entire coupon into a new div and used the negative value for top-margin and margin-left positioning of coupons.
    Something like this:
    
    <div style="width:720px; height:942px; margin-top:-20px; margin-left:30px;">
    Your script 
    </div>
    
    Code (markup):
     
    infoman66, Jan 29, 2011 IP
  6. CraigC

    CraigC Greenhorn

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    What browser are you using? Looks pretty centered to me in FF.
     
    CraigC, Jan 29, 2011 IP
  7. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #7
    radiant_luv, Jan 29, 2011 IP