Problems with indenting

This forum is for all Flare issues not related to any of the other categories.

Problems with indenting

Postby PatOC on Wed Oct 02, 2019 1:52 am

Hi, I am trying to create a new style in flare. The problem I have is with indents. I created a new style and added the background colour and font. So far so good, the style works fine. However, I want to add indents to the text but when I indent it the background colour is indented also. I assume this is because it was created using the paragraph style. So I copied the style and pasted it into the blockquote style. However, when I look at the Styles window this new style doesn’t even appear on the list. Does anyone have any suggestions? Thanks!
PatOC
Jr. Propeller Head
 
Posts: 8
Joined: Thu Nov 08, 2018 8:00 am

Re: Problems with indenting

Postby ChoccieMuffin on Wed Oct 02, 2019 3:20 am

How have you applied your indent? Let's have a look at the code for the style you've created and we can be sure, but I suspect you've created your indent using margin, when you might find it does what you want if you use padding instead. You don't need to do anything complicated, so just work on an ordinary <p>, you don't need blockquote.

Take a look at this link to show you the positions of content, margin, border and padding. See the Try It Yourself link on that page for a very clear example and the penny will drop.

https://www.w3schools.com/css/css_boxmodel.asp
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2148
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Problems with indenting

Postby PatOC on Wed Oct 02, 2019 6:53 am

Thanks,
I tried padding and it didn't quite work as I expected. The first level seemed to indent fine but I then used a second level with a greater indent, and the text moved back to the left again?
I took a look at the Advanced View on the Stylesheet and manually inputted the text indent size. That works also, however, because the code has to appear without any line breaks, when I indent the text, all text is indented. I was using Shift-Return to do this. If I create a new paragraph, it creates a white line between my grey shading and I don't want that
PatOC
Jr. Propeller Head
 
Posts: 8
Joined: Thu Nov 08, 2018 8:00 am

Re: Problems with indenting

Postby ChoccieMuffin on Wed Oct 02, 2019 7:14 am

To get some specific help you'll need to post the code from your stylesheet for the tag and class you're using in the medium you're using. Then we might be able to suggest what's happening. And also show us the code from the topic so we can see exactly what you've done.
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2148
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Problems with indenting

Postby PatOC on Thu Oct 03, 2019 2:06 am

Many thanks, managed to create a new style using the div style and using the Group feature it worked! I selected all the text, clicked the Group icon, then selected the style
PatOC
Jr. Propeller Head
 
Posts: 8
Joined: Thu Nov 08, 2018 8:00 am


Return to Flare's General Discussion

Who is online

Users browsing this forum: No registered users and 5 guests