|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Nook Color
|
Sidebarissue
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 |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,687
Karma: 3644259
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
|
You might try P { clear: left }, legal values include left, right, both. I am showing CSS syntax.
Dale
__________________
Dale DePriest http://pages.suddenlink.net/dalede or http://daledepriest.wikispaces.com currently using an EZ Reader or a Literati or my iPad. |
|
|
|
|
Enthusiast
|
|
![]() |
| Thread Tools | Search this Thread |
|