• I would like to align the text below so that it is all on the same row horizontally, but I would also like to add padding to the left after each part so that there’s more space between.

    <strong>Release date:</strong> 12/12/2013
    <strong>Label:</strong> MTA Records
    <strong>Purchase:</strong> <a href="link">Beatport</a>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I have tried all afternoon but I couldn’t get it to work, can somebody please help me out?

    https://beatsoftheweek.com/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Thread Starter Ricardo

    (@r1cardo01)

    I don’t think you understand my question. I have 3 pieces of HTML.

    <strong>Release date:</strong> 12/12/2013
    
    <strong>Label:</strong> MTA Records
    
    <strong>Purchase:</strong> <a href="link">Beatport</a>

    I want them all on the same line but each with 10px padding on the right and I can’t figure out how to get it to work.

    I think they all need to be in 1 div to be in the same row but I should make div’s in that div to make the padding work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Align text and add padding’ is closed to new replies.