|
|
#16 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
|
Quote:
![]() https://www.mobileread.com/forums/sh...d.php?t=341035 |
|
|
|
|
|
|
#17 | ||
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,397
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/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 07:34 PM |
| Calibre and FORMATTING how to stop it altering my formatting? | nerys | Calibre | 37 | 07-23-2010 03:35 AM |
| Calibre and FORMATTING how to stop it altering my formatting? | nerys | Calibre | 0 | 02-28-2010 05:51 PM |
| line formatting formatting question | daesdaemar | Workshop | 9 | 02-06-2009 12:47 PM |