473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Border and Color Styles on Tables...

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
============================
Jul 20 '05 #1
0 1743

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Markus | last post by:
hi, i am new to the xsl-fo-pdf-stuff... i want to create a pdf document with apache-fop. in this document i do have a border around two blocks. my designer want to have round corners for the...
7
by: Bob Bedford | last post by:
I've an image in a cell of a table. I've this CSS: ..dbtable{ width: 600px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border-collapse: collapse; border: 1px solid #000000;
2
by: Jon | last post by:
Hi all, I am trying to create a page that contains a number of div elements, with links on the left side of the page allowing the user to select which div to display. Some of the pages contain...
8
by: Chuck | last post by:
given that the img border >0, how is a border color specified? Chuck
8
by: Warren Sarle | last post by:
Here are two screen captures: http://www.warrensarle.com/borders.gif of this one web page: http://www.warrensarle.com/borders.php in IE and Firefox. A border-style of solid is rendered the same in...
2
by: progdis | last post by:
I want to apply css styles on a GridView, but there is some border magic in it, which applies border styles on the table. By default it sets an attribute border="0" on the table. If I set border...
1
by: VincentCorp | last post by:
I have a td element in my html file: <td class="tableborder" width="735" bgcolor="#FFFFFF" valign="top"> If I put inside the HTML file it works fine but I want a central CSS file....
0
by: eggsurplus | last post by:
<em>I just posted this in the wrong forum so sorry if anyone gets a dup!</em> I'm working on a slide down horizontal menu and I'm having issues getting the border around the submenu to display...
8
by: moondaddy | last post by:
I'm posting code for a user control ( FunctionConnectorSelector) below which has 3 content controls in it. each content control uses a style from a resource dictionary merged into the app.xaml...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.