> From: Colin DiBiase
> 
> I always thought you were supposed to put position in your Div Ids  
> and stuff? but on the pages no one seems to be putting them at all.  
> if it not there is there a default the tags becomes?
> 
> Also, I always thought there was a ie problems with positioning and  
> you had to add a margin: 0px; and padding:0px; in the body 
> tag. again  
> i don't see ppl putting that in their css. are there new hacks or  
> something that i am outdated on?

Colin.

You probably need to read up on the box model and document flow
in relation to positioning.
http://www.brainjar.com/css/positioning/default.asp

I (and I think others) only use positioning and floats when the
normal document flow needs to be modified to achieve the result
I need. I try to keep things simple where possible.

Setting margin and padding to 0 on the body element is useful
if you want content to extend right to the edges of the browser
window, but is by no means essential, and isn't particular to
any single browser. 

Google the string "box model document flow" to get other
references on the box model and document flow, they'll also
have a discussion of the various methods of positioning.

-- 
Peter Williams
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to