Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2013, 08:44 AM   #1
John123
Connoisseur
John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40
 
John123's Avatar
 
Posts: 74
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle
New to CSS

Hi All,

Up until now I have not used CSS on my work, for the simple reason to keep everything clean and accessible to most Ebook readers. I now understand this to be incorrect and that most devices will interpret CSS successfully.

Can anyone point me in the direction of good tutorials in CSS? Or are there good ebook templates available.

My books are pretty simple affairs which will have, usually: Chapter Number, Chapter Title, full out and indented paragraphs and line spaces to denote timeline breaks within chapters.

Sometimes they may also include: Chapter Subheading, A, B and C subheads, Extracts and Poetry.

I do understand CSS in its most basic form but when it comes to div, span, class etc. I am a complete beginner.

I am a "one-man-band" and do get paid, very badly it must be said, so this is a commercial venture, I will understand any reticence on anyone's part to help. But, at the end of the day, we are all, I think, interested in making ebooks as nice and accessible as possible ... correct me if I'm wrong.

Anyway, guys and gals, thanking you all in advance.

John.
John123 is offline   Reply With Quote
Old 03-08-2013, 09:53 AM   #2
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 755
Karma: 3058207
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-505, PRS-T2
W3Schools tutorial http://www.w3schools.com/css/css_intro.asp.
Good luck
Pablo is offline   Reply With Quote
Old 03-08-2013, 09:12 PM   #3
HYPE
Zealot
HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.HYPE ought to be getting tired of karma fortunes by now.
 
HYPE's Avatar
 
Posts: 141
Karma: 1057076
Join Date: Dec 2012
Location: Québec
Device: Kindle PW
Hi John,

I would personally recommend picking up a book on HTML & CSS. I haven't looked at w3schools' tutorial on CSS, but a general advice would be to stay as far as possible from that site. From what I've saw and read from others, they often teach bad habits.

I can't recommend any book though, because the one that I've used wasn't in English.

Edit : Now that I think about it, buying a book on HTML & CSS for the sole purpose of making ebooks would probably be overkill, especially time-wise. In this case, I would recommend something more like this tutorial. It's free and seems very high quality.

Last edited by HYPE; 03-08-2013 at 09:16 PM.
HYPE is offline   Reply With Quote
Old 03-08-2013, 11:35 PM   #4
Turtle91
Guru
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: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
Hype, thank you. I'll take a look at those videos. Free is always good!

I am surprised to hear you think W3schools teaches bad habits. They are pretty much the only site I've used (they're free too). Well, I mostly use just their reference pages which explain each command and how to use it. I have read through their tutorials once, but didn't notice any bad habits - at least that I'm aware of...

What bad habits are you referring to??
Turtle91 is offline   Reply With Quote
Old 03-09-2013, 01:59 AM   #5
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 2,315
Karma: 3868918
Join Date: May 2008
Location: Launceston, Tasmania
Device: Kindle3, Kobo Touch, Sony PRS T3, Nexus 7, iPad mini
I've used HTML, XHTML, & CSS by Elizabeth Castro for years - from when I dabbled in webdesign - and found it very helpful. She has a later book, EPUB Straight to the Point which is also very helpful even though it has an emphasis on iBooks and InDesign, and is a little out of date now. Another shorter book is Teach Yourself CSS in 10 minutes, by Russ Weakley

I found what skills I had in designing websites directly applicable to designing ebooks, and am very glad I had that background.
AlexBell is offline   Reply With Quote
Old 03-10-2013, 08:41 AM   #6
John123
Connoisseur
John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40
 
John123's Avatar
 
Posts: 74
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle
Hi All,

Thanks for the info.

One other thing; am I better keeping books to "web safe" serif fonts: Times, Palatino and Georgia. Or is using, say, Baskerville, Plantin, Bembo, etc. risky? Would some devices use fallback to a web safe serif font?

Cheers,

John.
John123 is offline   Reply With Quote
Old 03-10-2013, 09:00 AM   #7
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 755
Karma: 3058207
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-505, PRS-T2
Quote:
Originally Posted by John123 View Post
Hi All,

Thanks for the info.

One other thing; am I better keeping books to "web safe" serif fonts: Times, Palatino and Georgia. Or is using, say, Baskerville, Plantin, Bembo, etc. risky? Would some devices use fallback to a web safe serif font?

Cheers,

John.
If you want to use a particular font in your book, you have to embed it in the book.

Font embedding is not a good idea anymore, as many readers have user-selectable fonts these days. Embedding a font for the body text will usually disable this feature.

Font embedding is useful when used for titles, letters, newspaper clips, etc., that is, when you want to differentiate a portion of text from the main text of the book.
Pablo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADE breaks CSS --> CSS Validation: Parse Error / Value Error dasboeh ePub 4 12-10-2012 04:25 AM
Need help with css again BeccaPrice Calibre 15 07-25-2012 12:02 AM
Override ePub CSS with userStyle.css? barium Sony Reader Dev Corner 11 07-16-2011 04:25 PM
epub CSS versus "Regular" CSS konrad ePub 4 02-18-2011 10:29 AM
css pseudo elements and adjacent combinators in extra css? ldolse Calibre 2 12-21-2010 06:09 PM


All times are GMT -4. The time now is 10:34 AM.


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