Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
johnegbert #1
Layer Opacity problem... wont work!!!
hey guys,
I cannot for the life of me figure out why I cant get this stupid layer to be
semi-transparent.... this is what I have for my actual layer line....
<div id="company"
style="filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;position:absolute;
z-index:1; width: 100%; height: 100%; background-color: #F4E8E8;
layer-background-color: #F4E8E8; visibility: hidden;">
I have this set up so that when I click a link the layer becomes visible, but
there is no transparency whatsoever. I have also completely took out the
background, colored a table inside of this layer and put the alpha filter on
the table style but again, NOTHING!!! can anyone please help me with this
thing? I am sure im probably just missing something simple, I am having a
brain cramp today.
:-)
Thanks in advance guys.
johnegbert Guest
-
Wont Work
Every time I go to Youtube or photobucket yo watch something, it says you need at least flash player 8 or whatever. And I click the link that takes... -
SQL wont work
Can anyone suggest why this SQL wont work? Someone has suggested that I have a few " in the wrong place. I am missing the basic understanding... -
Opacity problem - Max to w3d
I can add a texture to a box then apply a opacity map so part of it is transparent. This shows up correct in Max but the opacity map doesn't show... -
Can anyone tell me why this wont work
Dear Stephen on stopMovie repeat with n in the windowlist -- forget n -- use this forget the windowlist end repeat end -
Can anyone tell me why this wont work??
I am trying to check and see if a field is posted or not, if not posted then assign $location which is a session variable to $location_other. If... -
johnegbert #2
Re: Layer Opacity problem... wont work!!!
whats really weird is that if i put the exact same code in a seperate page, it works just fine!!!! whats throwing this off?!?!? AHHHHH!!
johnegbert Guest
-
rob::db #3
Re: Layer Opacity problem... wont work!!!
I always use filter:Alpha(Opacity=25) (with capitalisations), but I have no
idea if that makes any difference or not. It looks to me that your code
should work though, in browsers that support those various different opacity
settings. Which browsers have you found that this doesn't work in? Are you
finding that the <div> appears as it should when you show it (although
totally opaque), or that it doesn't show up at all?
johnegbert wrote:style="filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;position:absolu> hey guys,
> I cannot for the life of me figure out why I cant get this stupid
> layer to be semi-transparent.... this is what I have for my actual
> layer line....
>
> <div id="company"
>
te;> z-index:1; width: 100%; height: 100%; background-color: #F4E8E8;
> layer-background-color: #F4E8E8; visibility: hidden;">
>
> I have this set up so that when I click a link the layer becomes
> visible, but there is no transparency whatsoever. I have also
> completely took out the background, colored a table inside of this
> layer and put the alpha filter on the table style but again,
> NOTHING!!! can anyone please help me with this thing? I am sure im
> probably just missing something simple, I am having a brain cramp
> today. :-)
> Thanks in advance guys.
rob::db Guest
-
johnegbert #4
Re: Layer Opacity problem... wont work!!!
rob,
thanks man, but i dont think that the caps matters, especially considering i
can get it to function just fine on a seperate sheet as is....
the div shows up totally fine when I show it, no problems there. its just
that there is no transparency to the background.... im bout to throw the
machine out the window, it seems like a glitch. anyway, the code WORKS, but
something else on my page is somehow disabling or not allowing the layer to
inherit the opacity settings. i tried making the table which the layer resides
in opaque at about 50%, and that worked perfectly, but the stupid layer inside
the table didnt change at all!!!!!!!!!!!!!!!!!!!! What the hell!?
any ideas anyone?
johnegbert Guest
-
johnegbert #5
Re: Layer Opacity problem... wont work!!!
guys, i figured it out.. i had to redefine the doctype (you know this
code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">)
i got that fixed, but now of course my tables down span 100% vertically...
aghh. anyone know how to fix that?
johnegbert Guest
-
Murray *TMM* #6
Re: Layer Opacity problem... wont work!!!
Here's the deal.
A doctype on an HTML page tells the browser how to render the page. If
there is no doctype, or if there is an invalid one, the page is rendered in
quirks mode. If there is a valid doctype, the page is rendered in standards
mode.
DMX (not DMX2004) inserted a broken doctype on the page (i.e., functionally
equivalent to no doctype). Earlier versions inserted NO doctype. Hence,
all these pages are rendered in quirks mode.
In quirks mode, the browser makes an attempt to render invalid HTML. Not
all browsers attempt the same rendering - so you will see a variety of
differences, comparing one browser to the next on the same page.
In standards mode, the browsers all render the same (so they say - but in
practice, while not true, it's much more uniform).
Table height is invalid HTML. It always has been - it was never a part of
HTML's specs.
Browsers in quirks mode will try to render table heights. Browsers in
standards mode willl not.
Geddit?
To read about a way to *maybe* get this on a page with a valid and complete
doctype, go here -
[url]http://www.apptools.com/examples/tableheight.php[/url]
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"johnegbert" <webforumsuser@macromedia.com> wrote in message
news:devst8$9sj$1@forums.macromedia.com...> guys, i figured it out.. i had to redefine the doctype (you know this
> code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">)
> i got that fixed, but now of course my tables down span 100% vertically...
> aghh. anyone know how to fix that?
>
Murray *TMM* Guest
-
johnegbert #7
Re: Layer Opacity problem... wont work!!!
Murray,
Ive been developing since 98 and had never heard of any of that. Thanks a ton
for the thurough explanation. I went ahead and looked up that doctype before I
saw your post I came across snippets of what you just told me, so what I ended
up doing since it doesn't allow table percents in the doctype is I went and put
it in my CSS instead.... so just fyi people.... if you have the same problem
as I do, just put a height attribute into your body tag in CSS and set it to
100%. That fixes it!
This issue has been resolved. Thanks for your help everyone, this solution
works.
1.
USE:
style="filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;position:absolute;
z-index:1; width: 100%; height: 100%; background-color: #F4E8E8;
layer-background-color: #F4E8E8; visibility: hidden;
attach that to your DIV id.
2. make sure you define your doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
src="/webforums/forum/images/i/expressions/face-icon-small-wink.gif"
border="0">
3. if you need, set your table attribute vertical settings in CSS instead of
the html by using height:100% in your body tag.
Thats it!
johnegbert Guest
-
Murray *TMM* #8
Re: Layer Opacity problem... wont work!!!
I'm glad I could help you, John!
Thanks to Gary White for developing and describing the example....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"johnegbert" <webforumsuser@macromedia.com> wrote in message
news:df25pi$hli$1@forums.macromedia.com...> Murray,
> Ive been developing since 98 and had never heard of any of that. Thanks a
> ton
> for the thurough explanation. I went ahead and looked up that doctype
> before I
> saw your post I came across snippets of what you just told me, so what I
> ended
> up doing since it doesn't allow table percents in the doctype is I went
> and put
> it in my CSS instead.... so just fyi people.... if you have the same
> problem
> as I do, just put a height attribute into your body tag in CSS and set it
> to
> 100%. That fixes it!
>
> This issue has been resolved. Thanks for your help everyone, this
> solution
> works.
>
>
> 1.
> USE:
>
> style="filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;position:absolute;
> z-index:1; width: 100%; height: 100%; background-color: #F4E8E8;
> layer-background-color: #F4E8E8; visibility: hidden;
>
> attach that to your DIV id.
>
> 2. make sure you define your doctype
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> src="/webforums/forum/images/i/expressions/face-icon-small-wink.gif"
> border="0">
>
> 3. if you need, set your table attribute vertical settings in CSS instead
> of
> the html by using height:100% in your body tag.
>
> Thats it!
>
>
Murray *TMM* Guest



Reply With Quote

