Forum Moderators: not2easy

Message Too Old, No Replies

How to determine conflict/duplicate code and how is it rendered

conflict duplicate rendered

         

millend

5:29 pm on May 22, 2009 (gmt 0)

10+ Year Member



Hello people,

Can someone please explain in short, how do browsers render duplicate/confilcting code.

Example: I have linked five css files to index.php and if they all contain few conflict/duplicate classes, how will browsers render it and does it differ by browser.
My humble locig say's that maybe alphabetically or... cause at present it seems it differs by browser, FF takes alphabetically, Opera ignores duplicates alltogether and havn't even tested in IE lol

The main reason I ask, is that I need to edit some Joomla template which is not written by me and I dont't know of any easy way to check for duplicates (pretty large files)

Is there an easy solution on checking for duplicates?
(using Dreamveawer CS4 at the moment or I can migrate to anything proposed here)

Thank you in advance.

swa66

6:22 pm on May 22, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

Try reading up on
- cascade:
[w3.org...]
- specificity:
[webmasterworld.com...] (just one, you'll find many more out here)