public marks

PUBLIC MARKS from nhoizey with tags css & div


Equidistant Objects with CSS - CSS-Tricks

by 5 others
Creating a horizontal row of objects that are equidistant from each other is another one of those things in web design that is much more difficult than it should be. This can be a very useful thing to do, especially in fluid width layouts when you are try


Eric's Archived Thoughts: Universal Child Replacement

there is a way to simulate child selection without actually using the child combinator. The general pattern is to use a normal descendant selection in your first rule, and then “undo” the first rule with a second that has a universal selector in the middle. Suppose you want to boldface any p element that’s a child of a div, but no others. The solution: div p {font-weight: bold;} div * p {font-weight: normal;}

Juicy Studio: Div Mania

by 7 others (via)
More and more web documents are appearing that consist of nothing more than a collection of div elements. In most cases, better use of CSS selectors could be used to avoid overusing the div element.

Showing and Hiding a DIV using CSS and Javascript

by 8 others (via)
Attention, ne fonctionne pas si le JavaScript est désactivé !