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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2011, 03:10 PM   #1
dezignlady
Enthusiast
dezignlady began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: none
ID: Rule Above and Below

InDesign CS5

I have a style sheet that calls for a rule above and below. When I do the export these rules are lost? Is that normal if so how do I format the CSS to get them back?

thanks
dezignlady is offline   Reply With Quote
Old 07-12-2011, 05:45 PM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,188
Karma: 727236
Join Date: Sep 2009
Device: PRS-505
While InDesign allows rules to be added to a paragraph's style, css doesn't allow that. Unfortunately you will need to edit the xhtml after export and add <hr /> tags above and below the relevant paragraphs (these can be styled in css to alter the width and thickness).

It might be an idea to consider whether you can use different styling (such as a block indent) to achieve the same function.
charleski is offline   Reply With Quote
 
Advertisement
Old 07-12-2011, 09:02 PM   #3
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,377
Karma: 113956855
Join Date: Oct 2010
Location: NSW - Australia
Device: iOS
I did a book that separated sections with hr tags but it wouldn't validate until I removed them. It still worked and looked good but didn't pass.
wannabee is offline   Reply With Quote
Old 07-12-2011, 09:42 PM   #4
dezignlady
Enthusiast
dezignlady began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: none
Quote:
Originally Posted by charleski View Post
While InDesign allows rules to be added to a paragraph's style, css doesn't allow that. Unfortunately you will need to edit the xhtml after export and add <hr /> tags above and below the relevant paragraphs (these can be styled in css to alter the width and thickness).

It might be an idea to consider whether you can use different styling (such as a block indent) to achieve the same function.
Would that be the same as adding a border top and bottom in the CSS?
dezignlady is offline   Reply With Quote
Old 07-12-2011, 09:59 PM   #5
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,377
Karma: 113956855
Join Date: Oct 2010
Location: NSW - Australia
Device: iOS
<hr /> tags create horizontal rules. A line that, unchanged in the CSS, goes horizontally across the entire width of the page.

The attributes can be changed in the CSS.

Do you plan on putting the ePubs into online bookstores? Because I found they don't validate with HR tags.
wannabee is offline   Reply With Quote
Old 07-13-2011, 12:40 AM   #6
dezignlady
Enthusiast
dezignlady began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: none
Quote:
Originally Posted by wannabee View Post
<hr /> tags create horizontal rules. A line that, unchanged in the CSS, goes horizontally across the entire width of the page.

The attributes can be changed in the CSS.

Do you plan on putting the ePubs into online bookstores? Because I found they don't validate with HR tags.
ok good to know. Up to my eyeballs in shuffling pages around that didn't break where they should
dezignlady is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
We Rule Kingdom Picture Thread Lotus Esprit Apple Devices 2 02-08-2011 01:03 AM
Will One Device Rule Them All... Or Not thymaster General Discussions 65 11-23-2010 02:19 PM
How do I centre a horizontal rule? AlexBell ePub 12 10-06-2010 04:09 AM
We Rule Hits 3 Million Users Lotus Esprit Apple Devices 1 08-08-2010 12:50 PM
Rule of Thumb, US Copyright Poppa1956 General Discussions 24 06-23-2010 05:38 AM


All times are GMT -4. The time now is 06:30 PM.


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