On Sun, 4 Nov 2012, Koen van der Drift wrote:
Consider the following html5 and css code:
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../styles/reset.css"> /* from
http://meyerweb.com/eric/tools/css/reset/reset.css */
<link rel="stylesheet" href="../styles/main.css">
</head>
<body>
<article>
<ul class="test">
<li>one</li>
<li>two</li>
</ul>
</article>
</body>
</html>
main.css:
.test ul
{
list-style: disc;
}
Only when I remove the link to reset.css, I see the <ul> with the
disc. Otherwise I see no style. The paths are all ok, I can change
other things with the css file.
How can I have my lists have the disc?
Restore some left margin to UL and remove this rule:
ol, ul {
list-style: none;
}
--
Chris F.A. Johnson, <http://cfajohnson.com/>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/