IMALoser
04-16-2003, 02:01 PM
Is it possible to put tables in front of images? If so, how? I'm such a n00b at this, I know.=(
|
View Full Version : Tables and CSS IMALoser 04-16-2003, 02:01 PM Is it possible to put tables in front of images? If so, how? I'm such a n00b at this, I know.=( lefty 04-16-2003, 03:51 PM If you don't set a background color for a table, it'll automatically be transparent and you can see whatever's behind it. You could also set the image as the background of the table if it works out that way... If you want to get your table on top of the image, you'll have to use absolute positioning (http://www.lissaexplains.com/css2.shtml#position). The code there is for images, but you can use it for anything, really. :) IMALoser 04-17-2003, 02:24 AM Oh thanks. But btw, does this also work for iframes? epolady 04-17-2003, 02:35 AM Yes it does work for anything within the positioning tag. IMALoser 04-17-2003, 03:34 AM Alrighty, so I'll just put style=position: inside the < tags > of the table right? I just want to make sure in case I make a mistake or get lost. epolady 04-17-2003, 03:48 AM Yes, you can put CSS tags in almost any HTML tag (i.e. <b><i><u><table><div>). :) If you need anymore help, we're here. Good luck! IMALoser 04-19-2003, 01:56 PM Seeing as, this thread is still about tables. I have another question about it. I'm done with the absolute positioning thing. But my tables won't show up. I want it to be dashed like and silver, it's suppose to look like this... I'll attach it (there seems to be no attach file form) http://pages.ivillage.com/blulite//whatIwant.jpg MaGiCSuN 04-19-2003, 02:02 PM Unfortunally there is no "silver" colour but lightgrey could be the same aswell for the dashed tables use this: style="border: 1 dashed #COLORHERE" add that into the <table> tag like this: <table style="border: 1 dashed #COLORHERE"> if you allready use a positioning code in that <table> tag then it would look like this: <table style="position: absolute; left: #px; top: #px; height: #px; width: #px; border: 1 dashed #COLORHERE"> Love, Mirna IMALoser 04-19-2003, 02:05 PM Oops, I wasn't double posting after all. Anyway, iframe won't come out transparent so the image won't show up as a bg. Plus, I used the direction code to make the scrollbar appear on the left but the text got affected. Everything became messed up, the periods, parentheses all go on the left as well.... erm, help? MaGiCSuN 04-19-2003, 02:09 PM do you have IE 5.5 or higher? because then only the transparent iframe will work (that's why i don't like that code at all) Love, Mirna IMALoser 04-19-2003, 02:14 PM Oh I see, I think mine is only IE5 lower. I'm not quite sure but it just won't show up. But thanks about the tables though. I see what you mean about the transparent iframe but what about the direction code. It's going insane too... MaGiCSuN 04-19-2003, 02:18 PM what code did you used for the direction part? can you post it here? thanks! Love, Mirna IMALoser 04-20-2003, 04:16 AM direction:rtl; This one! I only meant to have the scrollbar to the left but everything went to the left instead. |