This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > Background problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Background problem
dave4500

2005-09-14, 11:17 pm

Here is what I have started with so far. http://www.ndhospice.com
I am trying to put this gradient background in the table where my links are
and it keeps repeating itself for each cell. Is there a simple fix for this?
Thanks for any help.

Tim G

2005-09-15, 4:16 am


"dave4500" <webforumsuser@macromedia.com> wrote in message
news:dgajs7$2mh$1@forums.macromedia.com...
> Here is what I have started with so far. http://www.ndhospice.com
> I am trying to put this gradient background in the table where my links
> are
> and it keeps repeating itself for each cell. Is there a simple fix for
> this?
> Thanks for any help.


Yes. Use a nested table for the left column, and set the background to the
table, rather than to the individual cells.

Although, frankly, you don't need those cells anyway....

tim
--
Tim Gallant
Pactum Web Services: http://www.pactumgroup.com
Tutorials: http://www.pactumgroup.com/tutorials/


dave4500

2005-09-15, 4:22 am

I will try to do a nested table...not sure how but will dig into it and learn.
If I put in a nested table on the left side of the page, then you are saying I
should leave out the cells and put the links just in the nested table??
Thanks

Osgood

2005-09-15, 7:28 am

dave4500 wrote:

> I will try to do a nested table...not sure how but will dig into it and learn.
> If I put in a nested table on the left side of the page, then you are saying I
> should leave out the cells and put the links just in the nested table??
> Thanks
>


Do you know any css?

Make a style, as below. You can copy it and paste it with the other css
styles, which are at the top of your page.

#navTable {
background-image: url(pics/butbackgrnd.jpg);
background-repeat: repeat-y;
}

So you now have:

<style type="text/css">
a:link,a:visited{color:006666;font:11pt verdana}
a:active{color:cc9966;font:11pt verdana}
A:hover {color: cc9966;font:11pt verdana}
#navTable {
background-image: url(pics/butbackgrnd.jpg);
background-repeat: repeat-y;
}
</style

Attach the css style to the appopraite table code, see below. The
simplest way to do this is to place your cursor into the cell containing
the first menu link then switch to code view. Locate the flashing
cursor. A couple of lines up you will see the line of code which you
need to add the style to, just type it in.

<table width="772" id="navTable" border="0" cellspacing="0"
cellpadding="0" height="343" align="center">

Next remove all of the background images that you have attached to the
menu link <td> cells.

You should now see a seamless background running down the left side of
the page.


.: Nadia :. *TMM*

2005-09-15, 7:28 am

Maybe this example setting a background image to a cell will help:
http://www.dreamweaverresources.com...lbackground.htm
You would just insert another table into the left column with the required
number of cells to hold your menu items.


--
Nadia
Team MM Volunteer for Dreamweaver
--------------------------------------------
http://www.csstemplates.com.au
Templates | CSS Templates |
http://www.DreamweaverResources.com
Dropdown Menu Templates | SEO Articles |Tutorials
---------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
..

"dave4500" <webforumsuser@macromedia.com> wrote in message
news:dgb7g0$prs$1@forums.macromedia.com...
>I will try to do a nested table...not sure how but will dig into it and
>learn.
> If I put in a nested table on the left side of the page, then you are
> saying I
> should leave out the cells and put the links just in the nested table??
> Thanks
>



dave4500

2005-09-17, 11:22 pm

Thanks for the tips.....I will try this. Looks doable even for me.
Thanks again.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews