fodo
08-14-2008, 03:01 PM
I am trying to style an external css called by an ajax routine.
I have a simple page enclosed in a div that i want to style with a gray background. I also want an ul list.
The problem is I cant get the background to work in the div and nor the ul.
Any help appreciated.
The css code is
p.definition{
border:2px solid black;
text-align:left;
background-color:gray;
}
h2.definition{
font-weight:bold;
}
#definition {
background-color:gray;
}
the html mark up is
<div id="definition">
<h2 class="definition">Achieving Lift Off</h2>
<h2>Allan Wilson</h2>
<p class="definition">
"I'm stunned!.. This ebook is an aggregation of some of the most powerful marketing techniques being used on the Internet today not just by myself but other Internet Marketing Experts as well! Everything contained in this manual is enough to help anyone earn thousands per month on the internet. It's just up to you to do it. Highly recommended!"
<ul>
<li>mcmcmcmcm</li>
</ul>
</p>
</div>
</body>
</html>
I have a simple page enclosed in a div that i want to style with a gray background. I also want an ul list.
The problem is I cant get the background to work in the div and nor the ul.
Any help appreciated.
The css code is
p.definition{
border:2px solid black;
text-align:left;
background-color:gray;
}
h2.definition{
font-weight:bold;
}
#definition {
background-color:gray;
}
the html mark up is
<div id="definition">
<h2 class="definition">Achieving Lift Off</h2>
<h2>Allan Wilson</h2>
<p class="definition">
"I'm stunned!.. This ebook is an aggregation of some of the most powerful marketing techniques being used on the Internet today not just by myself but other Internet Marketing Experts as well! Everything contained in this manual is enough to help anyone earn thousands per month on the internet. It's just up to you to do it. Highly recommended!"
<ul>
<li>mcmcmcmcm</li>
</ul>
</p>
</div>
</body>
</html>