|
|
#1 |
|
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,049
Karma: 2006208
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 09:13 AM. Reason: corrected |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,271
Karma: 61916422
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,049
Karma: 2006208
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,616
Karma: 28549044
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.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No class found to change it | jjk | Editor | 2 | 01-23-2022 02:51 AM |
| Kobo dictionary: No definition found | will_rose | Kobo Reader | 3 | 10-18-2021 01:10 AM |
| Main class not found when trying to launch my kindlet | sega dude | Kindle Developer's Corner | 3 | 07-18-2016 06:20 PM |
| Aura H2O MicroSDHC card class 4 or class 10? | chipro12 | Kobo Reader | 5 | 07-04-2015 03:24 AM |
| Kindlet Dev SOS: Main class not found | cubemike99 | Kindle Developer's Corner | 7 | 02-09-2013 10:38 AM |