Forum Moderators: not2easy

Message Too Old, No Replies

Thickbox padding and margins

         

myrrh

1:54 am on Apr 25, 2010 (gmt 0)

10+ Year Member



I am trying Thickbox for the first time.

The Thickbox page says: "Be aware that the ThickBox CSS file will remove the browsers default padding and margin for all elements."

How can I make my CSS such that it retains the originally intended padding and margins?

tonynoriega

4:38 pm on Apr 26, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am assuming that in the CSS file there is something like a reset.css...

where all major elements are set to 0 margin and padding i.e.

html, body, h1, h2, p, ..etc...etc...{
margin:0;
padding:0;
}

this will remove all padding and margin from all elements, and i also assume that thickBox will incorporate its own measurments of padding and margins within that file.

if you want to retain your original elements padding and margin you need to remove those elements that are set to 0 margin and 0 padding within that CSS file.

hope that helps.