Difine <ul> style within a div.

Hi All,

I have a  div (id="AA_ArContent_Div") and within this div there is dynamic content generated from and online wysiwyg. I would like to define how an <ul> is displayed within this content. Other <ul> outside of this div must remain as is.

<div id="AA_ArContent_Div">
<%=strPageContent%>
</div>

I have tried adding this to the CSS file which is linked by this page:

#AA_ArContent_Div li {
      list-style-image: url(../Section_Images/bullet4.gif);
      font-weight: bold;
      }

This does NOT work...  any help much appreciated.

Kind regards

Abiel M de Groot Sanders
LVL 5
Abiel de GrootDeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kswathiCommented:
Write your class as below:

#AA_ArContent_Div ul li {
      list-style-image: url(../Section_Images/bullet4.gif);
      font-weight: bold;
 }

hope it helps
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
p_nutsCommented:
or even

#AA_ArContent_DIV > UL > li

or give the UL a seperate ID or class to call it directly .
0
Abiel de GrootDeveloperAuthor Commented:
Many thanks... That did it.

A
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Abiel de GrootDeveloperAuthor Commented:
@kswathi

How would I define the style of links within the sane div?

A.
0
kswathiCommented:
for anchors within li

#AA_ArContent_Div ul li a {
/*your properties */

}

#AA_ArContent_Div ul li a:hover {
/*your properties */

}
0
Abiel de GrootDeveloperAuthor Commented:
many thanks

A.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.