Toggler Won't Center Text

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
erinep23
Sr. Propeller Head
Posts: 124
Joined: Fri Jun 01, 2012 2:54 pm
Location: Austin, Texas
Contact:

Toggler Won't Center Text

Post by erinep23 »

I created a button look for the toggler tag....but I can't get it to center the text. Below is the class and the psuedo class. I've attached an image too. Help please!

MadCap|toggler /* MadCap|toggler: togglers */
{
color: inherit;
margin-bottom: 10px;
mc-open-image-alt-text: Close this section;
mc-closed-image-alt-text: Open this section;
mc-image-position: right;
mc-image-spacing: 8px;
text-decoration: none;
mc-open-image: none;
mc-closed-image: none;
}

MadCap|toggler.AccountManagement
{
background: #00A0B0;
-webkit-border-radius: 28;
-moz-border-radius: 28;
border-radius: 28px;
font-family: Arial;
color: #ffffff;
font-size: 20px;
padding: 10px 20px 10px 20px;
text-decoration: none;
background-color: #d9ce3d;
}
You do not have the required permissions to view the files attached to this post.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Toggler Won't Center Text

Post by ChoccieMuffin »

I vaguely remember something like this in one of Mike Hamilton's webinars that fixed this gotcha, so I'm not taking any credit for the solution if my suggestion provides the fix.

At first glance you have no left margin, so your text starts at the very left of the button thing. I know you have padding but you might also need a margin. I suggest you add a decent margin - say 50px - and see what happens then. I bet that'll move the text to the right. You can then play about with finding the right numbers.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
erinep23
Sr. Propeller Head
Posts: 124
Joined: Fri Jun 01, 2012 2:54 pm
Location: Austin, Texas
Contact:

Re: Toggler Won't Center Text

Post by erinep23 »

Thanks for helping me. I added a margin but all it did was this -
You do not have the required permissions to view the files attached to this post.
erinep23
Sr. Propeller Head
Posts: 124
Joined: Fri Jun 01, 2012 2:54 pm
Location: Austin, Texas
Contact:

Re: Toggler Won't Center Text

Post by erinep23 »

I'm also using div columns and wonder if that is what is causing this?


div.columns
{
clear: right;
}

div.columns div
{
float: left;
margin: 12px;
}
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Toggler Won't Center Text

Post by ChoccieMuffin »

erinep23 wrote:Thanks for helping me. I added a margin but all it did was this -
Darn!!! Did you add margins to both bits of code you showed us, or just one? If just one, try doing the same to the other one.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
erinep23
Sr. Propeller Head
Posts: 124
Joined: Fri Jun 01, 2012 2:54 pm
Location: Austin, Texas
Contact:

Re: Toggler Won't Center Text

Post by erinep23 »

No dice.
Post Reply