[SOLVED] styling jQuery generated html
Hi guys.. I'm very new with jQuery thing and also with AJAX
I have created an AJAX page to load data dynamically. But I have a beginners problem.
In my page, I have displayed the data by using jQuery to form an ordered list inside a div.
Also I have a stylesheet that supposedly to change the list style to none and to display it inline.
-
<style type="text/css">
.qa_list_item
{
display: inline;
list-style-type: none;
padding-right: 20px;
}
</style>
The problem is the list doesn't follow the stylesheet I gave.
But if I created a static list (not using AJAX and not using jQuery) it will follow the stylesheet.
What am I missing here?