CSS help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mutt
    Too lazy to set a custom title
    • Sep 2002
    • 34431

    #1

    CSS help

    I have a design that comes with a CSS style sheet that styles different tables - my problem is that I want to do a table WITHOUT any styling whatsover but whatever I've tried this table keeps picking up its styling from the style sheet.

    i tried adding a new table ID in the style sheet which has no styling

    table#nostyle{
    }

    then table id="nostyle"

    but that doesn't do anything.

    grrrrrrrrrrrrrrr..................
    I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
  • Voodoo
    ♥ ♦ ♣ ♠
    • Sep 2002
    • 10600

    #2
    Do you have an IM? I may be able to help. Sounds pretty quick.

    "I'm selflessly supporting the common good, but only coincidentally looking out for No.1."

    Comment

    • just a punk
      So fuckin' bored
      • Jun 2003
      • 32393

      #3
      You have to explicitly reset (override) all styles there. E.g.:

      table#nostyle {
      margin: 0;
      padding: 0;
      border: 0;
      font-size: 100%;
      vertical-align: baseline;
      }
      Last edited by just a punk; 07-12-2012, 07:37 AM.
      Obey the Cowgod

      Comment

      • kazymjir
        Confirmed User
        • Oct 2011
        • 411

        #4
        Try this: http://snipplr.com/view/7438/
        http://kazymjir.com/

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          you will also have to set the td, tr, dd, etc styles

          the stylesheet probably has a default table,td,tr {} setting thats why its taking the values from there.
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • ottopottomouse
            She is ugly, bad luck.
            • Jan 2010
            • 13177

            #6
            Originally posted by Mutt
            i tried adding a new table ID in the style sheet which has no styling

            table#nostyle{
            }

            then table id="nostyle"

            but that doesn't do anything.
            Needs values in or it will just take them from whatever it sits inside of.
            ↑ see post ↑
            13101

            Comment

            • Mutt
              Too lazy to set a custom title
              • Sep 2002
              • 34431

              #7
              Voodoo helped me - awesome guy
              I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

              Comment

              • Deej
                I make pixels work
                • Jun 2005
                • 24386

                #8
                That he is! Quicker than me too ;) THATS WHAT SHE SAID!

                what.. what!?

                Deej's Designs n' What Not
                Hit me up for Design, CSS & Photo Retouching


                Icq#30096880

                Comment

                • Voodoo
                  ♥ ♦ ♣ ♠
                  • Sep 2002
                  • 10600

                  #9
                  Originally posted by Mutt
                  Voodoo helped me - awesome guy
                  Thanks! I'm happy to help.

                  "I'm selflessly supporting the common good, but only coincidentally looking out for No.1."

                  Comment

                  • machinegunkelly
                    Confirmed User
                    • Jun 2003
                    • 3304

                    #10
                    Originally posted by fris
                    you will also have to set the td, tr, dd, etc styles

                    the stylesheet probably has a default table,td,tr {} setting thats why its taking the values from there.
                    yeah sounds like the table was just targeted like


                    table { whatever here }

                    thats the problem with these template sites, most of them have big time amateur errors like this, make working with them a real pain
                    Last edited by machinegunkelly; 07-12-2012, 04:14 PM.
                    dead.

                    Comment

                    Working...