Over a million developers have joined DZone.

Set Width And Padding Without Ccs Browser Hack

// firefox an internet explorer handle padding in div-elements with width differently
// you don't need a css browser hack, you can use two div-elements insteas
// the outer-div handles width
// the inner div handles padding


loem ipsum dolor ...

//css //padding: top right, bottom, left; #left_text { width: 208px; float: left; } div.paddingbox { padding: 4px 8px 4px 8px; }

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}