![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
![]() 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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Feb 2005
Posts: 146
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Join Date: Mar 2004
Posts: 10,579
|
good question, no idea about macs, i would suppose yes
__________________
![]()
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2004
Location: California
Posts: 543
|
Yes. I dev on pc/mac and they are the same as long as your syntax is correct.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Join Date: Feb 2005
Posts: 146
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Die With Your Boots On
Join Date: Oct 2003
Location: Hawaii
Posts: 22,872
|
Quote:
![]()
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
GFY HALL OF FAME DAMMIT!!!
Join Date: Jan 2002
Location: that 504
Posts: 60,840
|
__________________
![]() 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 - ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |