07-30-2014, 01:29 PM | #1 |
Zealot
Posts: 109
Karma: 100001
Join Date: Dec 2009
Device: Kindle
|
Attribute 'align'
Since my other question was answered so quickly in another thread (Thanks Albert!) I thought I should open a new thread for my other problem.
The Sigil validator is complaining about my Section0001.xhtml file: 1) attribute 'align' is not declared for element 'h1' and 2) attribute 'align' is not declared for element 'p' Does this make sense to anybody? As always, thanks in advance! |
07-30-2014, 01:47 PM | #2 |
Zealot
Posts: 109
Karma: 100001
Join Date: Dec 2009
Device: Kindle
|
I figured it out myself!
Instead of leaving it centered in the original document, I centered it using Sigil's centering button after I'd loaded the plain text. No errors! Thanks. I'm sure I'll be back... |
07-30-2014, 04:04 PM | #3 | |
Well trained by Cats
Posts: 29,764
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
IMHO use a stylesheet entry (and class="whatever" where needed) if the styling is going to be use repeatedly, that way changing you mind is real easy |
|
09-05-2014, 09:44 AM | #4 |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2014
Device: kindle
|
I am having the same problem.
attribute 'align' is not declared for element 'p' (and others h1...) It is even happening in the TOC which Sigil created Theducks stated above, "IMHO use a stylesheet entry (and class="whatever" where needed)" not quiet sure what that means and how it may apply to my doc |
09-05-2014, 10:13 AM | #5 | |
Grand Sorcerer
Posts: 27,542
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The solution is the same as above: get rid of all "align=" stuff from your tags. It's not valid. Convert them to inline styles or css. Highlight some text in Book View and then click one of Sigil's wysiwyg alignment buttons if you want to see an example of how it's properly done with inline styles. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hebrew align problems | user743 | Kindle Formats | 2 | 06-20-2014 11:33 AM |
Image within a title: how to align? | roger64 | ePub | 18 | 05-09-2014 05:39 AM |
need help on how to align a table to the right | NASCARaddicted | ePub | 6 | 02-18-2011 01:46 PM |
I can not align the text...help please! XD | derfel_spain | ePub | 17 | 12-18-2010 09:45 AM |
Justify align in RTF? | griffbrad | Sony Reader | 6 | 11-27-2006 03:25 PM |