Filling a table with a blend of colours

M

Martin Stabrey

How can I fill a table with a blend of green to white (green starting on the
left and ending with white on the right)

TIA

Mart
 
S

Stefan B Rusynko

Apply a background image (not supported by NN4x) or cell background image (supported by NN4x)




| How can I fill a table with a blend of green to white (green starting on the
| left and ending with white on the right)
|
| TIA
|
| Mart
 
M

Murray

NN4 supports background images. Strangely. But it is doable.

Make a graphic with your gradient change from left to right that is however
wide you want and about 50px tall. Specify it as a background image to the
table, and use CSS to prevent it from tiling horizontally, e.g., in the head
of the document, do this -

<style type="text/css">
<!--
table.yourtable { background-image:url(yourimage.jpg);
background-repeat:repeat-y;}
-->
</style>

and then in your table, do this -

<table class="yourtable"....>

To do this entirely in FP's UI, you would use FORMAT | Styles > List:
User-defined styles > New
Then enter "table.yourtable" in the Name (selector) field, and click on
Format > Border > Shading (!)
On this tab, you will have an option to specify your background image and
its repeat characteristics.
 
T

Tom Pepper Willett

I surmise Stefan was speaking of table background images, which are not
support in NN4.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| NN4 supports background images. Strangely. But it is doable.
|
| Make a graphic with your gradient change from left to right that is
however
| wide you want and about 50px tall. Specify it as a background image to
the
| table, and use CSS to prevent it from tiling horizontally, e.g., in the
head
| of the document, do this -
|
| <style type="text/css">
| <!--
| table.yourtable { background-image:url(yourimage.jpg);
| background-repeat:repeat-y;}
| -->
| </style>
|
| and then in your table, do this -
|
| <table class="yourtable"....>
|
| To do this entirely in FP's UI, you would use FORMAT | Styles > List:
| User-defined styles > New
| Then enter "table.yourtable" in the Name (selector) field, and click on
| Format > Border > Shading (!)
| On this tab, you will have an option to specify your background image and
| its repeat characteristics.
|
| --
| Murray
|
| | > Apply a background image (not supported by NN4x) or cell background
image
| > (supported by NN4x)
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > message
| > | > | How can I fill a table with a blend of green to white (green starting
on
| > the
| > | left and ending with white on the right)
| > |
| > | TIA
| > |
| > | Mart
| >
| >
|
|
 
M

Murray

I surmised that, too.

Yes, table background images are supported in NN4x, but they are inherited
strangely into the cells. You can fix this by giving each cell a
transparent GIF as.a background image.
 
M

Martin Stabrey

Thanks Murray - will give it a go!

Mart

Murray said:
NN4 supports background images. Strangely. But it is doable.

Make a graphic with your gradient change from left to right that is however
wide you want and about 50px tall. Specify it as a background image to the
table, and use CSS to prevent it from tiling horizontally, e.g., in the head
of the document, do this -

<style type="text/css">
<!--
table.yourtable { background-image:url(yourimage.jpg);
background-repeat:repeat-y;}
-->
</style>

and then in your table, do this -

<table class="yourtable"....>

To do this entirely in FP's UI, you would use FORMAT | Styles > List:
User-defined styles > New
Then enter "table.yourtable" in the Name (selector) field, and click on
Format > Border > Shading (!)
On this tab, you will have an option to specify your background image and
its repeat characteristics.
 
Top