Wednesday, 15 June 2011

html - border showing left & bottem in internet explorer how to i remove that borders? -



html - border showing left & bottem in internet explorer how to i remove that borders? -

body { background:#f2f3f4 url(images/ringbackbg.jpg) repeat-x; font-size:14px; color:#fff; font-family: mycustomfont, verdana, arial, sans-serif; margin:0; background-position:center 0; outline: none; }

showing left & bottom border in net explorer how remove borders ?

the box model composed of width/height, padding, border, margin, outline.

width/height dictate size of box in content displayed.

paddings dictate distance between content , border - background colours/images appear on padding well.

borders go around width/height+padding , can styled differently. have few particularities:

they can styled individually (top/right/bottom/left) including images; when declaring big borders individual styling notice corners meet diagonally; borders can have rounded corners;

margins go around width/height+padding+border , cannot styled - can used spacing around element.

outlines go around width/height+padding+border+margin , can styled few particularities of own.

hence using like:

body { width: 100%; height: 100%; padding: 0; border: 0; margin: 0; outline: none; }

is mutual in reset stylesheet.

html css html5

No comments:

Post a Comment