How to align anchor tag?

I've added a tooltip to this page http://www.economicdecryption.com/default.aspx.  It's the blue exclamation icon near Globl Factory Index and Baltic Dry Index.   How do I get the info icons to align on the right side of header text rather than under it, as they are now?
brettrAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mverschoofCommented:
easiest way is to set the display to block. This way it becomes an block element like a div and positioning will be easier.
Or you can try using float:right. The text to it's left shoulf have float:left or it won't work.

Hope this helps
0
brettrAuthor Commented:
In the .bullet-help, at the top of this page, I already have it set as block display.  I did set float:right and that is better.  

I put the text into its own div to float:left, since putting float:left in the parent would cause the entire blue header to have a smaller width and the content text (below) to then move up along the left side.  Is there a way than adding the additional div?  Take a look at the div surrounding "Global Factory Index" to see what I mean.

One off question, what is the difference to say:

h1.contentBox

vs.

contentBox
0
mverschoofCommented:
h1.contentBox is an element with the class contentBox INSIDE a h1 tag
.contentBox is any element with the class contentBox

About the rest i will look at it tomorrow
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

brettrAuthor Commented:
Does h1.contentBox mean all H1 tags will use he class contentBox implicitly?
0
David S.Commented:
> Does h1.contentBox mean all H1 tags will use he class contentBox implicitly?

No. CSS can't control the IDs or classes that are applied to elements. That will only select <h1> elements that belong to the "contentBox" class.
0
brettrAuthor Commented:
So if I do

<div class="contextBox">some text here</div>

it won't have any affect because its not an H1 tag?
0
David S.Commented:
Correct.
0
mverschoofCommented:
Exactly.

About the other question: I've looked at the code and there have to be tags around the title text in order to give it a float. It does not have to be a div but it can be any tag you like. It may be needed to give it a display:block if it's an inline tag.

Hope this helps
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David S.Commented:
> It may be needed to give it a display:block if it's an inline tag.

Floating an inline element automatically makes it be treated as if it had display:block.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.