![]() |
#1 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
css defiition
I have the following CSS definition. It works fine in the HTML viewers but has no effect in Sigil.
Code:
.smcap { font-variant: small-caps; } Charlie |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Are you using this with another selector? Code:
class="regular smcap" |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Code:
<span class="smcap"> ... </span> |
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() I could use one ![]() one typo and the whole selector becomes iffy ![]() Sigil does not render everything as coded. but small-caps did work. BTW I did find that I needed a "font-size: #em" in the style to make small-caps appear visually acceptable (not to get it to work) |
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Any chance you have specified a different font-face or that you do not have a small-caps version called out?
I tend to use the defaults, so I might not see this error. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
![]() I see the intent of "font-size: #em" , but have not found it in the book. I'll give it a try. May all of your descendents be not only beautiful but smart. ![]() |
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() em is a value that scales to the font, in, pt are fixed, "ruler" sizes and do not scale. I use 3-4 % (of the containing block) type sizes for my indents. The wider the screen (block), the more pronounced the Indent appears to the eye. % don't scale to the font, but to the display (block). Some of my best ideas, have been "borrowed" from examples here at MR (I think I even use one I spotted in your work). ![]() |
|
![]() |
![]() |
![]() |
#8 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Code:
<small> ... </small> ![]() If you find anything usable in my stuff, I'm tickelled. |
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
|
![]() |
![]() |
![]() |
#10 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
@Crutledge, @st_albert: small_caps not supported in mobi. I know, major suckage; I have a workaround somewhere around here....but it was a real "workAROUND" rather than anything simple...but it's like Dropcaps. I make BEAUTIMUS dropcaps in Sigil, and they look like fatty big bold letters in Mobi. {sigh}.
Hitch |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
css exceptions | Iain | ePub | 7 | 10-08-2010 03:45 AM |
Where is the stylesheet.css? | roger64 | Sigil | 4 | 03-23-2010 02:12 PM |
help with css | bobcdy | ePub | 2 | 02-13-2010 11:59 AM |
RSS and CSS ? | zelda_pinwheel | Calibre | 10 | 10-28-2009 11:15 PM |
Help with CSS, anyone? | rogue_ronin | Workshop | 36 | 08-14-2009 09:28 PM |