How set border thickness of table?

V

VB Programmer

How do you set the thickness of a <TABLE> border? I know that the MOST
OBVIOUS answer would be to do it through the properties window, but it's NOT
WORKING.

I tried this:
<TABLE id="Table2" style="HEIGHT: 553px" cellSpacing="0" cellPadding="5"
width="730" border="5" borderColor="#ff9900">

It doesn't matter if I set border to "1" or "100" - IT LOOKS THE SAME!

Any ideas?

Thanks
 
R

Rajagopal Pasupuleti

<TABLE id="Table2" style="HEIGHT: 553px" cellSpacing="0" cellPadding="5"
width="730" border="1" borderColor="#ff9900">

and
<TABLE id="Table2" style="HEIGHT: 553px" cellSpacing="0" cellPadding="5"
width="730" border="10" borderColor="#ff9900">

working fine no problem different border widths
 
V

VB Programmer

It looks like the CSS was messing with it. But, I thought that INLINE HTML
takes precendence over CSS settings.... Hmmm....

Thanks!
 
J

Jo Inferis

VB said:
It looks like the CSS was messing with it. But, I thought that
INLINE HTML takes precendence over CSS settings.... Hmmm....

CSS (from a stylesheet) is applied *after* the html is parsed, so it will
override anything you've specified inline.
 
B

bruce barker

not quite right. CSS from a stylesheet overrides attributes, but not inline
style. the logic is the attributes will be used no browser that do not
support CSS. try:

<TABLE id="Table2" style="HEIGHT: 553px;border 5 solid red;"
cellSpacing="0" cellPadding="5"
width="730" border="5" borderColor="#ff9900">

and you will get a 5pt red border.

-- bruce (sqlwork.com)


| VB Programmer wrote:
| > It looks like the CSS was messing with it. But, I thought that
| > INLINE HTML takes precendence over CSS settings.... Hmmm....
|
| CSS (from a stylesheet) is applied *after* the html is parsed, so it will
| override anything you've specified inline.
|
| --
| jo inferis
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top