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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-11-2013, 08:11 PM   #31
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Turtle91 View Post
That's just like people who use
.italic {font-style:italic}
<span class="italic">yadda yadda yadda</span>

instead of
em {font-style:italic}
<em>yadda yadda yadda</em>

Although I wouldn't call it laziness as much as "industrious bloat lovers that might not fully understand the code"...
Turtle:

Nah, it's neither bloat nor laziness. Let's not forget, gang: it's not about what something LOOKS LIKE; it's about what something IS. (I learned this lesson from Capidamonte, you guys may remember him, who I met here on MR. He is completely OCD, mind you, but he was right about this, and I never forgot it).

Using a paragraph class styled as a blockquote isn't really "wrong" (or a div, span, etc.), but it's not as precise as using a blockquote tag, which tells the device/reader that this is something structural. It's not simply another paragraph; it's something different. It's like the error we see here on the Sigil forums all the time--people using paragraph classes with styles instead of headers, or the other way around--using header classes to make something big and bold, instead of using CSS to style what is, after all, simply text.

When you pay attention to the structure, and code accordingly, it's more likely that the resulting file will render properly, or at least in some way that conveys the idea to the reader (much like nj's Courier-styled "blockquote" paragraph. Courier ain't beautiful, but it clearly conveys to his readers that what they are reading is set apart from the regular narrative flow). With so many reading apps out there that don't obey some CSS (Aldiko and the imaginatively-named ePUBReader for Droid come to mind, vis-a-vis some image-sizing issues), using the correct html for the correct elements may make the difference in getting the essence of the effect you want, in my humble opinion.

Hitch
Hitch is offline   Reply With Quote
Old 06-11-2013, 09:28 PM   #32
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,874
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Hitch View Post
using the correct html for the correct elements may make the difference in getting the essence of the effect you want, in my humble opinion.

Hitch
I do agree with your opinion 100%.

If you really want to see a mess, take a look at the code in the ePub edition of Abraham Lincoln: Vampire Hunter. It's <div>ed all over the place when it should be using <blockquote>s.
JSWolf is online now   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does <blockquote> need <p> tags? phossler Sigil 3 05-11-2013 04:40 PM
Blockquote problem kamanza Conversion 2 01-20-2013 12:19 PM
blockquote grievance Kamikuza Amazon Kindle 4 11-04-2012 07:03 PM
blockquote over ride dicknskip Sigil 3 03-21-2011 04:44 PM
FBReader blockquote minigrrl PocketBook 3 03-09-2010 08:09 PM


All times are GMT -4. The time now is 06:47 AM.


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