04-25-2012, 10:59 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Nook Color
|
Sidebarissue
Hi there,
I am formatting an epub with a sidebar at 30% of the page with the main body text wrapping around it. However, for one sidebar in particular, it is placed near the end of a subchapter. Depending on font size, the next subchapter may also wrap around the sidebar. Is there a way to prevent this next subchapter from wrapping around my sidebar? I cannot make it start on a new page because that is not what my client wants. But I'm a bit stuck. So you have some idea of code, I have div element for the sidebar, floating right div element for story text p element that i want to wrap p element that I DON'T want to wrap |
04-25-2012, 11:21 AM | #2 |
Grand Sorcerer
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
|
You might try P { clear: left }, legal values include left, right, both. I am showing CSS syntax.
Dale |
Advert | |
|