Gunnar Bittersmann: div-Formatierung

Beitrag lesen

@@Alex:

nuqneH

div:not(:first-child) { margin-left: 30px }

bzw.

div:not(:last-child) { margin-right: 30px }

oder (es soll ja IrgendEinen Browser geben, der weder :last-child noch :not versteht)

div { margin-left: 30px }  
div:first-child { margin-left: 0 }

Qapla'

--
Volumen einer Pizza mit Radius z und Dicke a: pi z z a