Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Background Image in Tables
Old 01-28-2009, 02:26 PM Background Image in Tables
Junior Talker

Posts: 4
Name: Zac
Trades: 0
I've been trying to finish my layout, and I was wondering if it was possible to set a background image inside of a table?
rewindcaz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-28-2009, 09:26 PM Re: Background Image in Tables
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
You can, though I would definitely not recommend using tables for your layout. You really want to go with CSS. But since you asked so nicely, here is some code that will help you out:
HTML Code:
<TABLE background="yourimage.jpg">
- Steve
stevej is offline
Reply With Quote
View Public Profile
 
Old 01-30-2009, 11:37 AM Re: Background Image in Tables
Xexiu's Avatar
Novice Talker

Posts: 14
Trades: 0
or you can use this:

<table style="background url('images/my_image.jpg')" border="X" width="X" height="X" alt="MyImage">

Replace all "X" with your desire needs and properties of the image.
Hope that this helped you
__________________
Cheats, bots, tools for all games:
Please login or register to view this content. Registration is FREE

------------------------------------------------
Free mp3 and movies downloader:
Please login or register to view this content. Registration is FREE
Xexiu is offline
Reply With Quote
View Public Profile
 
Old 01-30-2009, 11:44 AM Re: Background Image in Tables
Average Talker

Posts: 24
Name: Juergen Neuhoff
Trades: 0
Shouldn't that be

Code:
<table style="background: url('images/my_image.jpg')" border="X" width="X" height="X" alt="MyImage">
(missing colon)
__________________
J.Neuhoff -
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Tutorials for:
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
JNeuhoff is offline
Reply With Quote
View Public Profile Visit JNeuhoff's homepage!
 
Old 01-30-2009, 12:33 PM Re: Background Image in Tables
Xexiu's Avatar
Novice Talker

Posts: 14
Trades: 0
yeah forgot it. xD. Thanks for the correction
__________________
Cheats, bots, tools for all games:
Please login or register to view this content. Registration is FREE

------------------------------------------------
Free mp3 and movies downloader:
Please login or register to view this content. Registration is FREE
Xexiu is offline
Reply With Quote
View Public Profile
 
Old 02-04-2009, 10:41 PM Re: Background Image in Tables
Super Talker

Posts: 138
Name: Shawn Lindsey
Location: Kentucky
Trades: 0
Everyone above has showed you how to include the image as a background in a table.

But one important detail that you need to remember, is that if you are making it as a background, then be prepared and make sure your image can stretch. Because if you don't set specific widths for tables and cells, and start inputting text then the table is going to stretch and there for your images will start stretching and if it is not meant or designed to stretch it will start to repeat.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

ShawnITSolution is offline
Reply With Quote
View Public Profile Visit ShawnITSolution's homepage!
 
Reply     « Reply to Background Image in Tables
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.51893 seconds with 12 queries