Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Trouble with Getting Text and Images on the same line

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #201333
    halebales24
    Participant

    I’m having trouble getting the contact information in the footer to line up with the social media icons on the right. I’m trying to get the links to be a few pixels apart on the same line, but floating left/right doesn’t work right and is putting it on the next line.

    http://codepen.io/halebales24/pen/WvvwzY

    #201343
    Paulie_D
    Member

    You really need to reduce that Codepen down to just the relevant parts …not the whole page.

    There is way too much irrelevant stuff in there at the moment for us to wade through to find your specific issue.

    Help us help you.

    #201384
    halebales24
    Participant

    I cleaned it up. It should be much easier to read now.

    #201386
    Paulie_D
    Member

    I think you’re trying to do something like this…

    http://codepen.io/Paulie-D/pen/ZGGeBv

    Quite often floating is not the optimum solution..inline-block works much better in certain situations and this, I think, is one.

    I do have to say that I really hate the way your structured the address.

    I wanted to select that text and copy it (or was using a screen reader) it would be gobbledy-gook.

    You can fix that by using spans and pseudo-elements –

    http://codepen.io/Paulie-D/pen/yNNMop

    #201387
    halebales24
    Participant

    Thank you for your help. I appreciate it.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.