Topic: CSS

Any one any idea about the div positionining within a div?-----------

Re: CSS

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----

Re: CSS

would you please give a example what problems are you facing? that will be easy to solve smile

http://tareq.wedevs.com/test/sig/blog_update.php
http://tareq.wedevs.com/test/sig/twitt_update.php

Re: CSS

http://www.westciv.com/style_master/aca … r_support/
there is good collection of css standard

http://tareq.wedevs.com/test/sig/blog_update.php
http://tareq.wedevs.com/test/sig/twitt_update.php

Re: CSS

You can easily position any div with 'absolute' property. You just need to tell the position of this tag like top, right, bottom, left. Or you can use the 'float' property to nest it within a div tag.

http://tareq.wedevs.com/test/sig/blog_update.php
http://tareq.wedevs.com/test/sig/twitt_update.php

Re: CSS

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.

Re: CSS

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");
http://tareq.wedevs.com/test/sig/blog_update.php
http://tareq.wedevs.com/test/sig/twitt_update.php