Oct. 12th, 2016
(no subject)
Oct. 12th, 2016 03:36 pmO All-Knowing Dreamwidth: So how does one go about using HTML/CSS to justify text inside <ul> or <ol> tags?
I ask because I'm messing with a proofreading project and I'm working in raw HTML/CSS and hoping internet tutorials give me anything I don't already know but need to, and I've got the <p> tags defined as text-align:justify, but I can't figure out how to make that apply to my list tags. The list items are all showing left-aligned in both Firefox and Microsoft Word, which, since I got everything else justified or centered where I want it, hurts my eyes.
(I downloaded Microsoft Office 365—via the Oregon State University portal; this makes it free to me for either a year or till I graduate, I'm not sure—just to see how this project works when I open the html file in a properly functioning word processor. Dear LibreOffice team: I HOPE YOU'RE HAPPY.)
(LibreOffice doesn't play nice with html files, apparently; it just shows me the raw HTML, which I see just as well and indeed better in jEdit. I am delighted to note that Word knows what to do with the <ul> and <ol> tags better than Firefox apparently does.)
ETA: I figured out how to CSS the <li> tags and we are all better!
I ask because I'm messing with a proofreading project and I'm working in raw HTML/CSS and hoping internet tutorials give me anything I don't already know but need to, and I've got the <p> tags defined as text-align:justify, but I can't figure out how to make that apply to my list tags. The list items are all showing left-aligned in both Firefox and Microsoft Word, which, since I got everything else justified or centered where I want it, hurts my eyes.
(I downloaded Microsoft Office 365—via the Oregon State University portal; this makes it free to me for either a year or till I graduate, I'm not sure—just to see how this project works when I open the html file in a properly functioning word processor. Dear LibreOffice team: I HOPE YOU'RE HAPPY.)
(LibreOffice doesn't play nice with html files, apparently; it just shows me the raw HTML, which I see just as well and indeed better in jEdit. I am delighted to note that Word knows what to do with the <ul> and <ol> tags better than Firefox apparently does.)
ETA: I figured out how to CSS the <li> tags and we are all better!