HTML question on changing colour

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Here is the HTML :

TextHere

<!--

I want to change the colour of the border(solid orange) to #FF5200. I have checked the internet and tried many examples but I can't find one that works. Thanks for any help.

Connor
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
  • happy

Posted 9 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Sorry Connor, the code did not show up. Can you try wrapping the code with <!-- -->
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
<!--
<div style="width:281px;height:211px;border:2px solid orange;">Text</div>-->
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
I forgot, It wouldn't let me edit the topic anymore
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
maybe try SlateGrey
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
What do you mean?
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
What do you mean?
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Oh sorry.. I just meant replacing the word orange with slategrey
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
I want orange just a different shade #FF5200 to fit in with the rest of the website
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
<!--
<div style="width:281px;height:211px;border:2px solid #FF5200;">Text</div>-->
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Thanks Peter, helpful as always!
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Welcome Connor
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
HTML syntax was designed by an Irishman as a way of making us feel stupid or to enjoy self deprecation :)
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
:D Proud to be!
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Oh Sorry Connor. I misunderstood. But it's weird cuz when I put in that FF5200 - it turned up grey in my FF which is why I thought you were asking for a name instead of a number that is close to #FF5200. Glad it all worked out.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
I tried the code again.. and it turned up orange this time. I must have had a typo or something. Sorry! All is well! =)
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
I find this Firefox "Webpage Color Analyzer" add-on
an invaluable tool: http://www.colorzilla.com/firefox/
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Funny Boomer... tickled #E70047!