navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

TABLES

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> TABLES
Page: [1]
 
Gill_110

 

Posts: 120
Joined: 4/25/2004
Status: offline

 
TABLES - 7/12/2008 15:16:28   
Hi
I have just started to use Expression Web. I have a web site with pages that contain lots of tables - over 100. I use a CSS to control the layout and colour of my site. How can I set up part of my CSS to control the colour scheme of my table?

Thanks.
TexasWebDevelopers

 

Posts: 202
Joined: 2/22/2002
From:
Status: offline

 
RE: TABLES - 7/12/2008 19:33:08   
Give each table an id :
<table id="tblA" cellspacing="0" summary="Table description goes here.">
Then write your css for the th, tr and td tags.
You can even use images for backgrounds.
Here is an example-view source for code and download the css:
http://www.texaswebdevelopers.com/css_layout/


_____________________________

http://www.TexasWebDevelopers.com/

(in reply to Gill_110)
Tailslide

 

Posts: 6270
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: TABLES - 7/13/2008 3:20:45   
Best not to use tables at all for layout. Tables should only ever be used for tabular data.

Use CSS to layout the page and presentation.

If you're stuck with an old design that you can't change then do as suggested and give tables either IDs (for a unique style on a page) or classes (for something that you repeat a lot).

BUT try to give them meaningful ID or class names - it's pretty hard to understand what tblA means when you're looking at a stylesheet. Much much better to call it - "wrapper" or "footer" or "sidebar" etc etc.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to TexasWebDevelopers)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> TABLES
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts