Jump to content


Photo

HTML a tag inside heading tag nor parsing correctly

issue

  • Please log in to reply
3 replies to this topic

#1 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 16 July 2016 - 11:51 AM

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:

Jl00OO

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

 

Any thoughts?


Edited by Ganda, 16 July 2016 - 11:51 AM.

  • 0

#2 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 16 July 2016 - 11:58 AM

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> =====

LE7erD


  • 0

#3 Greg

Greg

    High King

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 1,420 posts

Posted 16 July 2016 - 12:42 PM

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.

y3mLE9KIMN6ccmCNt0TS8lPR4T7KM0AAgf6Sv4cw



#4 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 16 July 2016 - 12:44 PM

I just need this for the STEP wiki :p Thanks!


  • 0



Also tagged with one or more of these keywords: issue

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users