Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,213 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Cerbera'sMum

Broken color tag

Recommended Posts

Cerbera'sMum
I've noticed that my post wrapper isn't working....there were too many numbers in it which Cerbera fixed but it still doesn't work. We tried it with words and that works but not with the color code numbers. Any suggestions, please? It has been broken for quite a while and I'd really like it back if that's possible?

Share this post


Link to post
Share on other sites
YeTi
Your post wrapper is working. And i think the colour code numbers you are refering to are called hexadecimel numbers. And they are in your post wrapper and working. notify.gif

Share this post


Link to post
Share on other sites
Cerbera'sMum

Maybe it's because I'm using Cerbera's Conventional skin that it doesn't work!

 

He looked at it but can't understand why it doesn't work in his skin! Can anyone advise, please? AND NO I DON'T WANT TO CHANGE SKIN - I like this skin but I'd like to have my post wrapper work in it.

 

Thank you YeTi for your reply....do you know how to fix problem?

Share this post


Link to post
Share on other sites
YeTi
Thank you YeTi for your reply....do you know how to fix problem?

No sorry i don't know php. I am currently trying to learn it but it's not being very successful. The only thing i could advise you to do is to change your skin but as you said you do not want to. Maybe Tank knows how to fix it?

Share this post


Link to post
Share on other sites
BenMillard

 

[color=teal]color=teal[/color][color=009999]color=009999[/color]

This BBCode is transformed into the following HTML by the PHP:

<span style='color:teal'>color=torqoise</span><span style='color:009999'>color=009999</span>

Now, the second HTML sample should really be using #009999 for the colour code. It works in other skins, though, so there must be something about my skin which prevents it from working. Thing is, the style attribute cannot be overruled by the external CSS I use (that's the heirarchy of the "cascade" of CSS) so I can't figure out what is preventing it from working in my skins.

 

I don't have any classes which allow to plain <span> elements; so there shouldn't be anything even attempting to overrule it. A bit mysterious but there must be a reason for it.

Edited by Cerbera

Share this post


Link to post
Share on other sites
Cerbera'sMum
So can i assume that my post wrapper can't be made to work using Cerb's Conventional skin, then? Surely someone knows a way around it....please, pretty please can't someone tell me how to make it happen?

Share this post


Link to post
Share on other sites
Barguast

If the problem is only with using hex values, then you should be able to use a named colour instead:

 

Open Post Wrapper

 

[color=darkturquoise]

 

 

Close Post Wrapper

 

[/color]

 

 

The colour that you're currently using - #00CCCC - is basically the same anyway: [Dark Turquoise text]

Share this post


Link to post
Share on other sites
BenMillard

Both methods work in other skins but the hexadecimal method doesn't work in my skin. Therefore it isn't a problem with using hexadecimal since the CSS attribute style can take either 6- or 3-digit hexadecimal or any of the 200+ formally named colours. The problem is how the <span> tag is operating when in my skins, which I can't really figure out. My skins use XHTML, which maybe means that a hexadecmial colour absolutely must be prefixed with the # indentifier?

 

Here are some test samples:-

  1. color=#f00
  2. color=#ff0000
  3. color=f00
  4. color=ff0000
  5. color=red
Results from Conventional Militant:-
  1. Text is red
  2. Text is red
  3. Text colour unchanged
  4. Text colour unchanged
  5. Text is red
Results from GTAnet 2k4 lite:-
  1. Text is red
  2. Text is red
  3. Text is red
  4. Text is red
  5. Text is red

Therefore, something is making my skins react differently. Any insights into why this might be would be very useful. smile.gif

 

(EDIT) The forums are running about as fast as Cartman; this post took 25 minutes to get through. Also, list code gets blown apart every time the PHP parses it out of the HTML as it inserts an extra new line between each item. No matter how many new lines are already between the items, it adds another one. Urgh!

Edited by Cerbera

Share this post


Link to post
Share on other sites
Cerbera'sMum

Thank you Barguast for that...and thanks Cerbera for trying to find out why it didn't work!

 

Yay post wrapper works again now....I'm so happy..I've missed my post wrapper and didn't want to have to give Cerbera's skin to get it back ....so success all round!!

Edited by Cerbera'sMum

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

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.