Gunnar Bittersmann: MSIE: bestimmte tags im div formatieren

Beitrag lesen

martin,

ich habe ein formular in einem div verpackt,

Wozu? (form ist ein Blockelement.)

und möchte den abstand des formulars nach oben/unten zu den anderen elementen davor/danach verringern. dazu formatiere ich mein form-tag mit display:inline.

Wozu?

Warum gibst du nicht dem form-Element die entsprechenden Abstände?
Gunnar

--
I never intended HTML source code (the stuff with the angle brackets) to be seen by users. […] To my surprise, people quickly became familiar with the tags and started writing their own HTML documents directly. (Tim Berners-Lee in Weaving the Web)