Forum Settings
       
Reply To Thread

Color blocking issues with linksFollow

#1 Oct 12 2009 at 1:00 PM Rating: Decent
Ken Burton's Reject
*****
12,834 posts
This works


But



Is it supposed to do that?

Edited, Oct 12th 2009 3:03pm by Pawkeshup
____________________________
Twitter: http://www.twitter.com/pawkeshup
YouTube: http://www.youtube.com/pawkeshup
Twitch: http://www.twitch.tv/pawkeshup
Blog: http://pawkeshup.blogspot.com
Olorinus the Ludicrous wrote:
The idea of old school is way more interesting than the reality
#2 Oct 12 2009 at 1:06 PM Rating: Good
*****
16,959 posts
This works
____________________________
MyAnimeList FFXIV Krystal Spoonless
#3 Oct 12 2009 at 1:45 PM Rating: Good
For some reason, the order of the tags is very, very important now. And from what I've seen, no one has really explained what the order should be.

For example, the edit message is no longer in italics, though it's got the tags for it:

Edited, Oct 12th 2009 2:45pm by Belkira
#4 Oct 12 2009 at 6:26 PM Rating: Decent
Ken Burton's Reject
*****
12,834 posts
I noticed that. Kirby got it to work fine in that example but it requires wrapping the text in the link.

I guess they are messing with the style sheets some...
____________________________
Twitter: http://www.twitter.com/pawkeshup
YouTube: http://www.youtube.com/pawkeshup
Twitch: http://www.twitch.tv/pawkeshup
Blog: http://pawkeshup.blogspot.com
Olorinus the Ludicrous wrote:
The idea of old school is way more interesting than the reality
#5 Oct 12 2009 at 10:39 PM Rating: Decent
The block tag not parsing correctly around tags in the order (color)(link)(/link)(/color) is a bug.

The "coloring a link" issue is because links are auto-colored based on the stylesheet, which is overriding the color tags. This may also be a bug; if it is, it's the direct cause of the former bug.

[lg] tags not being available is a bug meh.
#8 Oct 15 2009 at 10:57 PM Rating: Excellent
Spankatorium Administratix
*****
1oooo posts
I will send Kao to this post and he can fool around with it and get us a documented order.
____________________________

#9 Oct 23 2009 at 8:23 AM Rating: Decent
Ken Burton's Reject
*****
12,834 posts
Actually, it looks like whatever someone did, it's working now.

One more test


Yea, it doesn't recolor the link text, but at least it isn't breaking the block color anymore, which is all I cared about.

And MD, what it WAS doing was something more like this

[block=white]One more test[/block]

Intentionally broke that one

Edited, Oct 23rd 2009 10:25am by Pawkeshup
____________________________
Twitter: http://www.twitter.com/pawkeshup
YouTube: http://www.youtube.com/pawkeshup
Twitch: http://www.twitch.tv/pawkeshup
Blog: http://pawkeshup.blogspot.com
Olorinus the Ludicrous wrote:
The idea of old school is way more interesting than the reality
#10 Oct 23 2009 at 9:03 AM Rating: Good
It can't be right. The "edited by" tag in your post still isn't correct. The coloring might be right, but the other tags are still messed up.
#11 Oct 23 2009 at 9:12 AM Rating: Decent
Ken Burton's Reject
*****
12,834 posts
O.o

I hadn't noticed that.

This works?
This doesn't

This works?

This doesn't


Um...

wth???

Edited, Oct 23rd 2009 11:13am by Pawkeshup
____________________________
Twitter: http://www.twitter.com/pawkeshup
YouTube: http://www.youtube.com/pawkeshup
Twitch: http://www.twitch.tv/pawkeshup
Blog: http://pawkeshup.blogspot.com
Olorinus the Ludicrous wrote:
The idea of old school is way more interesting than the reality
#12 Oct 23 2009 at 10:57 AM Rating: Good
Intriguing, no?
#14 Oct 27 2009 at 11:56 AM Rating: Good
Angstycoder wrote:
Ticketed. I need to know what you are finding as broken, though. It looks like all the examples here that say 'this does not work' are all working.


If you "quote original" one of the posts that have an edited tag, you'll see how the [sm] and [i] tags aren't working together correctly.
#16 Oct 27 2009 at 6:05 PM Rating: Decent
(sm) tags reset bold/italic/underline and cause strikethrough lines to appear slightly different.

(s) outside (sm)
(s) inside (sm)
(s) before (sm)
(s) after (sm)

(The last two have tags in the order (x)(y)(/x)(/y).)
#17 Oct 27 2009 at 9:36 PM Rating: Excellent
Spankatorium Administratix
*****
1oooo posts
Angstycoder wrote:
Ticketed. I need to know what you are finding as broken, though. It looks like all the examples here that say 'this does not work' are all working. I did note in the ticket if we are going to have order mattering, we should really add that to a faq. The preferable thing, of course, is to make order not matter.


Yes, Kao was going to test all that and give me a list to add to the FAQ. Things have been hairy lately and I haven't had time to discuss his findings.
____________________________

#18 Oct 28 2009 at 9:32 AM Rating: Good
***
2,236 posts
If you inspect the HTML of the above you can see that the 'not working' sections are like the following:

<i> 
  <span class="sm">This doesn't</span> 
</i>


Text is small, not italic.

<span style="color: red;"> 
  <a title="www.allakhazam.com" rel="external" href="HTTP://www.allakhazam.com">This doesn't</a> 
</span>


Link is skyblue, not red.


In the case of .sm, the stylesheet (common.zam.com/shared/basestyle.css, line 15) explicitly sets font-style to normal, when it shouldn't. Its counterpart, .lg (for large text), does not do that.

In the case of the 'a' tag, it also gives an explicit color which ends up overriding the color set in the span. This, however, I don't regard as a bug (directly). Links without the extra color set need to have their color default to the appropriate value as determined by the site. The one thing that could fix the ordering issue here is to set the color span's style to "color: red !important;" to make it override colors set in contained elements' styles.



#19 Nov 27 2009 at 11:44 AM Rating: Good
Update: The strike-through line, when outside of small tags (EDIT: specifically the order {s}{sm}{/sm}{/s}), has migrated down another pixel on the FFXI skin, so it now looks like it's almost underlined. This may be a side effect of switching from Verdana to Arial.

Demonstration of this. (For comparison, underline and correct strike-through.)

Edited, Nov 27th 2009 9:46am by MDenham
#20 Dec 03 2009 at 10:53 AM Rating: Excellent
Webmonkey
ZAM Administrator
**
710 pandas
.sm classes now inherit the font-style property. English: you can put [i] tags outside the [sm] tags and it'll work now.

Links do not inherit color, because they shouldn't, it would mean links wouldn't appear a different color from their surrounding text.

I see what's going wrong on the [sm] tags not being handled properly in regards to strikethrough, but don't see a fix yet other than just putting those tags in a different order.
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 190 All times are in CST
Anonymous Guests (190)