Previous Message
Next Message

padding

Sent by Richard Hall on 13 November 2003 15:03


When placing one division inside another I'm fine ... when I add padding to 
the inner division it works find in IE but for some reason forces the 
division to be outside of the containing division in mozilla.

Basically, the problem seems to be that mozilla makes the area larger when 
you add padding, though I thought padding was supposed to be an internal 
sort of margin.

Page: http://www.umr.edu/~rhall

Relevant CSS (#main is the outside and #logo is the inside)

#main {
         margin: 25px auto;
         width : 80%;
         height : 800px;
         background-color : white;
         text-align: left;
}

#logo {
         width: 100%;
         height: 113px;
         background-color : Silver;
         background-image : url(images/rhall.jpg);
         background-position : right;
         background-repeat : no-repeat;
         padding: 10px;
}

.... any help would be much appreciated ... thanks ... Richard

Richard Hall
http://www.mediatation.net 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: