• basketball

    (@basketball)


    I am not sure if it’s possible but is their a way to give a link a defined width? Or make any link within a div skip a line (the defined width would automatically push the rest of the content to the next line).

Viewing 4 replies - 1 through 4 (of 4 total)
  • NuclearMoose

    (@nuclearmoose)

    Thread Starter basketball

    (@basketball)

    Hrm, I tried all of those properties and they do work with things like h2, but they don’t necessarily do that for a link.

    kiddeath91

    (@kiddeath91)

    <h2> is block-level by default. I don’t think anchors are. Try everything with your css. The first I would try with these links you refer to is:

    div# a {display:block}

    A combination of margins and paddings should get you the styling you’re looking for.

    Thread Starter basketball

    (@basketball)

    As Homer says DoH!

    Thank you kiddeath91 and nuclearmoose for the help, and you were right kiddeath, I was missing the display: block;

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS question’ is closed to new replies.