Submit Your Article Forum Rules

Results 1 to 8 of 8

Thread: How to add colour to box outline?

  1. #1

    How to add colour to box outline?

    I want to add red colour to the box outline - the current code shows as grey in a browser, but there is no colour specified in the code. I want to change the colour of the box outline colour to red - any ideas?

    <table width="100%" border="1" cellspacing="4" cellpadding="4">
    <tr>
    <td>
    <div align="left">
    Thoughts of the Month



    What is life? It is the flash of a firefly in the night. It is the breath of a buffalo in the wintertime. It is the little shadow which runs across the grass and loses itself in the sunset.

    ~ Crowfoot, Blackfoot warrior and orator

    </div>
    </td>
    </tr>
    </table>
    Thanks for your reply
    Cheers
    Steven
    http://stevenredhead.com

    "Life is not measured by the number of breaths we take...but by the moments that take our breath away."

  2. #2
    Senior Member wrmineo's Avatar
    Join Date
    Apr 2005
    Posts
    757
    In your <table> element add:

    bordercolor="#FF0000" - after the cellpadding is fine.

    Might I also suggest you add an "id" and "summary" ... simply id="text" summary="text"
    W. R. Mineo

  3. #3
    WebProWorld MVP Chris's Avatar
    Join Date
    Jul 2003
    Posts
    915
    while you are at it, take the browser window resize script out of your site as well...

    please.
    Former WebProWorld Admin
    IntentionalFoul.com

  4. #4

    Window resize

    while you are at it, take the browser window resize script out of your site as well...
    Heck why would you say that?

    Works real nice on my Mac!!!
    Thanks for your reply
    Cheers
    Steven
    http://stevenredhead.com

    "Life is not measured by the number of breaths we take...but by the moments that take our breath away."

  5. #5
    Senior Member MuNKyonline's Avatar
    Join Date
    Jun 2004
    Posts
    779
    Yeah that script works on my win2k machine running Firefox but it seems to be a bit pointless. Why is it there?

  6. #6

    Why is it there

    Well, I found on some Macs that the window would be too big, kocking everything out of proportion.

    However, on some old versions of Explorer, the size set for the page is also taken up by the side bar making the page show only 90% of the content, with a need to use the bottom scroll bars to see all content.

    The script was been on the site for years and not to sure it is still useful for anone using the page.
    Thanks for your reply
    Cheers
    Steven
    http://stevenredhead.com

    "Life is not measured by the number of breaths we take...but by the moments that take our breath away."

  7. #7

    Magic

    Thank you wrmineo your code worked perfectly, just what I wanted.
    Thanks for your reply
    Cheers
    Steven
    http://stevenredhead.com

    "Life is not measured by the number of breaths we take...but by the moments that take our breath away."

  8. #8
    Senior Member MuNKyonline's Avatar
    Join Date
    Jun 2004
    Posts
    779
    As long as you don't make your content wider than 760/70 pixels(optimised for 800x600) then you should have no problem even if there is a scrollbar.

    Use 100% width tables with some fixed width columns and some repeating backgrounds. Then it should even fit the Mac windows. I may be wrong but that's how I think I would do it.

Similar Threads

  1. Using Header Tags to Produce an Outline?
    By technica in forum Content Discussion Forum
    Replies: 6
    Last Post: 02-03-2006, 04:05 AM
  2. Colour Spectrum
    By pagetta in forum Graphics & Design Discussion Forum
    Replies: 3
    Last Post: 09-09-2005, 09:24 AM
  3. Colour in scrollbar
    By souvik das in forum Graphics & Design Discussion Forum
    Replies: 6
    Last Post: 02-22-2005, 11:05 PM
  4. Outline Sharpen
    By WPW_Feedbot in forum Graphics & Design Discussion Forum
    Replies: 0
    Last Post: 01-25-2005, 05:31 PM
  5. How do I colour something?
    By ellar in forum Graphics & Design Discussion Forum
    Replies: 3
    Last Post: 05-10-2004, 11:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •