July 20, 200917 yr Hi, I am having problems with my bullet points on this URL: http://www.wellards.co.uk/courses/nutrition_II/screen09.html On firefox they are showing, but not indenting, and in Internet Explorer they are not showing at all. What am I doing wrong?
July 20, 200917 yr On IE8 and Firefox they look pretty much the same, but it's missing within IE7. However you only have the one bullet at the top of the list to fix first, the problem there is the line breaks in the code instead of list items... you need thr <li> and </li> tags around each line in order for it to have a bullet. So, instead of <li>some sip feeds (ready-to-drink liquids and powders for reconstitution)<br /> some oral supplements (liquids, yoghurt type products and bars)<br /> gluten-free products — products listed in the <em>Drug tariff</em> and those not listed in the tariff (of which there are many) are increasingly available in grocery stores and pharmacies for individuals to buy</li> use <li>some sip feeds (ready-to-drink liquids and powders for reconstitution)</li> <li>some oral supplements (liquids, yoghurt type products and bars)</li> <li>gluten-free products — products listed in the <em>Drug tariff</em> and those not listed in the tariff (of which there are many) are increasingly available in grocery stores and pharmacies for individuals to buy</li> Positioning will probably need to be sorted with the CSS. Or, for pretty bullets, you can (amongst other methods)use 'list-style-type:none' in the CSS and a background image on the list item.
July 20, 200917 yr probably because u have *{margin:0;padding:0} in your CSS which resets all of the padding and margins. Try adding a class to your <ul> element with an attribute of padding-left:10px or something similar
July 20, 200917 yr IE and Firefox have different default side padding for the ul tag, and I find that setting ul to margin-left: 20px; ul { margin-left: 20px; } usually makes them both the same with bullets visible; as LYKC said, margin: 0; is probably hiding them in either IE of Firefox.
Create an account or sign in to comment