Tables getting background color from another page?

G

Guest

I have my site set up to get background and text colors from another page in
my site, but I don't see how (if it is even possible) to also have the
background color for tables be pulled from a different page. I want to be
able to change all of the colors in my site by only messing with one page.
This works great for everything except the background color in tables. My
site has tables on every page, so it would be great if there is a way to do
this.

I am using FrontPage 2000 by the way...

Thanks!
 
T

Thomas A. Rowe

You would need to use External CSS file.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
R

rctoyguy

Thanks for getting me pointed in the right direction. I
will look over the link you posted in a little while.

I have created an external css file, and have a test page
in my site linked to it so I can see how changes work. I
can't figure out how to modify anything within the css
file though.
If I open the css file, then select "Format - Style", I
see the variables that were set in the template I picked
to work from. I select an item that I want to modify,
then click "Modify" - all I can change is the name
(selector). Clicking the "Format" button only gives me
Font, Paragraph, Border, Numbering, Position.

From looking at the page view of the css file, I sort of
see how the syntax needs to be, but shouldn't there be an
easier way with FP than to manually enter the coding?

-----Original Message-----
Hi,

I would use a external CSS file to set the colors of the
page and tables as required. For information on CSS see
http://www.devguru.com/Technologies/css/quickref/css_intr o.html
--
Mike -- FrontPage MVP '97-'02
J-Bots 2004 102 Components For FP
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
Download the Trial http://www.microsoft.com/frontpage/downloads/addin/launchu
pdate/download.asp


"rctoyguy" <[email protected]> wrote in
message (e-mail address removed)...
 
R

rctoyguy

Do you mean edit it manually like with notepad, or edit
it manually with FP showing the "html view" (since that
is the only view available for css files) --

Also - how do I specify a background color for tables?
Does it have to be done individually by cells? I can't
find the "code" for table background. That was my biggest
thing was to be able to control the background color of
tables on many different pages from one location.
 
M

Murray

I mean open it in FP, and then manually add/delete/edit the CSS style rules.
Nothing in FP's UI will work in a CSS page, as far as I know.

You can specify a table's background color in 3 different ways (each of
which has probably many alternatives):

1. Create a CSS style -

table.special { background-color:purple; }

and then style the table's HTML tag like -

<table class="special"....

2. Edit the table's properties and look for the Background section - where
you can specify either an image or a color, or

3. Manually add the bgcolor attribute to the table tag, e.g.,

<table bgcolor="puce"....
 
R

Rich Osborne

Hi -

I try to go the simplest route for most everything. :)

What if ......

You had a background image named "tablebg01.jpg" in a folder named "images."
Let's say that this was a 4 x 4 pixel image in bright red. All of the tables
on all of your pages used this image as a background color. If you wanted to
change all of the tables to a light blue, you could simply save a new, light
blue, 4 x 4 image as "tablebg01.jpg" in the "image" folder. That would
change all of the table backgrounds.

Simple, yes?

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top