Jump to content
  • 0

HTML a tag inside heading tag nor parsing correctly


This is what I'm trying:

<h5 style="color:rgb(60,150,200); font-size:1.1em; font-weight:600; text-decoration:underline;"><a rel="nofollow" target="_blank" href="http://www.nexusmods.com/skyrim/mods/48195">boopity</a></h5>

It shows up as this:


I'm trying to style the header so I can't really use mediawiki markup (===== [https://www.nexusmods.com/skyrim/mods/48195 boopity] =====)


Any thoughts?

Edited by Ganda

Share this post

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

The first one is based on your original HTML. I converted the anchor tag into a MediaWiki link:

<h5 style="color:rgb(60,150,200); font-size:1.1em; font-weight:600; text-decoration:underline;">[http://www.nexusmods.com/skyrim/mods/48195 boopity]</h5>

I changed padding to zero so the bottom border is directly underneath the text and adding padding-bottom:10px to effectively set a fake line height:

===== <span style="color: rgb(225,225,245); text-align: left; font-size: 1.5em; font-weight: 600; border-top: none; border-left: none; border-right: none; border-bottom: 3px solid #a7540b; padding-bottom: 0px; margin-bottom: 10px overflow: hidden;">[http://www.nexusmods.com/skyrim/mods/48195 boopity]</span> =====

No guarantees either of these work with Nexus, though.


Share this post

Link to post
Share on other sites
  • 0

Managed to style the text by mixing html and mediawiki, but still not what I'm looking for.

===== <span style="color:rgb(225,225,245); text-align:left; font-size:1.5em; font-weight:600; border-style:solid; border-bottom-width:3px; border-color:#a7540b; padding-bottom:10px; overflow: hidden;">[http://www.nexusmods.com/skyrim/mods/48195 boopity]</span> =====


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.