UL LI如何让文字(不含圆点)靠左对齐?
一般情况是:
●一二三四五六七八九十
一二三四五六七八九十
●一二三四五六七八九十
一二三四五六七八九十
但我希望能排成:
●一二三四五六七八九十
一二三四五六七八九十
●一二三四五六七八九十
一二三四五六七八九十
请问这部分CSS要怎麽写?
[解决办法]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>0000</title><style>p{ margin:5px 0px;}/*要想去掉点加 CSS list-style:none;*/</style></head><body><ul><li>一二三四五六七八九十<p>一二三四五六七八九十</li></ul><ul><li>一二三四五六七八九十<p>一二三四五六七八九十</li></ul></body></html>