Djkanna Posted July 15, 2010 Share Posted July 15, 2010 Oh darn I totally overlooked nth-child () XD Quote Link to comment Share on other sites More sharing options...
Paddy Posted July 15, 2010 Share Posted July 15, 2010 Yet even a better way: http://deadlykillah.net/testscripts/test1.php. And is browser compliant! What my script does (Read the Source page), it set's all table's to "zebra styled" table's. How ever, i have also created a class for the css that if you don't want the table to be zebra style'd. all you add is class="except". With this (And DJK's script) it will make your entire site zebra styled. How ever, i do suggest you add my script to the very bottom of globals.php, thus so it does not affect anything else, but just the main play. Enjoy. Looks good,, but i only cn see it in FF, in IE8 it has a white BG Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted July 16, 2010 Share Posted July 16, 2010 Yet even a better way: http://deadlykillah.net/testscripts/test1.php. And is browser compliant! What my script does (Read the Source page), it set's all table's to "zebra styled" table's. How ever, i have also created a class for the css that if you don't want the table to be zebra style'd. all you add is class="except". With this (And DJK's script) it will make your entire site zebra styled. How ever, i do suggest you add my script to the very bottom of globals.php, thus so it does not affect anything else, but just the main play. Enjoy. Looks good,, but i only cn see it in FF, in IE8 it has a white BG Never quite knew that nth-child() was not supported by IE8, i guess that what come's with CSS 3 until they update their engine. How ever, i am working on a work around for IE 8, so please check back to that site soon. Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted July 16, 2010 Share Posted July 16, 2010 or just use the other solution which im sure will work lol Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted July 16, 2010 Share Posted July 16, 2010 or just use the other solution which im sure will work lol Why add so much script when not needed, when we can result to a far better solution. I am still trying to make a work around for zebra styled table's and IE8, but google ain't helping me much :P Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted July 16, 2010 Share Posted July 16, 2010 Yeah Kyle but you've what been looking for awhile now im guessing, using the solution i posted may be longer in script but gives the same result yet doesn't take so long to research issues in other browsers. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted July 16, 2010 Share Posted July 16, 2010 Why bother? Use stripey tables for those people that have better browsers, those that use IE can have a plain one colour table rows.. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted August 5, 2010 Share Posted August 5, 2010 I managed a work around for stripey table's that should work across all main browser's. http://deadlykillah.net/testscripts/test1.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.