GilesGuthrie
Staff Emeritus
- 11,038
- Edinburgh, UK
- CMDRTheDarkLord
I want to create an unordered (i.e. bullet) list, but HTML indents this by default, which I do not want.
I feel sure that I should be able to stop this happening by redefining either the <ul> or <li> tags in my CSS file, but haven't been able to manage it yet.
Anyone got any ideas?
Also, I've redefined the <p> tag to set default attributes for the body text font. Is there any way I can make other tags (such as <iul>, <li>) pick up these definitions automatically? Currently I'm having to manually specify font size and styles in each tag as I redefine it, which is a pain, although not so much of a pain as having to manually format each line of text!
If you've read this post, you'll now understand my "Starting to Cascade" custom title!![Smile :) :)](/wp-content/themes/gtp16/images/smilies/smile.svg?v=3)
I feel sure that I should be able to stop this happening by redefining either the <ul> or <li> tags in my CSS file, but haven't been able to manage it yet.
Anyone got any ideas?
Also, I've redefined the <p> tag to set default attributes for the body text font. Is there any way I can make other tags (such as <iul>, <li>) pick up these definitions automatically? Currently I'm having to manually specify font size and styles in each tag as I redefine it, which is a pain, although not so much of a pain as having to manually format each line of text!
If you've read this post, you'll now understand my "Starting to Cascade" custom title!