12-10-2010, 11:25 AM | #1 |
Connoisseur
Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
Can you delete div with align=center
Can you delete div align="center" from newspaper recipes so that the text in the div is gone.
Thanks |
12-10-2010, 11:55 AM | #2 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
Advert | |
|
12-10-2010, 12:14 PM | #3 |
Connoisseur
Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
reply
All the text contained in the div align="center"
I have tried using dict(name='div', attrs={'id':['align="center"']}) |
12-10-2010, 01:39 PM | #4 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
dict(name='div', attrs={'align':'center'}) plus any "remove_tags =" or whatever. |
|
12-10-2010, 06:23 PM | #5 |
Connoisseur
Posts: 99
Karma: 170
Join Date: Nov 2010
Location: Airdrie Alberta
Device: Sony 650
|
Thanks it worked.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unwanted table-change (vertical align) by calibre | NASCARaddicted | Calibre | 2 | 01-27-2010 03:35 AM |
Kindle Intl seems have solved right align problem | rfog | Amazon Kindle | 0 | 10-26-2009 12:49 PM |
Delete files in PC not equal to delete in Sony reader 505 | sheilalayoli | Sony Reader | 5 | 07-12-2009 03:13 PM |
Exclude <div>s from processing in HTML2LRF | MTBSJC | Calibre | 1 | 02-13-2009 03:26 AM |
Justify align in RTF? | griffbrad | Sony Reader | 6 | 11-27-2006 03:25 PM |