HighDots Forums  

Background image position in table

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Background image position in table in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jeffreyhicken
 
Posts: n/a

Default Background image position in table - 03-27-2009 , 08:07 PM






I know how to put a background image into a table but what I need to know is
how to position it to the bottom of the table so as the able expands with
content, the image will stick to the bottom of the table. If you got to the
site I'm workign on you'll understand.

http://www.graphickontent.com/lionsharestrategies/team.html

I want the lion's tail image to stick to the bottom of the page.

Any suggestions? Is this possible?

thanks

-jeffrey


Reply With Quote
  #2  
Old   
djinn
 
Posts: n/a

Default Re: Background image position in table - 03-27-2009 , 08:44 PM






jeffreyhicken wrote:
Quote:
I know how to put a background image into a table but what I need to know is
how to position it to the bottom of the table so as the able expands with
content, the image will stick to the bottom of the table. If you got to the
site I'm workign on you'll understand.

http://www.graphickontent.com/lionsharestrategies/team.html

I want the lion's tail image to stick to the bottom of the page.

Any suggestions? Is this possible?

thanks

-jeffrey

Find this in your code....

<td valign="top" width="1018" background="images/tail_background.jpg"
height="439">

.... and replace with this....

<td valign="top" width="1018" style="background-image:
url(images/tail_background.jpg);background-repeat: no-repeat;
background-position: right center;">

better still create a class in your css sheet - use the style from the
above code - apply the class to whichever table or table cell which fits
your needs best.

HTH

--
chin chin
Sinclair


Reply With Quote
  #3  
Old   
jeffreyhicken
 
Posts: n/a

Default Re: Background image position in table - 03-28-2009 , 12:52 PM



Thanks, I knew it would probably be something simple. I'm still learning, kinda
making it up along the way with help from folks like you. I appreciate the
guidance. The site is still in progress and I ended up going through all the
pages and making a CSS style class like you suggested. It's better than the
nested tables I was using before.

Thanks again.

-jeffrey


Reply With Quote
  #4  
Old   
djinn
 
Posts: n/a

Default Re: Background image position in table - 03-28-2009 , 04:20 PM



jeffreyhicken wrote:
Quote:
Thanks, I knew it would probably be something simple. I'm still learning, kinda
making it up along the way with help from folks like you. I appreciate the
guidance. The site is still in progress and I ended up going through all the
pages and making a CSS style class like you suggested. It's better than the
nested tables I was using before.

Thanks again.

-jeffrey

NP :-)

Rather than using embedded css - consider consolidating your css rules
into a linked stylesheet - that way you need only change the linked
stylesheet to affect the other pages in your site.

HTH

--
chin chin
Sinclair


Reply With Quote
  #5  
Old   
jeffreyhicken
 
Posts: n/a

Default Re: Background image position in table - 03-28-2009 , 09:48 PM



Thanks, I'll check into that. I'm still learning what CSS can do.

Thanks again,

-jeffrey

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.