01-14-2013, 10:04 AM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle Fire, iPad 2
|
XML 1.0 vs 1.1 does it really matter?
Most of the documents that I convert to ePub are Word docs with heavy formatting. Many times these are training/user manuals with small paragraphs, bullets, italicized and center headers and so on. If I have a XML1.1 document and I have a paragraph that is centered with <p align="center"> this gets flagged by FlightCrew, however if the XML is 1.0 it does not get flagged, I understand why it gets flagged in XML 1.1 (certain hmtl tags are being phased out) but my question is does it really matter if I use <p align="center>? Whether I use that or a CSS class to center the section it is centered either way. The reason I ask is that when if I copy and paste a paragraph from word to an HTML editor the centered text is designtated with <p align> Its not that difficult to create classes and do a find replace to the <p align> tags but why spend the extra time if in the end it works even though Flightcrew flags it.
|
01-14-2013, 10:37 AM | #2 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
The question might be how long these materials might be in use. If it is for a short term, then it probably makes not difference. But for the longer term, you could have trouble. Upgraded devices, new devices may require newer standards. But this has moved pretty slowly so far.
That said, it is much easier to maintain documents that use CSS than all these inline tags. One change in CSS is much easier to do than searching and replacing hundreds of times and potentially blowing up the formatting because of something you did not remember or anticipate. It may hinge more on the devices than on standards, since none completely adhere to standards, and some are worse than others. Be sure you are previewing all your fancy formatting on the target device(s). A lot of fancy formatting is lost on small devices of any sort. |
Advert | |
|
01-15-2013, 05:01 PM | #3 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Styles in the XML are just bad form and lazy. Put the styles in the CSS and use classes.
|
01-18-2013, 09:52 PM | #4 | ||
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
Quote:
Code:
.center { text-align: center; } |
||
01-19-2013, 06:14 AM | #5 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
However, <center> works in some readers like Sony where css does not.
|
Advert | |
|
01-19-2013, 08:35 AM | #6 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Ehm, as far as I know, only iBooks has issues (sometimes) with:
Code:
.center { text-align: center; } |
01-19-2013, 05:08 PM | #7 |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
|
01-19-2013, 05:12 PM | #8 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-20-2013, 04:16 AM | #9 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Except if you try something like:
Code:
<img class="centered" ... /> |
01-20-2013, 06:58 AM | #10 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Perhaps I was thinking of centering tables.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's the Matter with Batman | kennyc | Reading Recommendations | 0 | 07-15-2012 09:50 PM |
Does the format matter? | GA Russell | Astak EZReader | 15 | 09-06-2009 03:20 PM |
Does Size Matter? | BurBunny | Amazon Kindle | 28 | 02-22-2009 09:44 AM |
A matter of understanding | kaas | Kindle Formats | 3 | 02-03-2009 07:41 AM |