03-08-2013, 07:44 AM | #1 |
Connoisseur
Posts: 82
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle, hudl2
|
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. |
03-08-2013, 08:53 AM | #2 |
Guru
Posts: 970
Karma: 4999999
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 |
Advert | |
|
03-08-2013, 08:12 PM | #3 |
Groupie
Posts: 178
Karma: 1057078
Join Date: Dec 2012
Device: Kobo Aura One
|
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 08:16 PM. |
03-08-2013, 10:35 PM | #4 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
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?? |
03-09-2013, 12:59 AM | #5 |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
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. |
Advert | |
|
03-10-2013, 07:41 AM | #6 |
Connoisseur
Posts: 82
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle, hudl2
|
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. |
03-10-2013, 08:00 AM | #7 | |
Guru
Posts: 970
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-505, PRS-T2
|
Quote:
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ADE breaks CSS --> CSS Validation: Parse Error / Value Error | dasboeh | ePub | 4 | 12-10-2012 03:25 AM |
Need help with css again | BeccaPrice | Calibre | 15 | 07-24-2012 11:02 PM |
Override ePub CSS with userStyle.css? | barium | Sony Reader Dev Corner | 11 | 07-16-2011 03:25 PM |
epub CSS versus "Regular" CSS | konrad | ePub | 4 | 02-18-2011 09:29 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |