--- On Wed, 10/22/08, jasmin <[EMAIL PROTECTED]> wrote:

> I've read somewhere that using   *
> {margin: 0; padding: 0; } can reset the margin and
> padding values to 0 but
> when testing I still encounter problems with padding and
> margins. 

What you're talking about here is usually referred to as "CSS reset styles" or 
similar, and opinions on their usage is split. Certainly, the simplistic 
example above is (or was) very common, but has problems of its own (e.g. form 
inputs, which are inconsistently styled across browsers, are often better left 
to their own devices). Still, try googling for "CSS reset" and checking out 
Yahoo's, eric's, etc.

> When this test page is viewed
> in IE the left and right columns are relatively even, with
> even padding on
> either side of the columns however when viewed in FF the
> text in the left
> column butts up against the edge of the right column i.e
> the text butts up
> against the orange dashed vertical line of the right
> column.

This is more of an issue relating to IE's broken interpretation of the box 
model in quirks mode. You have a bug in your doctype declaration which is 
causing the page to be rendered in quirks mode, I believe. Ensure it looks like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>



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

Reply via email to