Forum Moderators: not2easy

Message Too Old, No Replies

Question about inheritance

Trying to get a handle on this!

         

louponne

11:17 am on Jan 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have

.text {
font-size: 11px;
padding: 8px;
border-right: 2px solid #FFE375;
border-left: 1px solid #FFE375;
}
.text table{
margin-bottom: 10px;
margin-top: 10px;
}

The idea being to introduce some homogeneous space above and below tables (in which I have images and their captions) when I have them between paragraphs of my text.

Is this good writeup? It certainly looks the way I hoped in the browsers I've tested.

In DW MX 2004, when I look at the .text table style, it puts red lines through the margin-top and margin-bottom styles, which means, I *think*, that there's some problem with inheritance.

Longhaired Genius

11:44 am on Jan 7, 2004 (gmt 0)

10+ Year Member



Looks ok to me, and the W3C CSS Validation Service [jigsaw.w3.org] agrees [jigsaw.w3.org].