Table colours and sizes, Using background images in table cells |
Table colours and sizes, Using background images in table cells |
Albert |
Sep 5 2006, 09:48 PM
Post
#1
|
Newbie Group: Members Posts: 10 Joined: 5-September 06 Member No.: 74 |
I am trying to figure out if it better to use "insert file" into a table cell rather than use ther image as the cell background both give the same effect, but I need the cell to remain the same size as the image.
Hope you can help on this simple question. thanks Albert |
Christian J |
Sep 6 2006, 05:29 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
I am trying to figure out if it better to use "insert file" into a table cell rather than use ther image as the cell background Do you mean if it's better to use an IMG element or a CSS background-image in the TD? If the image is considered important content, use the IMG element (with proper ALT text) . If the image is just for decoration it doesn't really matter. QUOTE both give the same effect, but I need the cell to remain the same size as the image. Depending on the rest of the table you may have to specify width and height of the table cell in either case. A link to a sample page might be helpful. This post has been edited by Christian J: Sep 6 2006, 06:09 AM |
pandy |
Sep 6 2006, 05:57 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
I think Christian means he'd like you to post the URL to a sample page so we can better understand the problem. So would I.
|
Lo-Fi Version | Time is now: 26th September 2024 - 10:20 AM |