internet explorer 6 - IE6 and box model with padding -


I have a quarter box: 600px I have to leave the text, with 20px padding this box is float with another second On the sidebar (sidebar / content) in the browser, it defines the content-sidebar,

i.e. 6 this content is viewed up to 600 + 20, pushing the witch sidebat down. ..

How do you use padding, which works in all browsers, including the I6

If you are free to use hacks If so, use underscore hack.

  _width: 560px; // target = 6 only   

otherwise

add a wrapper divan and add padding to that div

  & lt; Div style = "width: 600px" & gt; & Lt; Div style = "padding: 0 20px" & gt; Bla bla & lt; / Div & gt; & Lt; / Div & gt;    

Comments