Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2013, 07: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: 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.
John123 is offline   Reply With Quote
Old 03-08-2013, 08: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: 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
Pablo is offline   Reply With Quote
Advert
Old 03-08-2013, 08:12 PM   #3
HYPE
Groupie
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: 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.
HYPE is offline   Reply With Quote
Old 03-08-2013, 10:35 PM   #4
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,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??
Turtle91 is offline   Reply With Quote
Old 03-09-2013, 12: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: 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.
AlexBell is offline   Reply With Quote
Advert
Old 03-10-2013, 07: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: 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.
John123 is offline   Reply With Quote
Old 03-10-2013, 08: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: 970
Karma: 4999999
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


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


All times are GMT -4. The time now is 01:56 PM.


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