i use margin : 0px auto; Code (markup): to center my divs through css. it works well in firefox, but in IE7, the divs look disarranged. any fix for this?
Specify the page content type. For example: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Code (markup): I believe it needs to be set so that the browser handles pages right.
hey, thanks everyone for your help, if found a solution my self. have a look: CSS Crib sheet #3 - Centering a Div