SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru menuserve's Avatar
    Join Date
    Aug 2004
    Location
    florida
    Posts
    903
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to ignore CSS

    take a look at the following page and the two skyscaper ads on the left...

    the first one (burst media) is affected by my CSS code and the second one (casale media) is not...

    is there a way or a tag that i can put before and after the burst code to ignore my CSS stuff so the ad displays normally?

    http://www.menuserve.com/FL/delraybe...andeddies.php3

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Try ths:
    Code:
    #leftmenu .ad a{background:none;padding:0;}
    html:
    Code:
     <td bgcolor="#647B91" class="ad"> <center> 
       <!-- BEGIN RICH-MEDIA BURST! CODE -->
       <script language="JavaScript">

  3. #3
    SitePoint Guru menuserve's Avatar
    Join Date
    Aug 2004
    Location
    florida
    Posts
    903
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Paul,

    You the man... that cleaned it up a bit... i have a question for you about this...

    the table that the ad is in is slightly larger than the second table but they have the same exact table layout... so why is the first ad with border slightly larger?

    and the background around the first ad is part of the link... where the second ad linkable area does not include the border... I am guessing this is just part of the adnetwork code thats causing this.... this isn't really a big deal.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    You could try setting the other properties to default also.

    Code:
    #leftmenu .ad *{
    background:none;
    padding:0;
    margin:0;
    display:inline;
    }

  5. #5
    SitePoint Guru menuserve's Avatar
    Join Date
    Aug 2004
    Location
    florida
    Posts
    903
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no difference... although that "display:inline" absolutely killed me as the background then covered all my content...

    so as of right now the code is as you have it above without the display inline setting

    still off slightly!

  6. #6
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    HI,

    Try adding width:auto:
    Code:
    #leftmenu .ad *{
    background:none;
    padding:0;
    margin:0;
    width:auto;
    }


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •