Jump to content
  • 0
hishutup

External link's underline spreading through a space

Question

I don't really know how to explain this but the underline from a link is going through a space that isn't part of the link.

===== [[File:Blue_Box.png|20px|link=|bottom]] [http://www.nexusmods.com/oblivion/mods/44069/ Alive Waters updated] =====

will result in something like this

 

I would think that this was an issue but its new and wasn't originally like that.

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

Unrelated, but I reduced your top image to a more realistic size ... revert if you want, but it was too big IMO.

 

As far as underlines in links, that is the standard behavior ...

[http://www.nexusmods.com/oblivion/mods/44069/ Alive Waters updated]

will render on the wiki as:

Alive Waters updated

 

... not sure what you are linking to in your post

Share this post


Link to post
Share on other sites
  • 0

Oops, Ill explain the link thing later but here is the new one.

 

This is the underline.

da31a76bee.png

 

My first thought was that it is in the css but there nothing in the h5{} section. 

Unless there is another section that is bleeding over, which I doubt.

 

There one one time that the line continued on the through the image but that underline wasn't originally there because it looks terrible.

 

The image is a different deal but I cant get it to scale...

Is there a way to use parser function or simple math to get the size because the image needs to be reduced by ~100px from the monitor width because of the space on the left side?

I know DoubleYou gave it a shot but couldn't get it to work. 

 

EDIT:

This is obviously wrong and it never used to be like that...

9468e2176f.png

Share this post


Link to post
Share on other sites
  • 0

The link is taking up the entire header; thus, you're seeing the link (line) go across the entire space the header is taking up. Chalk this up to odd wiki behavior. Where you use elements you're seeing the line because it is an invisible text element (blank spaces) with a background color; thus, there is nothing to cover up the line. When you use the image, you don't see the line because it is not an invisible element. It's an image covering up the line so that it's no longer visible.

 

I've played with it and can't seem to get it to stop underlining the section that isn't the link. Wiki behavior...

Share this post


Link to post
Share on other sites
  • 0

I know its weird because it wasn't there when I was writing it.

I don't think I have any open tags anywhere.

I doubt I would miss something like that because it is pretty obvious.

 

On the second image, it uses the nonbreaking space, thats why the line is through it.

In other words, the second image is not a image it a colored background but the first image that I posted with the black arrow, is in fact an image using the wiki code that I posted above.

Share this post


Link to post
Share on other sites
  • 0

Obvious solution would be make the image include the space. Perhaps a better solution would be to somehow move the color box outside the h5 somehow.

Share this post


Link to post
Share on other sites
  • 0

I dont think I can... 
In the beginning, I was trying various things to find a good solution on the colored boxes and this is what I had settled on...

===== [[File:Blue_Box.png|20px|link=|bottom]] [<url> <mod name>] =====

so about 3/4 of the guide is in that format. 

After switching to an image, the TOC garbage has disappeared and now it look have decent.

Share this post


Link to post
Share on other sites
  • 0

What you are seeing is because of the H5 element which has a text-decoration of "underline" applied to it. Wiki headers get wrapped within a span element tagged with a class of "mw-headline", and you are clearly including the image and the link within the header element, and thus the underline gets applied.

 

It has nothing to do with the link, and is not "odd wiki behavior". It's perfectly normal.

 

Applying additional "stuff" inside a header is uncommon. They were meant to be plain text, and adding images, links, and whatever else one could attempt to do is bound to produce odd behavior.

Share this post


Link to post
Share on other sites
  • 0

I understand that it is abnormal and would expect something strange to happen but the reason that I did bring it up is because it wasn't like that before. Its a fairly new effect. I took a glance at the .css and there wasn't any changes that were made to the h5.

 

Is there a better way to have the same effect or is it kinda stuck the way it is?

I think I can figure out a way to make the link disappear but it would be kinda hackish. I see that multiple people have attempted to make the annoying line go away and it didn't matter.

 

Man those lines like my guide, what more can I say.

Share this post


Link to post
Share on other sites
  • 0

@s4n,

Yeah, I thought about that image being in the head as being odd after the fact.

 

@hishutup,

You can use divs to float the images to the left of the headers. This would eliminate the issue entirely. You could try adding the follow to your css file for the h5 element:

  • text-decoration: none;

That might eliminate the issue. I can't edit your .css page (which is odd because I should have the permissions to do that) or I'd try it for you.

Share this post


Link to post
Share on other sites
  • 0

doubleyou already gave that a shot and I guess it didn't do anything because he didnt mention it

 

Tech, I dont think anyone has the perms other than full admins.

I am unsure why moderators and up don't have the perms though. 

If you feel like going through the effort then put it on a regular wiki page and I'll just copy/paste it.

 

There is no rush though.

Share this post


Link to post
Share on other sites
  • 0

I completely dislike and upset by that.

So, I have to use a mix of html and css to make my guide look the way it is?

Is every wiki page going to look the same because I am not okay with that.

Share this post


Link to post
Share on other sites
  • 0

There will be things implemented in the skin within reason based on feed back when we get to that point. But yes, we do need consistency within the Wiki, and the css extension is being used for purposes it was not intended for. Sorry, but it's being abused and will continue to be as long as it's available.

 

Certain styling can still be applied in wiki text, but modifying major elements that isn't supported by MW will be discontinued in the future.

Share this post


Link to post
Share on other sites
  • 0

Even though it is off topic, what exactly do you mean by abuse?

Is what tech said abusing it?

I would call it a temporary workaround because something unexpected changed without me knowing. 

I don't know about you but I was expecting more freedom and features in the future rather than restrictions and losing widely used features. 

Share this post


Link to post
Share on other sites
  • 0

Just a gentle reminder that the css extension will be going away when the wiki skin is refreshed. Far too much hacking going on with it.

 

 

There will be things implemented in the skin within reason based on feed back when we get to that point. But yes, we do need consistency within the Wiki, and the css extension is being used for purposes it was not intended for. Sorry, but it's being abused and will continue to be as long as it's available.

 

Certain styling can still be applied in wiki text, but modifying major elements that isn't supported by MW will be discontinued in the future.

We've had some discussion on this in another thread or PM...can't remember which but it's something that the Staff and Z feels should remain. Yes, it's use should be limited on STEP-based Guides. We all agree with this. Z has already taken care of some of this by improving the default CSS based off some of my personal CSS edits (mainly spacing related) and removing its use on most of the Guides. We've been making an effort to reduce its use on the official STEP content; however, the main reason to keep it is for the non STEP-based Guides that we have around (SR, Fallout:NV, Fallout 3, Oblivion, Mass Effect, etc). These Guide should be not be restricted to the STEP-only "theme" as they're not STEP Guides nor STEP related...not to mention they're well known and are popular.

 

Another reason is, it can be used to supplement an official Guide like its use on the ENBSeries INI Guide. Its use there is to align elements to a specific layout for the compares and the compare text. This would be possible using inline CSS; however, that is very inefficient. Since the code would be repeating 100s of times, it's far more efficient to use the css extension.

 

So there have been legitimate reasons to keep the extension around voiced by Staff.

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

  • Similar Content

    • By z929669
      Up until a week or so ago, forum members that had never logged into the wiki prior to Feb 12, 2021 were unable to log onto the Step wiki. Why? We had permissions missing after the site move at that time.
      Since nobody mentioned it until @Ruedii did so a couple of weeks ago, we never knew it. It should be fixed now, so that anyone that has forum membership should once again be able to log onto the wiki with same member name and password.
      note that if your member name begins with a lower case letter, it will need to be upper case for the wiki user name. This is just a wiki thing, so no getting around it. Once logged in, simply check the box so that future logins don't require a password (if browser cookies are enabled).
    • By theblackman
      When posting a mod suggestion for inclusion into STEP, the 'warning' text states to consider creating a modpage on the wiki for the mod, but no reason is given as to why it might be preferable to do this.
       
      Perhaps the reason(s) could be included - it would be more persuasive, at least.
       
      Thanks.
    • By TechAngel85
      Before we upgrade the wiki, we'll be performing some periodic cleaning and updating of pages, templates, etc. This includes several actions:
      Users may notice some changes to content, formatting of content, template styling, etc. Anything that is deemed no longer desired/needed will be deleted without notice.All "Pack" content will be removed. As such, users may notice things missing from their pages or old templates being converted to newer ones. Any of this is done due to the cleanup. Any missing user content will be the result of it being too much maintenance to fix things such as broken links, which fill out our maintenance reports. Such content obviously isn't being maintained and will simply be removed. Anything that is questionable will be added to the Candidates for deletion category.Users can check this category for any pages that we're considering removing. Please see the individual page's talk page for discussion regarding the content removal. Anything that is considered outdated, but is neither being considered for deletion or updating, will be added to the Archives category.  

      Not all updates will be recorded below, but periodic updates will be posted from time to time.
       
      Updated STEP Content
      Anthology Boilerplate Updated Templates
      Archived Delete alert (new) alert small (new) icon (new) Updated General Content
      All content has been assigned a category. All content on the wiki should receive a category when being created as this help maintain the content structure. Many missing links across the wiki have been removed or restored. Icon template has replaced the old "Ask", "No", and "Yes" templates across the wiki. Alert and alert small templates have replaced the old "Bug", "Construction", "MCM Note", "MO Note", "Notice", and "Warning" templates, as well as, their smaller counterparts. Alert small also has the "FO3 Note", "FNV Note", and "Loot Rule" templates merged into it.  Removed Content
      Most of the the unused files have been removed. Users should remember when updating images on pages to upload a new version of the existing image rather than simply uploading a new image. Doing the latter creates a lot of abandoned files. Doing the former also retains a version history for the file. All of the active galleries from the Mod pages have been removed. The gallery option will be removed from the Mod Form for the platform update as it's been deemed redundant and unnecessary.
  • 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.