Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2010, 07:43 AM   #1
AWOL
Junior Member
AWOL began at the beginning.
 
AWOL's Avatar
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: none
code help

Hello Everyone,

Does know how to keep this paragraph like this:



in center alignment. Please show me the code

i'm a noob
AWOL is offline   Reply With Quote
Old 11-18-2010, 11:21 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by AWOL View Post
Hello Everyone,

Does know how to keep this paragraph like this:



in center alignment. Please show me the code

i'm a noob
IMHO: Center is not good for ingredients (ragged left is hard to track with eyes)

My 1st ingredient out-dent does not work
but you can get the idea
4 sections

Title
Glass
Ingredients
Preparation
Attached Files
File Type: epub brandy_ttest.epub (2.5 KB, 196 views)
theducks is offline   Reply With Quote
Advert
Old 11-18-2010, 03:49 PM   #3
Fabe
Dylanologist
Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.
 
Fabe's Avatar
 
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
Not a perfect solution, but the best one I came up with today.
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Cocktails</title>

<style type="text/css">
p {text-align: left;}
.center {text-align: center;}
.indent {margin: 0 0 0 40px; padding: 0px;}
</style>
</head>

<body>
<p class="center">Brandy Cocktail.<br />
(Use small bar-glass.)</p>

<p>Take 3 or 4 dashes of gum syrup.<br /></p>

<p class="indent">2 dashes of bitters (Boker's or Angostura).<br />
1 wine-glass of brandy.<br />
1 or 2 dashes of Curacoa.<br /></p>

<p>Fill the glass one-third full of shaved ice, shake up well and strain into a cocktail glass. Twist a small piece of lemon rind in it and serve.</p>
</body>
</html>
Fabe is offline   Reply With Quote
Old 11-18-2010, 05:33 PM   #4
AWOL
Junior Member
AWOL began at the beginning.
 
AWOL's Avatar
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: none
A big thank you for everybody's help so far.

Question: Will tables work for that?
AWOL is offline   Reply With Quote
Old 11-18-2010, 06:08 PM   #5
Fabe
Dylanologist
Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.Fabe has survived committing the World's Second Greatest Blunder.
 
Fabe's Avatar
 
Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
Quote:
Originally Posted by AWOL View Post
Question: Will tables work for that?
Ah, No.
Fabe is offline   Reply With Quote
Advert
Old 11-18-2010, 06:18 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,944
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by AWOL View Post
A big thank you for everybody's help so far.

Question: Will tables work for that?
Tables are not well supported on many reader devices.

I would guess you might want to use (a reader device) one , since the document was small

The Index would be cool (not being a boozer, I don't know much about the organization)

h1 : ??
h2: Primary booze (Brandy)
h3: drink recipes
h2: Gin
h3:
h2:Rye ...
theducks is offline   Reply With Quote
Old 11-18-2010, 06:27 PM   #7
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,463
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 Fabe View Post
Ah, No.
Ditto. Not only NO, but hell NO. Particularly not if you are contemplating any sort of future conversion to mobi or prc or azw; you'd be totally hosed.

Hitch
Hitch is offline   Reply With Quote
Old 11-19-2010, 11:50 AM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Hitch View Post
Ditto. Not only NO, but hell NO. Particularly not if you are contemplating any sort of future conversion to mobi or prc or azw; you'd be totally hosed.

Hitch
Well that is certainly not ePUB's fault. Actually my Astak device does pretty well with ePUB tables if they are small.

Dale
DaleDe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
QR code for MR Donnageddon Lounge 81 10-04-2011 06:28 PM
Let's create a source code repository for DR 800 related code? jraf iRex 3 03-11-2010 12:26 PM
Some help with code Crusader ePub 5 01-01-2010 10:23 PM
Hi all — and see the code sigizmund Introduce Yourself 2 12-18-2009 02:53 AM


All times are GMT -4. The time now is 12:40 AM.


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