![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2013
Location: Melbourne, Australia
Device: kindle paperwhite v2
|
Quick html code question...
In 'code' view I've noticed this: </span> <span class="text3"> in some of my paragraphs, but not in most others. Is it doing anything, or can I run through my text and remove them all? Is it something to do with line length/justification, or what? NOT to be confused with switching to italics and back again, obviously.
Thanks, |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
That depends on what class="text3" is. Check your stylesheet for the
Code:
.text3 { ... } |
![]() |
![]() |
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Also check what class the previous span is (which would end with the </span>) - if it is text3 class then you should be safe
|
![]() |
![]() |
![]() |
#4 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
<span class="text3"> and the closing </span>. This is what will be affected by "class="text3"". Look in your stylesheet to see what this does. It's an arbritary label, it could be defined as almost anything! This could be the beginning of you learning about HTML and css. Or it could be you preparing to break your eBook. Uninformed "tidying up" is one of the most destructive things a computer user can do. At least make a copy of your file before experimenting! |
|
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yes, if text3 doesn't do anything, just delete THAT span. If it does do something, BUT the previous span is ALSO text3, delete the </span> <span class="text3"> to merge the two sections together.
If both spans do noting, then delete both. If you are going to make use of code view, you might want to learn html + css so you can use it properly, and more importantly, SAFELY. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML code in epub book | Giselleco | Kobo Reader | 4 | 07-26-2011 01:33 PM |
Ticker Factory HTML code | jbcohen | Feedback | 4 | 04-08-2011 06:59 AM |
Html to Epub - Quick question | carmenchu | Conversion | 0 | 02-22-2011 05:37 AM |
Troubleshooting HTML code in text files | LeoBloom | Amazon Kindle | 1 | 12-12-2010 02:25 PM |
Quick way to convert multipage html to ereader format | Waba | Workshop | 0 | 05-05-2010 05:25 PM |