CSS question for the designers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swedguy
    Confirmed User
    • Jan 2002
    • 7981

    #1

    CSS question for the designers

    I've tried to find some info on it, but no luck.

    Lets say I have this in a table tag:

    <table class="tad" bgcolor="white" border="1">

    This in a style sheet:

    table.tad { background:black; border:1px solid black; }


    If I look at it in IE and FireFox, the style sheet takes over. But is it the same on Mac browsers and other not so common browsers? Anyone know?
  • KorayIsSexy
    So Fucking Banned
    • Feb 2005
    • 146

    #2
    It will show up the same. Pretty much all browsers can interperete CSS now. (save text based ones) The only time you would have an issue is with CSS3. And a few very random CSS2 properties.

    You'll be fine.

    Comment

    • tungsten
      Too lazy to set a custom title
      • Mar 2004
      • 10579

      #3
      good question, no idea about macs, i would suppose yes
      • VOYEUR /HOMEMADE, HENTAI / CARTOON, Reality, Amateur, Shemale, Hardcore, Cuckold, Celebrity, Retro/Vintage, ect...ALL OUR SITES >>
      • Unbelievable Ratio | High % of Rebills | Bi-Monthly Payments (also to E-Passporte)
      • Ton's of EXCLUSIVE Free content & FHG's |=> GREAT REVENUE $$$ GUARANTEED!

      Comment

      • tyler86ed
        Confirmed User
        • Jan 2004
        • 543

        #4
        Yes. I dev on pc/mac and they are the same as long as your syntax is correct.

        Check out all our new fresh FETISH sites, Tons of hosted galleries and fresh new content.

        Comment

        • swedguy
          Confirmed User
          • Jan 2002
          • 7981

          #5
          Originally posted by KorayIsSexy
          It will show up the same. Pretty much all browsers can interperete CSS now. (save text based ones) The only time you would have an issue is with CSS3. And a few very random CSS2 properties.

          You'll be fine.
          But will it override the values I have set in the table (background and border)?

          Comment

          • KorayIsSexy
            So Fucking Banned
            • Feb 2005
            • 146

            #6
            Yes. It interprets the CSS the same way. As long as you use valid code, you're fine.

            CSS is pretty much a web industry standard.

            Comment

            • swedguy
              Confirmed User
              • Jan 2002
              • 7981

              #7
              Cool. Thanks

              I just wanted to make sure that the style sheet overrides what ever I have set in the table since a style sheet will not always be present and then it can fall back on what's set in the table.

              Comment

              • Shoehorn!
                Die With Your Boots On
                • Oct 2003
                • 22872

                #8
                Originally posted by tungsten
                good question, no idea about macs, i would suppose yes
                I use Macs mostly and haven't had a problem displaying CSS.

                Comment

                • swedguy
                  Confirmed User
                  • Jan 2002
                  • 7981

                  #9
                  Sweet. I found an even better way. The !important declaration. It takes presedence over a normal declaration.

                  http://www.w3.org/TR/REC-CSS2/cascad...mportant-rules

                  Now I can add styles inside a table and then override with a main style sheet if I have one. Just what I was looking for

                  Comment

                  • Fletch XXX
                    GFY HALL OF FAME DAMMIT!!!
                    • Jan 2002
                    • 60840

                    #10
                    css doesnt care if mac or pc

                    http://www.ch33rs.com/css.html



                    css rules

                    Want an Android App for your tube, membership, or free site?

                    Need banners or promo material? Hit us up (ICQ Fletch: 148841377) or email me fletchxxx at gmail.com - recent work - About me

                    Comment

                    Working...