+ Reply to Thread
Results 1 to 6 of 6

Thread: x10exchange banners

  1. #1
    kirtik's Avatar
    kirtik is offline x10 Sophmore kirtik is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    182

    x10exchange banners

    How do I centre x10exchange banners? They're always aligned to the left, even if I set padding in css or use the <div align="center"> code. Help?

    I think something inn this bit might need modifying...?
    HTML Code:
    <IFRAME SRC="x10exchangereferralurl" width=468 height=60 marginwidth=0 marginheight=0 vspace=0 frameborder=0 scrolling="no">

  2. #2
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    Re: x10exchange banners

    Have you tried putting <center> instead?

  3. #3
    cowctcat's Avatar
    cowctcat is offline x10 Lieutenant cowctcat is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    In front of a computer
    Posts
    401

    Re: x10exchange banners

    Well the <center> tag and the align=center although they work they are not a valid element or atribute in the current versions of html/xhtml.
    If you want to do it right you have to do some painful css
    --cowctcat

  4. #4
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    Re: x10exchange banners

    Youch! Sorry, I can't help with you with that. I'm not very experience with it. I have no idea idea what I am doing but would this change it:

    Code:
    <center> 
    <!-- x10 Exchange code begin --><!-- DO NOT ALTER THIS CODE! --> 
    <script type="text/javascript"> 
      <!--
       document.write('<s'+'cript type="text/javascript" src="http://www.x10exchange.com/work.php?n=24&amp;size=1&amp;j=1&amp;c=&code='+new Date().getTime()+'"></s'+'cript>');
      //--> 
    </script> 
    <noscript> 
      <iframe src="http://www.x10exchange.com/work.php?n=24&amp;size=1&amp;c=" width="468" height="60" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe> 
    </noscript> 
    <!-- x10 Exchange code --> </center>
    Last edited by Wizet; 09-06-2008 at 08:56 PM.

  5. #5
    Domenico's Avatar
    Domenico is offline x10 Sophmore Domenico is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    117

    Re: x10exchange banners

    Quote Originally Posted by cowctcat View Post
    Well the <center> tag and the align=center although they work they are not a valid element or atribute in the current versions of html/xhtml.
    If you want to do it right you have to do some painful css
    Painful? I disagree. All you have todo is add one think to your css and one thing to your html.

    css:
    Code:
    .centerText {
    text-align: center
    }
    html:
    Code:
    <p class="centerText">code</p>
    Last edited by Domenico; 09-06-2008 at 11:01 PM. Reason: typo

  6. #6
    kkenny's Avatar
    kkenny is offline Lord Of The Keys kkenny is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    I REP THE BAY. (Bay Area, CA, USA)
    Posts
    1,950

    Re: x10exchange banners

    What domenico says is correct, although I wouldn't use the <p> tag, using the <div class="centerText">code</p>also works.
    kkenny - retired.
    -Became a Moderator/Staff Member on 4/23/08
    -Became Senior Mod on 8/28/08
    -Became Account Manager on 10/18/08
    -Left Staff and X10 in 2009.


+ Reply to Thread

Similar Threads

  1. x10Exchange - A x10Hosting owned banner exchange
    By Christopher in forum Advertising
    Replies: 3
    Last Post: 06-19-2009, 02:19 PM
  2. Banners On my site
    By Kraze_T in forum The Marketplace
    Replies: 6
    Last Post: 01-01-2008, 07:58 AM
  3. A few logos and banners.
    By arsonistx in forum Graphics & Webdesign
    Replies: 13
    Last Post: 12-01-2007, 05:26 AM
  4. [REQ] Create 3 Banners For 100 Points
    By rahul2006 in forum The Marketplace
    Replies: 4
    Last Post: 09-05-2006, 09:55 AM
  5. [REQ] Small/Large Banners Please for a COMPETITION
    By Kay in forum The Marketplace
    Replies: 8
    Last Post: 10-14-2005, 11:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers