![]() |
#1 |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Class definition not always found
In texts, when you hold down CTRL and click on a class, you can jump to its definition in the CSS stylesheet.
Code:
Text: <p class="small">... Stylesheet: .small { font-size: x-small; } p.small { font-size: x-small; } Is this correct behavior? Last edited by DrChiper; 12-01-2022 at 08:13 AM. Reason: corrected |
![]() |
![]() |
![]() |
#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
|
<P class= not -
But it should have failed on either of your style definitions. And remember: The viewer is way too forgiving of errors. Device tests are needed. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
p.name is not a definition of .name only of how .name is applied to p tags.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No class found to change it | jjk | Editor | 2 | 01-23-2022 01:51 AM |
Kobo dictionary: No definition found | will_rose | Kobo Reader | 3 | 10-18-2021 12:10 AM |
Main class not found when trying to launch my kindlet | sega dude | Kindle Developer's Corner | 3 | 07-18-2016 05:20 PM |
Aura H2O MicroSDHC card class 4 or class 10? | chipro12 | Kobo Reader | 5 | 07-04-2015 02:24 AM |
Kindlet Dev SOS: Main class not found | cubemike99 | Kindle Developer's Corner | 7 | 02-09-2013 09:38 AM |