Site logo

Archived topic

left align two lines of text in top bar

7 replies · Started by Mark on May 5, 2019

Viewing posts 1–8 of 8

I had one line of text in the top bar, and it aligns to the left and right respectively.

However, now I have added two lines and the second line won't seem to align left like the first line does.

What do I need to do to make the first and second lines line up?

Thanks

Mark

Thanks Tom,

Yes, I do have <br /> elements - because I want the "second" line to be on a line by itself. I would like to know how to get the second line to line up (on the left) with the first line. It is way indented.

Mark

Try using 2 divs instead:

<div>text 1</div>
<div>text 2</div>

Let me know :)

Leo,

Thanks for your email. Actually I tried putting both lines in divs but it had no effect, except to make even more space between the two lines. Maybe the top bar is only designed for one liners.

Mark

Ahh you wanted to align left.

Try this in your HTML:
<div style="padding-left:10px; text-align:left;"><a href="mailto:info@nimblethimble.com">Send us an email</a> or Call 408-842-6501</div>

Let me know :)

Thanks Leo,

That did it!

Mark

No problem :)

This archived topic is closed to new replies.