03-02-2010, 06:52 PM | #346 | |
Banned
Posts: 2,094
Karma: 2682
Join Date: Aug 2009
Device: N/A
|
Quote:
In some cases, additional verbosity can lead to slower load times. However, there are many causes where the direct opposite is true - by being specific, you can eliminate areas where the software has to look up defaults, make assumptions based on other data and generally "decide what to do". For example, handling inheritance in CSS is often extremely slow, since there are multiple, often conflicting rules which must be applied. While something like XPath is overkill, a better defined inheritance model - which would almost certainly be more verbose - would be considerably faster. (Also, CSS is not code, it's script!) |
|
03-02-2010, 07:38 PM | #347 |
Guru
Posts: 692
Karma: 27532
Join Date: Dec 2007
Device: Ebookwise 1150 / 1200
|
|
Advert | |
|
03-02-2010, 11:12 PM | #348 |
Guru
Posts: 692
Karma: 27532
Join Date: Dec 2007
Device: Ebookwise 1150 / 1200
|
Here's a timely article from Smashing Magazine: "The Future Of CSS Typography".
http://www.smashingmagazine.com/2010...uture-of-text/ |
03-02-2010, 11:37 PM | #349 |
Banned
Posts: 2,094
Karma: 2682
Join Date: Aug 2009
Device: N/A
|
"One of the most common CSS-related mistakes made by budding Web designers is creating inflexible style sheets that have too many classes and IDs and that are difficult to maintain."
Heh. One of the common mistakes web designers make when they gain a bit of experience is not defining enough and trying to rely on CSS's inheritance rules. Several experienced web designers I've worked with prefer to specify everything by managing the CSS creation with their own scripts - it's the only way to get things working properly (not to mention generating the different style sheets you need for each browser layout engine (the three different IE style sheets...)) When people resort to that sort of hackery, you know something is up. Sigh. |
03-03-2010, 06:30 AM | #350 | |
The Dank Side of the Moon
Posts: 35,872
Karma: 118716293
Join Date: Sep 2009
Location: Denver, CO
Device: Kindle2; Kindle Fire
|
Quote:
CSS should die. |
|
Advert | |
|
03-03-2010, 07:39 AM | #351 | ||
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
Just as an aside...
Quote:
Quote:
http://history.nasa.gov/spacepen.html, http://www.thespacereview.com/article/613/1 and http://www.snopes.com/business/genius/spacepen.asp for more info. |
||
03-03-2010, 09:23 AM | #352 |
Banned
Posts: 2,094
Karma: 2682
Join Date: Aug 2009
Device: N/A
|
Beat you to it (end of the post) :P
|
03-04-2010, 09:03 AM | #353 | |
Addict
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
|
Quote:
The similarity of the formats is one thing, and I firmly believe ePub has potential to become an excellent format, but at the moment it is, for my reading purposes, somewhere between annoying and useless. This is primarily down to the capability I am used to with reading FB2. Anyone who has not used FB2 will not miss the capability, hence ePub probably seems good. But for me ePub, and Mobi, are both a step backwards in terms of the flexibility and ease with which I can read FB2 format books. The one area where that is not true is with linking, as I have not found a way to follow links when reading FB2 books. But I work around this by placing footnotes and so on near the marked text when I create the book. I think, to be honest, this is another renderer issue as the format seems to support links, so it could be placed in the same class as most of the current ePub issues. FB2 was never going to be a viable choice - it was not developed by the movers and shakers with a stake in the business end of eBooks (such as Adobe) and I guess in many ways it's also getting old now (10+ years or so?). I am extremely biased - I don't think I've ever hidden that fact - as FB2 was my first real eBook format and as such I probably have sentimental as well as practical reasons to love it. But love it, I do, and I'm yet to find a good reason to move away from it - every other format is easily convertible to FB2, so perhaps in the end the "winning" format is somewhat irrelevant so long as the tools remain to allow users to read any format they wish? The ultimate in flexibility... |
|
03-05-2010, 01:08 AM | #354 | |
Samurai Lizard
Posts: 14,456
Karma: 68242830
Join Date: Nov 2009
Device: NookColor
|
Quote:
One way via the use of commonly established defaults. The only time coding is needed is if it isn't the default. As an example, the default is one blank line between each paragraph (the amount of space is determined by the font in use), but this can easily be changed from this starting point. But if the default is fine no coding is needed. Another way that might work even better is to avoid formatting within the ebook itself. Instead, the parts of the ebook are tagged to indicate what they are (such as Main Body, Chapter Heading, Page Header, and Page Footer) without any indication how they are to be displayed. This is one of the ideas behind CSS (separating the formatting of the text from what the text is). The way the text will be displayed is handled by the ebook reader itself via a set of display defaults (such setting the reader to display the Main Body in Times New Roman 12 point with a 36 point indent on the first line of each paragraph and no blank space after the paragraph). The advantage of this is that the same ebook can be used on various ereaders, and each reader can be set to display the text in a manner suitable for it. It also avoids the problem of some types of formatting (such as full justification, and certain fonts) not being available since it's an issue of the ereader, not the ebook format. |
|
03-05-2010, 06:01 AM | #355 | |
Addict
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPhone Convert epub format to kindle for iPhone format. Is it possible? | thecyberphotog | Apple Devices | 16 | 03-14-2013 02:04 AM |
Win Vista to Win 7 Upgrade messed up Calibre | Amy44 | Calibre | 2 | 06-01-2010 11:12 PM |
Unutterably Silly Who Will Win The Most Gold? | desertgrandma | Lounge | 187 | 03-02-2010 04:24 PM |
If Only I Could Win..... | PeeBus | Sony Reader | 2 | 06-11-2009 10:03 PM |
Master Format for multi-format eBook Generation? | cerement | Workshop | 43 | 04-01-2009 01:00 PM |