It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Help With Tables

Help With Tables

Postby CourteousCat on Sun Mar 04, 2007 10:55 pm

I'm trying to create a table that has solid black borders with a thickness of 5. I have been able to achieve a black border with a thickness of 5 using this code (foot note 1) but the border is made up of two colors instead of one. I was wondering if there is anyway to incorporate a solid border with one color into my code or if there was another code that would do the trick.

Also i can't seem to figure out where to put this code in the table code (foot note 2).
:?
Thanks in advance for you're help!

1:<TABLE BORDER=5 BORDERCOLOR=000000 RULES=NONE>
2:<FONT COLOR=#000000 FACE=TIMES SIZE=2>
CourteousCat
 
Posts: 11
Joined: Sun Mar 04, 2007 10:48 pm

Postby sachav on Mon Mar 05, 2007 2:10 am

IN THE TABLE ROWS:
If you have a colored background of your page; try this:

Code: Select all
<tr bordercolor="THE_BACKGROUND">


For example if you are using a white background, you would put:

Code: Select all
<tr bordercolor="#FFFFFFF">


Where to put the second code? Between <td> and </td> :wink:
sachav
 
Posts: 32
Joined: Sat Mar 03, 2007 3:40 pm

Postby CourteousCat on Mon Mar 05, 2007 5:02 pm

No, i mean i wan't to make the table border solid and 1 color instead of 2.
Image
With the code in post one (foot note 1)
How do you fix the border to be one color


Thanks for the answer to the second question though.
CourteousCat
 
Posts: 11
Joined: Sun Mar 04, 2007 10:48 pm

Postby sachav on Mon Mar 05, 2007 10:54 pm

<table border=5 bordercolor=000000 rules=none style="border-width: 0">

:?
sachav
 
Posts: 32
Joined: Sat Mar 03, 2007 3:40 pm

Postby CourteousCat on Mon Mar 05, 2007 11:24 pm

it does not work... http://cvib.bravehost.com/ and view page source...
CourteousCat
 
Posts: 11
Joined: Sun Mar 04, 2007 10:48 pm

Postby sachav on Tue Mar 06, 2007 1:35 am

You didn't add what i put...
style="border-width: 0"
sachav
 
Posts: 32
Joined: Sat Mar 03, 2007 3:40 pm

Postby CourteousCat on Tue Mar 06, 2007 2:02 am

sachav wrote:You didn't add what i put...
style="border-width: 0"

No, i mean i want to have a border with one solid color... not two like what appears in the link.
CourteousCat
 
Posts: 11
Joined: Sun Mar 04, 2007 10:48 pm


Who is online

Users browsing this forum: No registered users and 7 guests