PC Review


Reply
Thread Tools Rate Thread

CSS table question

 
 
=?Utf-8?B?RGF5dG9uYSBTdGV2ZQ==?=
Guest
Posts: n/a
 
      23rd Apr 2007
I have created a table as an agent roster on my test site at

http://www.bdmcdaytona.com/testdux/a...entroster.html

There will be about 90 names, most now are made up. When I looked at the
code, I was horrified at all the info for each row / cell. I believe CSS
would cut down dramatically on the code and I've started working with CSS but
I haven't figured out how to assign table names, then assign properites to
the table and the cells.

Am I headed in the right direction with CSS and how would I do this?
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      23rd Apr 2007
Hi Steve,

You're definitely headed in the right direction.

You can define styles for:
1. Element tags (body, p, h1, table, td, etc)
2. Individual elements (id="uniqueId")
3. Classes of elements (class="className")
4. Elements contained inside certain elements (defined as above)
5. Sibling elements to elements that are defined as above.
6. Descendant elements (grandchildren, etc. inside elements)
7. Much more (these are the majors).

The styles can be defined in the <head> section of a page, or even in a
separate external style sheet that can be used by many pages. Note that
because of the ability to define styles for elements, children, siblings,
and descendants, some elements don't even have to have an id or a class to
be styled. This makes for very lean HTML code.

If you make good use of CSS, you can make layout changes to your web without
even touching the HTML in the pages. See http://www.csszengarden.com for
some startling illustrations of this.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Daytona Steve" <(E-Mail Removed)> wrote in message
news:033A48C6-7C13-4821-8562-(E-Mail Removed)...
>I have created a table as an agent roster on my test site at
>
> http://www.bdmcdaytona.com/testdux/a...entroster.html
>
> There will be about 90 names, most now are made up. When I looked at the
> code, I was horrified at all the info for each row / cell. I believe CSS
> would cut down dramatically on the code and I've started working with CSS
> but
> I haven't figured out how to assign table names, then assign properites to
> the table and the cells.
>
> Am I headed in the right direction with CSS and how would I do this?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Question About Updating one table with data another table using a Form DoveArrow Microsoft Access Queries 3 19th Jul 2007 06:47 PM
Question About Updating one table with data another table using a Form DoveArrow Microsoft Access Queries 2 19th Jul 2007 05:24 PM
SQL Question; Populating one table with data from another table. Jan T. Microsoft Access Getting Started 6 26th Apr 2006 09:40 PM
Question for Debra Dalgleish / Reply to a Pivot Table Question carl Microsoft Excel Worksheet Functions 1 8th Jun 2004 02:46 AM
Turning a table design into a table - followup question dbaker@ku.edu Microsoft Access 4 6th Nov 2003 07:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:09 AM.