troubleshooting Question

Question regrarding page breaks, Best Practice

Avatar of btintermedia
btintermedia asked on
CSSHTML
6 Comments1 Solution194 ViewsLast Modified:
I am working on redeveloping/tweaking or web site content management system.

The way that our system works is that you add "content sections" to a page, which consist of a picture, a title, and a paragraph body. These all execute from the same code, which repeats for each time there is a record row in the database.

I have built into the system, the ability to put in spacer sections, which consist of transparent gifts of various selectable sizes.

If you go to www.graceforcleveland.org,  you can see that on the index page, the two content sections, flow/wrap around each other on the page. I want this to be an option,  but I also want the user to be able to force a page break between the sections. What is the best way to do that?

I want to be able to place a code snippet that will prevent a smaller picture/and or text body to not wrap around or under a larger picture that may potentially proceed it. Through (if desired) this can be an interesting option - the user may want clear declinations between content sections.

what is the best way to do this? I know that <Br><br> will only create hard returns and line spaces, and if the preceding graphic is really big, then much many more <br>'s will be required, but then if the initial/preceeding graphic is made smaller, then there is a huge space where the <br>'s are. this is not good design. I need a code snipped the prevent sections from flowing into/wrapping around others.

ASKER CERTIFIED SOLUTION
btintermedia

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros