10-11-2021, 05:14 AM | #16 | |
Fanatic
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
|
Quote:
https://www.mobileread.com/forums/sh...d.php?t=341035 |
|
10-11-2021, 09:42 AM | #17 | ||
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
My question was: Quote:
Second - it's just silly to use a class to define an element as that element. Why would you use <p class="para"> when the <p> means it is a paragraph in the first place?? You would simply define your standard/normal/default paragraph styling in your CSS, then use a class for any paragraph that is NOT standard. Code:
p {margin:0; text-indent:1.2em} //* or whatever you want *// p.red {font-weight:bold; color:red} <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p class="red">This is a red, bold, paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> <p>This is a normal paragraph.</p> |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KOBO] Strip existing formatting to apply my own default formatting to all books | digital_steve | Calibre | 2 | 08-10-2010 06:34 PM |
Calibre and FORMATTING how to stop it altering my formatting? | nerys | Calibre | 37 | 07-23-2010 02:35 AM |
Calibre and FORMATTING how to stop it altering my formatting? | nerys | Calibre | 0 | 02-28-2010 04:51 PM |
line formatting formatting question | daesdaemar | Workshop | 9 | 02-06-2009 11:47 AM |