Results 1 to 7 of 7
Thread: Image Background for html tables
Hybrid View
-
12-12-2009, 06:17 AM #1Disabled
- Join Date
- Oct 2009
- Posts
- 81
Image Background for html tables
Html tables can contain image background, colored background and borders of different size. This is the example:
<TABLE BORDER="0" CELLPADDING="4" ALIGN="Center" WIDTH="50%">
<TR>
<TD BACKGROUND="bg.gif" WIDTH="10%"></TD>
<TD BGCOLOR="#EAE8E8"></TD>
</TR>
</TABLE>
-
12-12-2009, 09:00 AM #2
Indeed they can, though it would be better to use CSS to define it.
Code:td.background{ background-image: url(images/bg.gif); background-color: #EAE8E8; }
<TD class="background" width...>Last edited by bear; 12-12-2009 at 09:05 AM.
Your one stop shop for decentralization
-
12-12-2009, 02:33 PM #3Web Hosting Evangelist
- Join Date
- May 2007
- Location
- Cardiff, United Kingdom
- Posts
- 511
■ Sam Asante ~ Web & User Interface Designer ~ SamAsante.com
■ World-Class cPanel Themes
■ Responsive WHMCS Themes
-
12-12-2009, 03:18 PM #4
Personal preference.
Except for things like border attributes, I like separate lines, personally.Your one stop shop for decentralization
-
12-12-2009, 05:14 PM #5Newbie
- Join Date
- Nov 2009
- Location
- México
- Posts
- 23
Zebra Tables
http://validweb.nl/articles/better-zebra-tables/
-
12-12-2009, 06:09 PM #6
-
12-13-2009, 08:24 PM #7Newbie
- Join Date
- Nov 2009
- Location
- México
- Posts
- 23
Similar Threads
-
background image
By alecbradley in forum Web Design and ContentReplies: 10Last Post: 11-17-2008, 01:08 PM -
image background
By Sops in forum Web Design and ContentReplies: 3Last Post: 04-27-2006, 10:58 PM -
Background Image
By a1nerd in forum Web Design and ContentReplies: 6Last Post: 09-16-2005, 07:51 PM -
Image background blend into web page background
By armin_van_buuren in forum Web Design and ContentReplies: 6Last Post: 10-15-2004, 11:19 AM -
HTML Help...Background Looks off in Netscape
By SimonMc in forum Web Design and ContentReplies: 7Last Post: 12-22-2003, 09:08 PM