![]() |
Table CSS (Image/Background) Help....
I have been trying to get a Table CSS to work, I thought it would be EASY lol.
I have 1 Table (1 Cell) 900 wide. I want to have a background image (thats 900 wide) repeated down the table. But also I want to position a Image at the TOP of the table thats 900 wide also. These 2x images will be the background of the table. I will then add Text on top of the image (inside the Cell). So the images have to be Backgrounds not adding IMG tag & cant add text over it. Cheers |
Re: Table CSS (Image/Background) Help....
Do you have some existing CSS that's not working or do you need an idea on how to do it?
|
Re: Table CSS (Image/Background) Help....
Quote:
|
Re: Table CSS (Image/Background) Help....
Right I think I have it now. You want a background at the back, and image on top of that and then a table on top of that?
If you use <div> with absolute positioning and z-index you can. z-index says when things are on top of each other which is at the back and which is at the front. Default is 0, positive is coming out of the screen towards the user, minus is going back into the screen. Probably are easier ways but something like this: Code:
<html> |
Re: Table CSS (Image/Background) Help....
Quote:
Quote:
Your CSS had Height tag, I dont know how high each page would be, so would prefer it to not have height. Also needs to be Centre. Only other way I can think of, is to make my Top Image 900x390_Top.jpg 1000 pixel High (or larger) then just use 1 image (no need to overlay 2x ---------- Post added at 10:26 ---------- Previous post was at 09:15 ---------- Just worked out a way with DIV Tags & CSS. Not the Best way maybe, but it does what I want. http://www.suziperry.tv/test/box.htm Code:
a.box { |
| All times are GMT +1. The time now is 19:14. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum