DW inherit error (CSS property strike through)

Messages
1,178
Edit My Images
No
I have some images on a HTML page, all intended to be lined up across the
page left to right. The first two are fine, but the third (rightmost) has dropped down the page.

When I check the CSS styles, the left and centre image are OK (margin, padding , etc.) but the rightmost image CSS properties have the strikethrough line (as opposed to disabled). When I hover over the strikethrough I get the note

'float does not apply to your selection because it is not inherited, it is applied to an enclosing tag' similar for margin, padding, etc. The html is not complex, but I'm wondering if I missed a div tag, or something simple like that? Having said that, I have a near identical working page, and cannot see a difference...
 
Sorted it out - was missing a CSS rule set for the div.

The cursor in DW seems to jump around a lot when adding properties to rules
so I was adding to another rule set altogether!
 
Back
Top