473,385 Members | 1,392 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,385 software developers and data experts.

Help me design CSS for table

144 100+
hai friends

i am new to css

pl help to design css for table as per below requirement


for table caption(heading) font verdana size=3 Bold color=#33ffff
for rows in table font verdana size=3

pl reply me..
Apr 12 '08 #1
1 1103
AutumnsDecay
170 100+
hai friends

i am new to css

pl help to design css for table as per below requirement


for table caption(heading) font verdana size=3 Bold color=#33ffff
for rows in table font verdana size=3

pl reply me..
You could use a DIV, which is styled through CSS.

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>--</title>
  4. <style>
  5.  
  6. .table
  7.     {
  8.     background: #FFFFFF;
  9.     width:147px;
  10.     border: 1px solid #000000;
  11.     float:left;
  12.     padding-left:3px;
  13.     }
  14.  
  15. .style1
  16.     {
  17.     color: #33FFFF;
  18.     font-family:Verdana, Arial, Helvetica, sans-serif;
  19.     font-weight:bold;
  20.     size: 3px;
  21.     }
  22.  
  23. .style2
  24.     {
  25.     color: #33FFFF;
  26.     font-family:Verdana, Arial, Helvetica, sans-serif;
  27.     font-size: 3px;
  28.     }
  29.  
  30. </style>
  31. </head>
  32. <body>
  33. <div class="table">
  34.     <span class="style1">Table Header</span>
  35.         <br /><br />
  36.             <span class="style2">Table rows! Table rows!</span>
  37. </div>
  38. </body>
  39. </html>
  40.  
If you don't want to use a DIV, simply omit the DIV tags in the table and style the table the way you want to. Then use the '.style' for each text element in the table. Be sure NOT to include the '.' in the styles.
Apr 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Krist | last post by:
Hi All, I have a database design question, pls give me some help.. I want to define tables for salesman's sales target commission . The commission could be given per EITHER sales amount of :...
1
by: Krist | last post by:
Hi All, There is some additional info I forget on this same topic I just posted. I have a database design question, pls give me some help.. I want to define tables for salesman's sales target...
0
by: Jim | last post by:
I need some help getting started with a .NET web project for a commercial site. I am new to .NET and my understanding of some (but not all) of its concepts is a little sparse. I apologize for the...
9
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
18
by: Jeremy Weiss | last post by:
I'm trying to build a database that will handle the monthly billing needs of a small company. I'm charting everything out and here's what I see: table for customers sub table to track payments...
5
by: Steve Patrick | last post by:
Hi All You guys are my last hope, despite spending money on books and hours reading them I still can not achieve the results I need. I have designed a database in Access 2000 based on 1 table,...
7
by: david | last post by:
I have asked this question before. But it does not work for me. Given radion buttons in the web form design page. What I did is described as follows. A panel control is dragged into the design...
1
by: stalinmaddy | last post by:
I have problem with layers in my code. The problem is that it works well with ordinary html files but when include with any other files which have flash script or more javascript it doesn't...
4
by: yanjie.ma | last post by:
Hi, I've got a two part question on table and form design (sorry for the length but it takes a bit to explain). Our sales department uses a look-up table to help the them select the best...
15
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.