Forum Moderators: open
With so many browsers to choose from, I just want to make sure that I don't come across any weird strings of code that are or are not visible in certain browsers.
Thanks for your suggestions!
With so many browsers to choose from, I just want to make sure that I don't come across any weird strings of code that are or are not visible in certain browsers.
When in doubt, just find out if the code you intend to use is proprietary, that is, specific to a particular browser. For example, old school methods of
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
Were to appease NN and IE - only IE recognized leftmargin and topmargin, and only NN recognized marginheight and marginwidth, and both ignored the other. So whatever browser was viewing the page would always have some unrecognized unsupported attribute.
These are easily replaced in css and recognized by all modern browsers:
body { margin:0;padding:0; }
<body>