CSS gurus....need some help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #1

    CSS gurus....need some help

    I have a page that has 100% css design, but I have one section of the page that I want to be able to override the css...is there some code I can place to place a "bubble" on the page that the css doesn't affect?
  • SilverTab
    Confirmed User
    • Nov 2001
    • 5060

    #2
    hmm well not sure what you are trying to accomplish, but can't you just design a specific style for that place, and wrap it in a div or a span??

    you can assign any style (or no style at all) to a span if you want...?? not sure if I know what you mean though!
    mmm my sig was too big... no more cool animation
    but hey still! need php? ICQ: 94586959

    Comment

    • Jace
      FBOP Class Of 2013
      • Jan 2004
      • 35562

      #3
      Originally posted by SilverTab
      hmm well not sure what you are trying to accomplish, but can't you just design a specific style for that place, and wrap it in a div or a span??

      you can assign any style (or no style at all) to a span if you want...?? not sure if I know what you mean though!
      I know, it is wierd

      but I am trying to add adbrite ads to a page that is complately css, and this is the only style choices I get on the adbrite code:

      .adHeadline {font: bold 8pt Arial; text-decoration: underline; color: #000000;}
      .adText {font: normal 8pt Arial; text-decoration: none; color: black;}

      but for some reason my overall page CSS is taking over the adbrite ads and not allowing me to change anything, the adbrite ads are coming up with the main page css and not a style from the code above.....I want to just be able to put some sort of style or div before and after the adbrite code and remove my main page css style so it only uses the adbrite style in the ads

      Comment

      • testpie
        Mostly retired
        • Apr 2006
        • 3231

        #4
        I could give you a hand if you want. Just post a link to the page and show me what you mean by the "bubble" idea.

        Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder

        Comment

        • testpie
          Mostly retired
          • Apr 2006
          • 3231

          #5
          Originally posted by Jace
          I know, it is wierd

          but I am trying to add adbrite ads to a page that is complately css, and this is the only style choices I get on the adbrite code:

          .adHeadline {font: bold 8pt Arial; text-decoration: underline; color: #000000;}
          .adText {font: normal 8pt Arial; text-decoration: none; color: black;}

          but for some reason my overall page CSS is taking over the adbrite ads and not allowing me to change anything, the adbrite ads are coming up with the main page css and not a style from the code above.....I want to just be able to put some sort of style or div before and after the adbrite code and remove my main page css style so it only uses the adbrite style in the ads
          Firstly, sorry if this turns out to be a doublepost.

          If you link me up to the entire code (including the CSS), i'll smack a div around it and see what i can do, then host a copy and you can show me what you what changing etc.

          Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder

          Comment

          • SilverTab
            Confirmed User
            • Nov 2001
            • 5060

            #6
            mm yeah its definitly weird because, one of the main attribute of CSS is to be cascading, so you should be able to overwrite parts if you want!

            Im guessing your CSS is located in a separate file?? that you import?? and if you apply a style locally in the page it just doesn't work?? am I understanding this??

            And where did you define the 2 styles for adbrite?? In the same file where your whole styles are located? or in a separate place??? I can take a look at it if you want bro...
            mmm my sig was too big... no more cool animation
            but hey still! need php? ICQ: 94586959

            Comment

            • Jace
              FBOP Class Of 2013
              • Jan 2004
              • 35562

              #7
              I figured it out, it was because I had multiple adbrite codes on one page, the one I was trying to change was being overwritten by another

              thanks you all for your offers to help, I figured it out

              I just deleted the css code in the actual adbrite ad and added into the main css file

              Comment

              • SilverTab
                Confirmed User
                • Nov 2001
                • 5060

                #8
                cool! glad you were able to fix it! ;)
                mmm my sig was too big... no more cool animation
                but hey still! need php? ICQ: 94586959

                Comment

                • Jace
                  FBOP Class Of 2013
                  • Jan 2004
                  • 35562

                  #9
                  Originally posted by SilverTab
                  cool! glad you were able to fix it! ;)
                  I hate it when it is something that stupid and I spend an hour trying to figure it out...LOL...

                  Comment

                  • testpie
                    Mostly retired
                    • Apr 2006
                    • 3231

                    #10
                    Originally posted by Jace
                    I figured it out, it was because I had multiple adbrite codes on one page, the one I was trying to change was being overwritten by another

                    thanks you all for your offers to help, I figured it out

                    I just deleted the css code in the actual adbrite ad and added into the main css file
                    Glad to hear it. If only i could delete the problem of not having any signups as easily

                    Originally posted by Jace
                    I hate it when it is something that stupid and I spend an hour trying to figure it out...LOL...
                    Don't try coding in PHP then! I always get one pesky typo or missed ending and hours of fun looking for the frigging problem.
                    Last edited by testpie; 05-27-2006, 02:54 PM.

                    Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder

                    Comment

                    • Jace
                      FBOP Class Of 2013
                      • Jan 2004
                      • 35562

                      #11
                      Originally posted by testpie

                      Don't try coding in PHP then! I always get one pesky typo or missed ending and hours of fun looking for the frigging problem.
                      ain't that the truth...haha

                      you know though, if it wasn't for the fact that php makes life so easy when it is done right, I would seek out another option

                      Comment

                      • SilverTab
                        Confirmed User
                        • Nov 2001
                        • 5060

                        #12
                        haha hey at least PHP is usually able to tell you on which line you have a problem, and when you're used to it it's kinda easy to debug...

                        not the case with CSS!.... I always mess'em up :P
                        mmm my sig was too big... no more cool animation
                        but hey still! need php? ICQ: 94586959

                        Comment

                        • testpie
                          Mostly retired
                          • Apr 2006
                          • 3231

                          #13
                          Originally posted by SilverTab
                          haha hey at least PHP is usually able to tell you on which line you have a problem, and when you're used to it it's kinda easy to debug...

                          not the case with CSS!.... I always mess'em up :P
                          I get to have hours of fun with HTML and CSS - especially when all the browsers who use W3C specs show it properly, but then IE ruins the show by fucking it up completely.

                          Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder

                          Comment

                          Working...