forum - Set a:link / a:visited colors within another css call -


not sure if semantics correct. on forum, have way links looks in regular post, doesn't when quoted in post, text shrunk down smaller font , doesn't good.

so tried this, had no effect @ all.

    blockquote {     border: 1px solid #ccc;     margin: 0;     background: #fff;     padding: 4px; font-size: 11px; a:link {color:#00ff00;} } blockquote cite {     font-weight: bold;     border-bottom: 1px solid #ccc;     font-style: normal;     display: block;     margin: 4px 0; font-size: 11px; a:link {color:#00ff00;} } 

is there can change link properties here? because way i'm trying doesn't seem work @ all.

you cannot nest css rules this:

blockquote cite {     a:link {  } } 

you use this:

blockquote cite {  } blockquote cite a:link {     /* rules links within 'blockquote cite' */ } 

with invalid css of other rules may not work, , can cause other unexpected formatting issues.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -