469,630 Members | 1,209 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,630 developers. It's quick & easy.

Another Simple Question, Dynamic formatting

Sorry to ask such a simple question but here it is, and I'm am new to
ASP/WEB

I am designing a site and I want to make it general so I can easily change
the font/color/sizes of the tables/datagrids on the fly. Do I have to load
in the scheme I want and adjust every attribute myself or is there a simple
way of doing it that I'm missing. I thought maybe the CSS helped with this
but I haven't dug into it much.

Thanks for the help and time.
Chris
Nov 18 '05 #1
1 927
CSS is the solution to this. The way I've done it in the past is everything
that I want to control, I set a class for. In the CSS I create said class.

In HTML:
<Font class="myClass">Hello World!</font>
In CSS:

..myClass

{

font-weight: bold;

font-size: 10pt;

color: #ffffff;

background-color: #336699;

text-align: left;

}

Michael

"Chris" <cf@NoSpamzieQuotepro.com> wrote in message
news:ei**************@TK2MSFTNGP10.phx.gbl...
Sorry to ask such a simple question but here it is, and I'm am new to
ASP/WEB

I am designing a site and I want to make it general so I can easily change
the font/color/sizes of the tables/datagrids on the fly. Do I have to load in the scheme I want and adjust every attribute myself or is there a simple way of doing it that I'm missing. I thought maybe the CSS helped with this but I haven't dug into it much.

Thanks for the help and time.
Chris

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by cppaddict | last post: by
4 posts views Thread by Greg B | last post: by
3 posts views Thread by The Eeediot | last post: by
13 posts views Thread by jcrouse | last post: by
7 posts views Thread by Steven D'Aprano | last post: by
9 posts views Thread by davetelling | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.