CHANGING BORDER COLOUR CSS SCRIPT

  • 1
  • Question
  • Updated 8 years ago
  • Answered
HOW DO I CHANGE BORDER COLOUR ON THIS SCRIPT, ive tried (border-color="blue")

!!!!>table bgcolor="212121" border="3" width="435px" height="415">


Basic Servicing Starting From £59




> Included Oil + Filter


> Safety Check


> Service Book Stamped


> Service Report


> Quality Parts Used


> Free Wash and Vacuum


(Dealer Parts if requested



<!!!!
Photo of darrell duke

darrell duke

  • 30 Posts
  • 0 Reply Likes
  • frustrated

Posted 8 years ago

  • 1
Photo of Callum

Callum

  • 357 Posts
  • 32 Reply Likes
<!--
Hi Darrell,

Use this:

<table style="border: 3px solid {COLOUR} ; background-color: #212121;" width="435px" height="415">
...
</table>

Subsitute {COLOUR} for your colour's HEX code (remember to put a '#' before it) or a word (red, yellow etc.)

-->

Hope this helps

Callum
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Thanks Callum!
Photo of darrell duke

darrell duke

  • 30 Posts
  • 0 Reply Likes
This doesnt seem to work for me border dissapears totally with this
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Darrell,

Sorry to hear Callum's code didn't work for you. I'm passing your inquiry on to our HTML team for review, they'll get back to you within 24 hours.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Darrell

Would you mind posting your page URL so that we can take a look at your code and see what's going on?

Thank you for your patience as we work on this together.
Photo of darrell duke

darrell duke

  • 30 Posts
  • 0 Reply Likes
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Darrell

Thank you for your patience. Please try this code:

<table bgcolor="212121" border="3" bordercolor="#5dc5d3" width="870px" height="245">

I hope this answers your question. If not, or if you had something different in mind, please let me know.
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
I see above the code Sanja posted doesn't have a # in front of the first HEX code. Here is the same code with the hex corrected:

<table bgcolor="#212121" border="3" bordercolor="#5dc5d3" width="870px" height="245">

Table contents here

</table>


Sincerely,
Nathan