HighDots Forums  

Border and Color Styles on Tables...

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Border and Color Styles on Tables... in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chef Blair
 
Posts: n/a

Default Border and Color Styles on Tables... - 08-24-2003 , 03:50 PM






I want to use CSS to control the color and borders on all the tables in my
site, so I can just modify the CSS file, to control the behavior of the
tables.

Problem Is:
Using CSS I cant seem to get the same shadow and border effects that I can
in HTML.
Ridge, Outset or Inset - none of these give the same effects.

Thanks for any advice you can give me.


Here is an HTML table from my site.....

<CENTER><TABLE BACKGROUND="bkground.gif" BORDERCOLOR=#CED6FF
BORDERCOLORLIGHT=#CED6FF BORDERCOLORDARK=BLUE CELLPADDING=2 CELLSPACING=5
BORDER=3 WIDTH=350><TR><TD>
<P ALIGN=CENTER><FONT SIZE=5><font color="BLUE"><B>Visitor
Links</B></font></font></P></TD></TR></TABLE></CENTER>

Using CSS here is the STYLEs I'm trying to use.....

..table1 {
width: 350;
cell-padding: 5;
border-style: ridge;
border-width: 6px;
border-color: #CED6FF #4169E1 #4169E1 #CED6FF;
background-image: url(bkground.gif); }

P.table2 {
text-align: CENTER;
color: BLUE;
font-size: 1.50em;
font-weight: bold; }


--
============================
Visit The French Pastry Chef at:
http://www.frenchpastrychef.com
============================



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.