07-12-2011, 02:10 PM | #1 |
Enthusiast
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 |
07-12-2011, 04:45 PM | #2 |
Wizard
Posts: 1,196
Karma: 1281258
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. |
Advert | |
|
07-12-2011, 08:02 PM | #3 |
Media Bloke
Posts: 2,381
Karma: 113956855
Join Date: Sep 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.
|
07-12-2011, 08:42 PM | #4 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: none
|
Quote:
|
|
07-12-2011, 08:59 PM | #5 |
Media Bloke
Posts: 2,381
Karma: 113956855
Join Date: Sep 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. |
Advert | |
|
07-12-2011, 11:40 PM | #6 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: none
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
We Rule Kingdom Picture Thread | Lotus Esprit | Apple Devices | 2 | 02-08-2011 12:03 AM |
Will One Device Rule Them All... Or Not | thymaster | General Discussions | 65 | 11-23-2010 01:19 PM |
How do I centre a horizontal rule? | AlexBell | ePub | 12 | 10-06-2010 03:09 AM |
We Rule Hits 3 Million Users | Lotus Esprit | Apple Devices | 1 | 08-08-2010 11:50 AM |
Rule of Thumb, US Copyright | Poppa1956 | General Discussions | 24 | 06-23-2010 04:38 AM |