It can take a little while to get everything working the way you want in both browsers. Of couse, it is also compounded by the way Visual Studio "helps" you when it generates code for you.
For starters, you should run your code through the following validation services:
- XHTML Validation: http://validator.w3.org/
- CSS Validation: http://jigsaw.w3.org/css-validator/
Of course, you won't be able to get it to pass all of the XHTML validations because of Visual Studio (should change with VS2005), but you really can't bother trying to compare one browser to the other or work through presentation issues until your code is as valid as possible. As the previous poster mentioned, IE is pretty lenient in "correctly" interpreting and displaying some pretty awful XHTML output. But more stringent browsers like FF to balk at trying to interpret it.
I would also recommend Dan Cederholm's two books on CSS. Visit http://www.simplebits.com/ for more info.
Of course, one quick and cheap way to learn is to View Source on the author's site and figure out how they put together their HTML.
Two other recommended sites:
- http://www.quirksmode.org/
- http://www.alistapart.com/ - You will probably need to search the archives as they covered a lot of CSS basics a year or two ago.
Hope that helps!