Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Prozirnost pomoću CSSa??

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
monkey



Joined: 20 Dec 2004
Posts: 856
Location: VG - ZG

PostPosted: 21.06.2005 17:48    Post subject: Prozirnost pomoću CSSa?? Add user to your forum ignore list Reply with quote

Kako postići prozirnost pomoću CSSa da je npr. Pozadina DIVa bjela ali da je prozirna tako da se vidi background slika??

Jel to moguće izvest i kako.... Molio bi da stavite kod i malo to objasnite!, jer se s time mućim vec cca 2-3tjedna i nikako da to postignem!

Hvala! =)

_________________
mojinstruktor.com - sve instrukcije na jednome mjestu
trazilo.com - potražite dnevnu dozu inspiracije
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 21.06.2005 18:00    Post subject: Add user to your forum ignore list Reply with quote

Kak si se to mučio s tim?

Never done it, al kad bi trebao, probao bi s transparentnim PNG-om u pozadini DIV-a. Kako to već biva, onda bi bila frka s IE-om -- dobri, stari IE ne podržava alpha transparency, koliko znam.

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
velcro



Joined: 15 Sep 2004
Posts: 116

PostPosted: 21.06.2005 18:14    Post subject: Add user to your forum ignore list Reply with quote

Code:

     .mojaAlphaKlasa {
             background-color: #ffffff;
             opacity: .5;
             filter: alpha(opacity=50);
     }
Back to top
View user's profile Send private message
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 21.06.2005 18:40    Post subject: Add user to your forum ignore list Reply with quote

Neće ići. Mislim da su te filter kerefeke IE-only.

_________________
Get busy living, or get busy dying.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 21.06.2005 18:49    Post subject: Add user to your forum ignore list Reply with quote

ima za mozillu
Code:
-moz-opacity: .5

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
abeja



Joined: 22 Sep 2003
Posts: 803
Location: Rijeka

PostPosted: 21.06.2005 19:43    Post subject: Add user to your forum ignore list Reply with quote

{
filter:alpha(opacity=90);
-moz-opacity:0.9;
opacity: 0.9;

}
Back to top
View user's profile Send private message Visit poster's website
velcro



Joined: 15 Sep 2004
Posts: 116

PostPosted: 21.06.2005 20:08    Post subject: Add user to your forum ignore list Reply with quote

Zapravo nista ne fali orginalnoj klasi koju sam postao - sve radi - druga linija s filterom je za IE 5.5+, dok je opacity: .5 za mozilla based browsere + Safari mislim 1.2+... ima jos neke cake za starije Safarije tj. khml fore al to ti u vecini slucajeva nije potrebno....

-moz-opacity je samo alias za opacity kod Mozile - tako kad pisete oboje zapravo pisete jednu te istu stvar...
Back to top
View user's profile Send private message
Adrian



Joined: 02 Apr 2004
Posts: 692
Location: Around & about

PostPosted: 21.06.2005 20:45    Post subject: Add user to your forum ignore list Reply with quote

Meni opet ne radi u ie. Rolling Eyes

_________________
The quest for certainty blocks the search for meaning. Uncertainty is the very condition to impel a man to unfold his powers.
http://origami.hr
Back to top
View user's profile Send private message Visit poster's website
velcro



Joined: 15 Sep 2004
Posts: 116

PostPosted: 21.06.2005 21:13    Post subject: Add user to your forum ignore list Reply with quote

Code:

<html>
<head>
<style>
   body {
      background-color: white;
   }   

   div {
      font-size: 50px;
      color: black;
      background-color: red;
      position: absolute;
      width: 100px;
      height: 100px;
      opacity: .1;
      filter: alpha(opacity=10);
   }
</style>
</head>
<body>
   <div>test</div>
</body>
</html>
Back to top
View user's profile Send private message
Ilija Studen



Joined: 17 Apr 2005
Posts: 27
Location: 127.0.0.1

PostPosted: 21.06.2005 21:48    Post subject: Add user to your forum ignore list Reply with quote

Code:
#element {
   position:absolute;
   top:150px;
   left:35px;
   color:#ccc;
   background:orange;
   filter: alpha(opacity=50);
   filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
   -moz-opacity: 0.50; opacity:0.5;
   -khtml-opacity: 0.50;
}


ili jednostavno http://www.elitesecurity.org/tema/122658-Problem-sa-poluprovidnim-slojevima-ostalim-pretrazivacima-osim-IE

_________________
Blog: Web dizajn, web razvoj, programiranje, random
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Adrian



Joined: 02 Apr 2004
Posts: 692
Location: Around & about

PostPosted: 21.06.2005 22:14    Post subject: Add user to your forum ignore list Reply with quote



Ovo je bio problem!! Dakle, ie smatra da je css opasan!!!! Pray
Anyway, siguran sam, poprilično, da sam prvi put kliknuo da dopusti active-x, i opet nije radilo. Jebga. Fala na odgovoru.

_________________
The quest for certainty blocks the search for meaning. Uncertainty is the very condition to impel a man to unfold his powers.
http://origami.hr
Back to top
View user's profile Send private message Visit poster's website
velcro



Joined: 15 Sep 2004
Posts: 116

PostPosted: 21.06.2005 22:15    Post subject: Add user to your forum ignore list Reply with quote

A zasto mislis da je jednostavnije imati parove po 2 iste komande za IE i Mozillu? Laughing
Back to top
View user's profile Send private message
monkey



Joined: 20 Dec 2004
Posts: 856
Location: VG - ZG

PostPosted: 22.06.2005 15:11    Post subject: Add user to your forum ignore list Reply with quote

Radi mi ova verzija od Ilije Studena, i to je bas to sta sam trazio!
Ja sam radio sa opacityem nest petljao ali nije mi bas ispadalo najbolje, ili napravim i sve dobro ali samo u IEu!

Sad konacno sve radi kako sam htio! Thnx people! Razz

_________________
mojinstruktor.com - sve instrukcije na jednome mjestu
trazilo.com - potražite dnevnu dozu inspiracije
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
dotTOM



Joined: 02 Apr 2005
Posts: 340
Location: Zagreb

PostPosted: 22.06.2005 17:23    Post subject: Add user to your forum ignore list Reply with quote

ne kuzim kak...ja sam isprobao i od ilije mi ne radi u IEu ali od velcroa radi i u mozilli i u IEu!
inace topic je super...mene je to bas zanimalo al sam brijao da se nemre to napravit Smile
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group