View Single Post
Old 07-12-2011, 10:38 PM   #15
virtual_ink
Zealot
virtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheese
 
virtual_ink's Avatar
 
Posts: 107
Karma: 1000
Join Date: Sep 2010
Location: Melbourne, Australia
Device: iPad2, Kindle
Also, I can not for the life of me figure out how get his centered in iBooks.

I want to center the text 'PART I." and here's the code:

</head>
<body>
<div id="chapter-6.html" xml:lang="en-GB">
<div class="center">
<h2 id="toc_marker-3" class="sectiontitle"><strong>PART I.</strong></h2>
</div>
</div>
</body>
</html>


the css for sectiontitle is:

h2.sectiontitle {
font-family : Georgia, serif;
font-weight : bold;
font-style : normal;
font-size : 1.17em;
text-decoration : none;
font-variant : normal;
line-height : 1.2;
text-align : center;
color : #818386;
text-indent : 0px;
margin : 0px 0px 16px 0px;
}


[and the div]

div.center {
text-align : center;
}

Last edited by virtual_ink; 07-13-2011 at 12:23 AM.
virtual_ink is offline   Reply With Quote