Two classes together Usually attributes are assigned just one class, but this doesn’t mean that that’s all you’re allowed. In reality, you can assign as many classes as you like! For example: <p class=”text side”></p> Using these two classes together (separated by a space, not with a comma) means that the paragraph calls up the …
January 2011 archive
Permanent link to this article: https://blog.openshell.in/2011/01/css-trick-two-classes-together/
Jan 03
CSS trick ( CSS box model hack alternative)
CSS box model hack alternative The box model hack is used to fix a rendering problem in pre-IE 6 browsers on PC, where by the border and padding are included in the width of an element, as opposed to added on. For example, when specifying the dimensions of a container you might use the following CSS rule: #box { width: …
Permanent link to this article: https://blog.openshell.in/2011/01/css-trick-css-box-model-hack-alternative/