Forums

[resolved] UL Hyperlink styling (2 posts)

  1. douglasbell01
    Member
    Posted 6 months ago #

    ... a quick question that a CSS wizz can hopefully answer without trouble:

    I'm trying to style hyperlinks in lists, so that they are not nasty aggressive blue (default)... but can't seem to get my head around changing these. Many tweaks, many failures so far.

    Tried changes to UL on CSS:

    .post ul li{font-size:1.4em; list-style-type:square; margin:5px 0 5px 15px; color: #000000;} without success.

    See example of problem here

    A huge thank you in advance to anyone who can teach me a fix.

  2. douglasbell01
    Member
    Posted 6 months ago #

    Found a solution here

    Needed more code added onto CSS. Simple.

    .post ul li a:link, a:visited {color: #000; text-decoration: none;}
    .post ul li a:hover, a:active {color: #ccc; text-decoration: underline;}

Reply

You must log in to post.

About this Topic