Jump to content
Sign in to follow this  
heavyg

Hyperlink format in table W3.CSS

Recommended Posts

when using

<table class="table table-striped table-condensed table-bordered table-hover">

with a header of

            <th><a href="~/HelpFiles/Steps-Progenitor.html" target="_blank">Progenitor</a></th>

The colour od the link is not honoured not is the underline making it hard to see its a link, anyway to correct this?

Thanks

 

 

Share this post


Link to post
Share on other sites

From my experience, <a> tags have their own styling that they apply after all inherited styles, but before any styles it has assigned to the element itself.

This just means that if you want to style <a> tags, you need styles that directly apply to <a> tags. You'll need to add a style like this

table.table.table-striped.table-condensed.table-bordered.table-hover a {
  /*Styles here */
}

Or add a class to the <a> tag and style that.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...