Myspace CSS hex-code woes
November 28, 2007 8:59 AM
I'm having trouble using hex codes in my myspace CSS style sheets. When I enter the hex # (example "color: #99FF33") then save, the text i've entered is somehow automatically changed to "color: #99FF33" and the color remains unchanged. What is causing this? Is there a work around?
sorry, it looked right in preview, but what is being inserted into the statement is:
color: (ampersand)#035;99FF33
i am using a complete style sheet, and everything else in it works as it should.
whole style sheet (minus the style tags, which won't display here):
.nametext {font-family: trebuchet MS, impact, arial; font-size:xx-large; color: #99FF33;}
posted by LizardOfDoom at 9:36 AM on November 28, 2007
color: (ampersand)#035;99FF33
i am using a complete style sheet, and everything else in it works as it should.
whole style sheet (minus the style tags, which won't display here):
.nametext {font-family: trebuchet MS, impact, arial; font-size:xx-large; color: #99FF33;}
posted by LizardOfDoom at 9:36 AM on November 28, 2007
Leave the # off your color codes and it will work. Yes, it's wrong, but you're going to be doing a lot of very wrong things when you're trying to get myspace to bend to your will.
posted by zsazsa at 9:37 AM on November 28, 2007
posted by zsazsa at 9:37 AM on November 28, 2007
If they're still using ColdFusion, it's because CF barfs on # signs, so you'd have to double them up to escape them, but if zsazsa's advice works, stick with that.
posted by yerfatma at 9:55 AM on November 28, 2007
posted by yerfatma at 9:55 AM on November 28, 2007
This isn't very scientific and it may sound stupid...... but I have run into issues with Firefox caching a stylesheet and not noting any changes to it for quite a while. You might want to try loading the page in another browser to test. Or you can try changing the name of the stylesheet so it will reload.
posted by Foam Pants at 6:13 PM on November 28, 2007
posted by Foam Pants at 6:13 PM on November 28, 2007
Last time I had to 'deal' with MySpace, the workaround was to use named colours, or RGB values, as hash marks were inexplicably filtered, as you're discovering.
posted by Smoosh Faced Lion at 3:15 AM on November 29, 2007
posted by Smoosh Faced Lion at 3:15 AM on November 29, 2007
« Older How do I make visitors laugh at the expense of my... | Names as data labels or markers in Excel 2007? Newer »
This thread is closed to new comments.
posted by Capostrophe at 9:08 AM on November 28, 2007