First thing that came to my mind...

p ul.ContentAreaPadding {
width: 330px;
padding-left: 43px;
color: #09244a;
font-family: Arial,sans-serif;
font-size: 9pt;
text-align: justify;
line-height: 1.5;
}

That way, this formatting will only occur inside <p> tags... however
UL may be the wrong way to format it... but if you're just looking to
format an unordered list within paragraphs and paragraphs only, that'd
be a way to do it.

Good luck with it, keep us posted.

On May 3, 8:31 pm, "[email protected]" <[email protected]> wrote:
> Hi there
>
> Maybe one of you can help me with the following issue:
>
> I have got a paragraph:
>
> <P class="ContentAreaPadding">
>
> in which is a List (<UL>), because it comes out of da DB and formatted
> trough a BB Code Script, I can't format the <UL> object directly.
>
> I want to apply the following formating to the UL:
> font-weight: bold;
> list-style-type: disc;
> margin-left: 30px;
> line-height: 1.9;
> width: 70%;
>
> I tried with ul.ContentAreaPadding and the above mentioned CSS.
>
> But what ever I do, the list won't be formated. Maybe you can give me
> a hint what's wrong?
>
> And is there a solution to format the list with a seperate class like
> <P class="ContentAreaPadding SpecialUL"> in case I didn't want to have
> all <UL> same formatted?
>
> Just to have the full code for the ContentAreaPadding:
> .ContentAreaPadding {
> width: 330px;
> padding-left: 43px;
> color: #09244a;
> font-family: Arial,sans-serif;
> font-size: 9pt;
> text-align: justify;
> line-height: 1.5;
>
> }
>
> Thanks and best regards
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to