![]() |
#16 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
put the a {...} in the css file.
|
![]() |
![]() |
![]() |
#17 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,904
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I declare a style to modify a tag Then I include a tag that has a default/style that is counter to the outer tag. Use the 'inspector' to see the 'calculated' results values. |
|
![]() |
![]() |
![]() |
#19 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Feb 2013
Device: None
|
THANK YOU SO MUCH FRIENDS!
That has sorted it out, and I am so relieved! All very best Dan |
![]() |
![]() |
![]() |
#20 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Underlines
Try this in your CSS
Code:
a:link { color:black; } a:visited { color:black; } a:hover { color:blue; } a:active { color:black; } a { text-decoration:none; } |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
See the spec: a { text-decoration: underline } -> specificity: 0,0,0,1 span.Hyperlinks { text-decoration: none } -> specificity: 0,0,1,1 so the second wins. |
|
![]() |
![]() |
![]() |
#22 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
On an entirely different subject, I noticed you had the Sabon MT font in your CSS. If you are trying to embed this font you may have problems. It may not work, but if it does and this is for public distribution, you need to be aware this is a proprietary font from Monotype.
From what I can see on their website, to use it in this manner requires a contract with Monotype which I suspect will cost as much to use as you will make off the book. |
![]() |
![]() |
![]() |
#23 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,904
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() ![]() I always thought inside-out (or last one changed) was the rule for precedence on nested tags. <A inside a <P does not lose its (default) properties just because the <P did. I will deffer to your expertise on this. You are the CSS Guru as I do borrow heavily from your code snippets ![]() |
|
![]() |
![]() |
![]() |
#24 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Feb 2013
Device: None
|
Quote:
Thank you for pointing this out! I will resolve this sharpish. |
|
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Feb 2013
Device: None
|
Hi all again
I have come across a further issue with this. Although this fix works in ePub, when i convert to .mobi through the Amazon converter, the lines get put back in. Does anyone know how i could remedy this? Many thanks Dan |
![]() |
![]() |
![]() |
#26 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,904
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Please open a new thread in the proper forum. Sigil is about making EPUB2 |
|
![]() |
![]() |
![]() |
#27 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Feb 2013
Device: None
|
Okay, will do. Thanks
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove contents page underlines in epub book using Sigil | Andy Sinden | Sigil | 30 | 12-16-2012 10:09 AM |
removing top margin/header/border with sigil genereated epub | jezzad | ePub | 9 | 03-16-2012 03:35 PM |
Mounted Device Conflicts with Toolbar Settings | LaneLester | Calibre | 4 | 08-11-2011 04:42 PM |
Can I stop Sigil from inserting sgc formatting commands? | ramjet1953 | Sigil | 4 | 11-22-2010 11:59 AM |
Hmmm, SGC's being added weirdness | Hitch | Sigil | 8 | 09-26-2010 04:01 AM |