Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-28-2013, 11:53 AM   #16
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,110
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
put the a {...} in the css file.
Turtle91 is offline   Reply With Quote
Old 05-28-2013, 12:16 PM   #17
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,110
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by theducks View Post
the <a
takes precedence over your span
That's a new one for me...I guess I haven't run into that before because I just style the <a> in the css. I definitely need to read up on cascade priorities.

Thanks fer the learn'n!
Turtle91 is offline   Reply With Quote
Advert
Old 05-28-2013, 12:50 PM   #18
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,874
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Turtle91 View Post
That's a new one for me...I guess I haven't run into that before because I just style the <a> in the css. I definitely need to read up on cascade priorities.

Thanks fer the learn'n!
By precedence:
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.
theducks is offline   Reply With Quote
Old 05-28-2013, 02:20 PM   #19
djprescott
Enthusiast
djprescott began at the beginning.
 
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
djprescott is offline   Reply With Quote
Old 05-28-2013, 03:35 PM   #20
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
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;
}
crutledge is offline   Reply With Quote
Advert
Old 05-29-2013, 02:48 AM   #21
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by theducks View Post
and Malformed Anchor to boot
Anchors are links
Links get underlined by default
the <a
takes precedence over your span
Should it? I'd say it's a bug if it does, or there is something else.

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.
Jellby is offline   Reply With Quote
Old 05-29-2013, 06:33 AM   #22
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
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.
mrmikel is offline   Reply With Quote
Old 05-29-2013, 07:20 AM   #23
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,874
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Jellby View Post
Should it? I'd say it's a bug if it does, or there is something else.

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.
My eyes glaze over when I read spec sheets like that .

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 posted in various sections.
theducks is offline   Reply With Quote
Old 05-29-2013, 09:39 AM   #24
djprescott
Enthusiast
djprescott began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Feb 2013
Device: None
Quote:
Originally Posted by mrmikel View Post
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.

Thank you for pointing this out!
I will resolve this sharpish.
djprescott is offline   Reply With Quote
Old 05-29-2013, 10:46 AM   #25
djprescott
Enthusiast
djprescott began at the beginning.
 
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
djprescott is offline   Reply With Quote
Old 05-29-2013, 11:53 AM   #26
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,874
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by djprescott View Post
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
This is not a Sigil Question.
Please open a new thread in the proper forum.
Sigil is about making EPUB2
theducks is offline   Reply With Quote
Old 05-29-2013, 11:55 AM   #27
djprescott
Enthusiast
djprescott began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Feb 2013
Device: None
Okay, will do. Thanks
djprescott is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:59 PM.


MobileRead.com is a privately owned, operated and funded community.