Topic: CSS
Any one any idea about the div positionining within a div?-----------
You are not logged in. Please login or register.
Any one any idea about the div positionining within a div?-----------
Can u tell me how i can maintain padding, margin the div among the different browsers(IE, ForeFox, Opera etc) exactly same?
Because i facing problem to padding div same position into different browsers----
http://www.westciv.com/style_master/aca
r_support/
there is good collection of css standard
Except IE, all browsers respect your div's margin and padding properly. You must hack your css to work on IE. Many developers now-a-days just deny to do that. That is, they drop support for IE.
The best process is to reset all the values to same for all browser's. To do this we should always use this following codes
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
ol,ul {
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
q:before,q:after {
content:'';
}
abbr,acronym { border:0;
}
you can always use this css as reset.css and importing to your all files as adding this line
@import url("reset.css");Posts [ 7 ]
Powered by PunBB