View Single Post
Old 10-29-2010, 12:49 PM   #1
FlaSheridn
Junior Member
FlaSheridn began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2007
Device: iPad, iPhone, Kindle 1
Thumbs down CSS override working for font, not dd indent

I’ve got some poetry where the lines are marked with style dd, and I need to remove the left margin to fit on the iPhone, or iPad in two-page mode. The following does override the font (necessary for some Old English characters) but not the indentation. (I got the idea from http://www.the-art-of-web.com/css/format-dl/, plus some old CSS (tweaked and reversed) I use with Safari to get real paragraphs in normal text.)



dd { font-family: "Times New Roman, Times"; text-indent: 0em ! important; margin: 0 ! important; padding: 0 0 0 0 ! important}


(See also https://www.mobileread.com/forums/showthread.php?t=77553 and https://www.mobileread.com/forums/sho...d.php?t=104038.)
FlaSheridn is offline   Reply With Quote