View Full Version : How to add colour to box outline?
Memoire
08-28-2005, 05:42 AM
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>
wrmineo
08-28-2005, 07:02 AM
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"
Chris
08-29-2005, 03:43 PM
while you are at it, take the browser window resize script out of your site as well...
please.
Memoire
09-02-2005, 06:22 AM
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!!!
MuNKyonline
09-02-2005, 07:12 AM
Yeah that script works on my win2k machine running Firefox but it seems to be a bit pointless. Why is it there?
Memoire
09-02-2005, 08:06 AM
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.
Memoire
09-02-2005, 08:13 AM
Thank you wrmineo your code worked perfectly, just what I wanted.
MuNKyonline
09-02-2005, 08:21 AM
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.