I am just start to build one new site. I would like to build this site without tables (as much is possible) but I have few question. My problem is in center. Table is possible to centre and all users in all browsers get table in the center of the screen. Is it possible to make the same with divs. Also, is it possible to make some divs 100% width.
Sonam
Use margin: auto; for centering a div.
Divs can have 100% width, the outer divs etc (inc body) usually need them though.
Thanks,
I was little bit confused. Now is everything OK.
Sonam
Yeah the margin: auto thing works. If you are interested in more css hacks and such, there is this book called CSS Hacks and Filters. It's quite a good and has code that can help you with dealing with different browser. You said your new to CSS, and I'm sure that, if you haven't realized by now, not all browsers support css in the same way