| Cross-browser coding with CSS3 |
It is debatable that there's no goal in website design more gratifying than getting a stunning and intuitive design to look the same in each currently-used browser. Sadly , that goal is usually agreed to be virtually impossible to attain.Some have even gone on record as saying that perfect, cross-browser compatibility isn't required. *Understand the CSS Box Model This is among the first things you need to be comprehensively familiar with if you'd like to be in a position to achieve cross-browser layouts with few hacks and workarounds.Fortuitously , the box model isn't a hard thing to realise, and typically works the same in all browsers, except in circumstances related to certain versions of Web Explorer. The CSS box model is responsible for figuring out : *Understand the Difference Between Block and Inline For experienced developers, this is another no brainer. It is nonetheless, another vital area that, when entirely accepted, will cause the bulb to appear, many headaches will be evaded, and you will feel much more assured in making cross-browser layouts. Here are some essential rules that differentiate block elements from inline : * Block elements will, default naturally expand horizontally to fill their parent container, so there isn't a need to set a width of a hundred percent |