Grow your CSS skills. Land your dream job.

Correct Way Changing size On HTML link only

  • # June 12, 2013 at 1:47 am

    Would like to know the correct way of changing the font-size on link

    # June 12, 2013 at 2:58 am

    you should set the style for a tag in stylesheet file, not inline css.

    # June 12, 2013 at 6:54 am

    Can’t in module only link I worked it out any way its the first choice on there.

    # June 12, 2013 at 7:40 am

    Link doesn’t work

    # June 12, 2013 at 9:00 am

    If you /need/ to have inline styles, then out of those two choices, 18px is correct (as far as I know).

    A better way to do it would be to make the link’s font-size relative to the container. That is, use ems like [this](http://codepen.io/David_Leitch/pen/rnzKF “http://codepen.io/David_Leitch/pen/rnzKF”).

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".