[thelist] CSS and DreamWeaver/Contribute
Scott Wehrenberg
swehren at gmail.com
Wed Apr 20 16:24:36 CDT 2005
Just drop the padding-bottom (and optionally move it to padding-top)
you may also have to ensure there's no margin on the paragraphs. For
example:
.emphasis {
display: block ;
background-color: #FFE092;
color: #666666;
padding-top: 1em; /* optionionally change this to 2em */
margin-bottom: 0;
}
On 4/20/05, Chris Kavanagh <chris at logorocks.com> wrote:> Dear list,
> .emphasis {
> display: block ;
> background-color: #FFE092;
> color: #666666;
> padding-top: 1em;
> padding-bottom: 1em;
> }
>
> The end result is that each paragraph has the background colour, but
> they're separate from each other. What I'd like is for all the
> paragraphs to share the background colour, with no breaks between them.
> I know how to hand code this, but I can't expect the client to do that
> - he needs to use a WYSIWYG editor. Is there some kind of CSS trick I
> can use to make this happen? Otherwise I guess I'll have to use a
> table.
More information about the thelist
mailing list