Loading an image as table background

Posted on 1998-08-14
Medium Priority
Last Modified: 2010-04-09
I would like to load an image as a background for a table, but the image is tiling (repeating in blocks). I just want the image to appear as a whole for the background. Is this is not possible, can I load an image on the page and place drop down menus directly on the image using javascript or style sheets.
Question by:gpickett

Expert Comment

ID: 1845363
Just a few thoughts:

I would like to know of a good way to do this as well in just html, but there are other ways around it I suppose.  Like you could make the image the size of the table, by just extending white space out a lot, you could make it the background of just a <TD> tag instead thus reducing the size you would have to make it to prevent tiling.

As far as placing drop down menus directly on the image, I'm not exactly sure how that would work.  You want the form drop select to appear to be placed within another image or something?  Sound to me like this might work better using Java or something other than HTML.


Accepted Solution

Answers2000 earned 200 total points
ID: 1845364
If you use DHTML use layers.
Put the image on one layer, and the table on top on another one.


Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question