paragraph frame doesn't recognise sidebar

This forum is for all Flare issues related to styles, stylesheets and XML.

paragraph frame doesn't recognise sidebar

Postby JimR on Tue Jun 18, 2019 4:15 pm

Hi,
I have a paragraph style that includes a frame around the paragraph, and my topics are set up to have a sidebar menu at the top of each topic.
When I use the framed paragraph style for body text at the start of a topic (where the sidebar is) the text itself wraps as it should so that it doesn't overlap the sidebar, but the frame extends for the full width of the page, underneath the sidebar.

I've tried different width settings for Box, Cell and Positioning for the paragraph style in question, but none of them seem to make the frame recognise the sidebar.

Any help much appreciated,

Cheers
Jim
JimR
Jr. Propeller Head
 
Posts: 2
Joined: Mon Jun 17, 2019 5:16 pm

Re: paragraph frame doesn't recognise sidebar

Postby ajturnersurrey on Wed Jun 19, 2019 6:13 am

ajturnersurrey
Sr. Propeller Head
 
Posts: 326
Joined: Fri Nov 05, 2010 3:30 am

Re: paragraph frame doesn't recognise sidebar

Postby doc_guy on Wed Jun 19, 2019 8:39 am

I have this trouble as well. I've never found a solution for it. The problem is that the background of the block extends all the way to the container. It is just the text that wraps, not the whole block that wraps. So you get this:

Image

You can clearly see this when you use your browser's inspector tools to look at the paragraph or div:

Image

I would welcome a solution if somebody knows of one, but I can't figure out what it would be. And I have spent some time thinking about it and researching it.
User avatar
doc_guy
Propellus Maximus
 
Posts: 1947
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West

Re: paragraph frame doesn't recognise sidebar

Postby Psider on Wed Jun 19, 2019 6:55 pm

I've successfully used overflow: auto to get paragraphs and divs with a background colour to wrap beside the menu.

Paul for your example, try setting overflow:auto on the div.Note style and see if that helps.
Psider
Propellus Maximus
 
Posts: 595
Joined: Wed Jul 06, 2011 1:32 am

Re: paragraph frame doesn't recognise sidebar

Postby JimR on Wed Jun 19, 2019 9:12 pm

Thank you ajturnersurrey & Psider. Yes, overflow: auto did the trick.

I'm not very familiar with Flare so part of the problem was simply selecting to show All properties when I was looking at the style sheet...I hadn't seen overflow before.
It works for a paragraph style as well as for a div.

NEXT PROBLEM. Now there's a horizontal scroll bar in the sidebar! :( I'll have a crack at that (unless you know the solution to that as well ?)
JimR
Jr. Propeller Head
 
Posts: 2
Joined: Mon Jun 17, 2019 5:16 pm


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 3 guests