Is my CSS padding displaying incorrectly? Or have I got my syntax wrong? -



Is my CSS padding displaying incorrectly? Or have I got my syntax wrong? -

i'm setting padding values h1 , p in css follows:

h1 { padding-left: 30px; padding-right: 30px; } p { padding-left: 33px; padding-right: 135px; padding-bottom: 30px; }

but there seems form of preformatted padding in table used in because top shows indent padded 30px, when there none in table's css. doing wrong? here's image explain mean:

the padding above "title" in code.

thanks, oliver

might need reset default margins on h1 element

h1 { margin:0; padding: 0 30px; }

css padding

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -