|
|
#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! |
|
|
|
|
|
#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... |
|
|
|
|
|
#3 | |
|
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
|
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 |
|
|
|
|
|
|
#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 |
|
|
|
|
|
#5 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
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. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hebrew align problems | user743 | Kindle Formats | 2 | 06-20-2014 12:33 PM |
| Image within a title: how to align? | roger64 | ePub | 18 | 05-09-2014 06:39 AM |
| need help on how to align a table to the right | NASCARaddicted | ePub | 6 | 02-18-2011 02:46 PM |
| I can not align the text...help please! XD | derfel_spain | ePub | 17 | 12-18-2010 10:45 AM |
| Justify align in RTF? | griffbrad | Sony Reader | 6 | 11-27-2006 04:25 PM |