Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How set border thickness of table?

Reply
Thread Tools

How set border thickness of table?

 
 
VB Programmer
Guest
Posts: n/a
 
      12-15-2004
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


 
Reply With Quote
 
 
 
 
Rajagopal Pasupuleti
Guest
Posts: n/a
 
      12-15-2004

<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
--
rajagopal

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
VB Programmer
Guest
Posts: n/a
 
      12-15-2004
It looks like the CSS was messing with it. But, I thought that INLINE HTML
takes precendence over CSS settings.... Hmmm....

Thanks!

"Rajagopal Pasupuleti" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> <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
> --
> rajagopal
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
Jo Inferis
Guest
Posts: n/a
 
      12-15-2004
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


 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      12-15-2004
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)


"Jo Inferis" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| 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
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method for intracardiac therapy using sensor for heart wall thickness Barathi Java 0 01-25-2008 06:17 AM
Method for intracardiac therapy using sensor for heart wall thickness Barathi C++ 0 01-25-2008 06:16 AM
method for intracardiac therapy using sensor for heart wall thickness Barathi Computer Support 0 01-25-2008 06:12 AM
Border thickness in TableCellRenderer too thick... Dag Sunde Java 3 05-24-2006 12:55 PM
button with runat = server changes its border thickness PJ6 ASP .Net 2 10-11-2005 01:29 AM



Advertisments