Everything shows up as I want except this bullet which is not displayed. However, I did write list-style-type:disc; like you can see in the CSS code for ul tag.
Moreover, if I remove display:block; from the li’s css code, then there is not break between li tags because of a previouse css code in the same CSS file.
I looked for another piece of code that might over-ride this but did not find it. Moreover, I tried to lower the css code I showed you to the bottom of the file which contains all the CSS code and it did not work either.
Moreover, if I remove display:block; from the li’s css code, then there is not break between li tags because of a previouse css code in the same CSS file.
If you set the list to display:block then it is no longer a list and no bullets will show.
There is no need to use display:block anyway unless you have previously set it to display:inline somewhere.
If you are trying to over-ride display:inline then turn it back into a list item width:
display:list-item
That should bring the bullets back
In your code above you are setting the padding-left for the bullet space but don’t forget that some browsers will already be using margin-left for this and therefore the space will be doubled. Set margin-left to zero for the ul and then just set padding-left.
I thought that a subsequent css code forcing this ul to display:list-item; would fix the issue, but it seems, once the first display:inline code is read for a particular ul tag, then it does not reconvert it to a list if it finds some code which does that later in the css code unless you set greater weight on the new rule like you said. You are a genius.
Thanks
If you declare something in two places, (same property, such as font color) then it will calculate which selector has the most weight. Whichever one has the greater weight will win out :).