|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i'm trying to create a template for phpbb which will look a lot cleaner (and hopefully pretty good)...
and i'd like to have a table class which would have an alpha-effect background (I'm going to put an image as the background for the page, so the table would be translucent-white, making the the text more readable).. so I found the syntax on w3schools and tried out, but it creates an alpha effect upon all of the table - including the contents. Is there a way to avoid this?... I want a table like this one, to clear it up. http://thetruth.com/global/desktop/index.cfm?id=6 - the table overlaid onto the image ( yes i know i could steal that stylesheet, but ie wouln't let me view source. Any ideas? Thanks... Tom ![]()
__________________
|
|
#2
|
||||
|
||||
|
I don't know beans about stylesheets... but I do know a few tricks on getting source code. Try...
http://view-source:http://thetruth....top/desktop.css http://view-source:http://thetruth....p/body.cfm?id=6 Hope it helpsP.S. Your sig doesn't work right -- it appears as though you might have forgotten the opening IMG tag.Last edited by Clone53421 : June 19th, 2003 at 03:57 PM. |
|
#3
|
|||
|
|||
|
Very simple...
View the source of the page you linked. In it, they used a <div> with the transparent filter applied, then placed the text within another <div>. So, as long as you contain your content within another element, it should work fine. ![]() Edit: You do know that filter only works in IE, right? Last edited by Slak : June 19th, 2003 at 04:06 PM. |
|
#4
|
||||
|
||||
|
you can combine the alpha effect with a semi-transparent png as background so you will have support for more than one browser,
|
|
#5
|
|||
|
|||
|
nice
awesome idea, i think i'll try that... it'll be easier to write too, since creating 2 divs in each table would take a lot of rewriting stuff... (plus i have almost no comprehension of what the mysterious "div" is or what it does)
|
|
#6
|
|||
|
|||
|
is there any reason why this wouldn't work in ie? i haven't gotten it to work yet but probably can with some more trial and error.
|
|
#7
|
|||
|
|||
|
I could be wrong, but last time I checked, IE didn't support alpha transparencies in PNG files.
|
|
#8
|
|||
|
|||
|
ah.. ok. kinda stuck then. i guess the site looks pretty good right now, without transparencies
|
|
#9
|
|||
|
|||
|
|
|
#10
|
|||
|
|||
|
I can confirm the no PNG support. However, Microsoft claims to have a
Workaround? [microsoft.com] |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > alpha effect css on tables... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|