| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Comments:
<0> you could do width: 7.5in; height: 10in;, but there's not much point :p <0> Elekchron: why? <1> i have a background image, and i have a <div cl***="post"></div> in it, i want a transparent bg on cl***="post" so that users can still see the background img <0> ah <0> yeah what Dorward said <1> but what would be the image be? <0> but you won't need it unless you've already set a background on .post <1> for cl***="post" <0> Elekchron: but what? <1> do i need to make a bg image? <1> for post <2> Elekchron: No, just don't set one. <1> but i want it to show something <1> a transparent look <2> Elekchron: Do you mean translucent? <1> yes i guess so
<1> sorry didnt knwo what they call it <1> yes translucent is what i want <2> Elekchron: Then you need to edit the image. How you do that depends on your graphics software. Internet Explorer will cause you pain, JavaScript/ActiveXy hacks are available, I've never used them. <0> `ie pnghack bg @ Elekchron <3> Elekchron, ie pnghack bg: http://devilock.mine.nu/pixie/ , http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/reference/filters/alphaimageloader.asp <1> can i use opacity <0> you can, but IE doesn't support it <4> is opacity fully supported, though? <4> oh, yes <1> it doesnt? <2> Elekchron: Its non-standard (currently), suffers from weak browser support, and isn't limited to the background. <0> it has a proprietary equivalent, though <0> 'opacity' is not non-standard :p <1> filter:alpha(opacity=60); <1> -moz-opacity: 0.6; opacity: 0.6; <1> those work in IE too right? <0> filter does <0> -moz-opacity is redundant to opacity these days <4> isn't opacity css 3 or something? <5> Remember -khtml-opacity too. <0> ;support opacity <2> reisio: Its in a candidate recommendation. It isn't standard yet. <6> there is a way to overwrite an "id" rule, with a "cl***" rule? <7> reisio: opacity { IE 6: N | IE 7: N | Firefox 1.5: Y | Opera 9: 75% } http://www.webdevout.net/browser_support_css.php#support-css3propsbasic-opacity <1> okay so i set a bg color on .post <0> Dorward: sure it is <1> then set opacity to it? <1> or what <2> Elekchron: So you really want to make the text content translucent too? <0> the difference between 'candidate recommendation' and 'recommendation' doesn't make it nonstandard :p <1> text will be normal <2> Elekchron: Then you do NOT want opacity. <1> just a translucent look so i can see the bg image in the back <0> Elekchron: http://reisio.com/temp/punkid/ <0> fijam: that's a yes, btw <1> ya something like that <1> k let me take a look <1> thanks reisiot <1> reisio* <1> does this work in ie too <1> aww it doesnt <0> if you use the evil proprietary filter it will <5> Waaaah! <5> Opera 9 has opacity support! <0> :) <1> sweet <1> let me look :) <4> I love those screams of p***ion <0> Twey: as 'opacity' or '-o-opacity'? <5> Lol, I've spent way too long working around that :-P <4> opacity methink <5> reisio: opacity <1> opacity <0> good stuff <5> reisio: http://www.webdevout.net/browser_support_css.php#support-css3propsbasic-opacity <0> oh, that's right I did that command :p <0> Nanobot: when did you switch to 9 for your tables? <5> But it says background and text are handled separately, causing the background to affect the appearance of the text
<5> Not sure exactly what that means. <0> Twey: are or are not? <5> Are. <8> reisio: A while ago <5> That's why it's confusing. <5> :-P <0> Nanobot: during beta or...? <8> No, some time after it went final <0> ah <8> I was actually a little late testing its support <4> it's 9.01 stable now <8> I don't test Opera betas, because there tend to be a lot of changes between the last beta and the final release <0> well color me unobservant <5> Lol <4> :) <1> reisio: do i have to use position absolute? because it's not working for me. http://elekchron.org/resafdafda/index.php?page=default maybe i did something wrong? <0> Elekchron: what's not working for you? <1> the bg thing <0> oh <1> http://reisio.com/temp/punkid/ <1> that thing u gave me <0> how's it not working? <1> its not showing <0> 'it'? <1> the transparent background <0> on what? <1> #main .post_bg {background-color: #000;opacity: 0.5;} <1> under the newest post "new project" <1> thats where its suppose to show <0> 1min <1> k <0> well did you give it a height or width? <1> o hmm <1> but i don't know the exact height <1> i know the width <1> height depends on the text <0> so use height: 100%; <9> im trying to get my div "box" or whatever to stretch to 100% of the page, but height: 100%; doesnt seem to do the trick <1> reisio: okay i added width: 500px; height: 100%; the bg is still not showing <4> try html, body {height: 100%} <0> jadacyrus: don't forget about parents (like 'body' and 'html') <9> hmm <9> ok <4> and if you have float: inside remember about overflow:auto; <10> hi <0> Elekchron: 1min <0> 'lo enz <1> reisio: okay <10> tell me, if i have <ul style="font-size: 90%"><li><a href="..." style="font-size: 90%">, what is the size of the link ? 90% * 90% * normal size, or 90% * normal size? <1> i would guess 90% * normal :) <1> its just a guess tho <10> i think it's 90% * 90% * normal <2> enzo: Its 90% of the parent element. So it depends what the computed valid of the font size for the li is. ***uming 1em, and ***uming that nothing alters the font size in any of the ancestors of the ul. It will be 90% of 90% of the user's preference. <4> 0.9*0.9*x methink... <1> lol wow <11> the web would be such a nice place if i didn't have to worry about IE <10> ok Dorward, i think so, now how can i do to have 90% * normal and not 90% * 90% * normal ? <4> incorrect: we know <2> enzo: Since you know that the ul is 90% normal, you want 100% of that, so just don't set it. <11> web site development time line, 3% site design, 7% implementation, 90% fixing weird bugs with IE <10> there's no way to have X % of normal somewhere where there's already a font size Dorward ? <1> incorrect: i agree :) <2> enzo: Only by calculating what the font size of the parent element is compared to normal and then scaling your percentage based on that. <0> Elekchron: I guess its parent has no height <10> i agree also, i have to use relative size to make IE work when changing the font size, gosh... <11> i think microsoft should not be allowed to call internet explorer a web browser <1> reisio: let me try setting a specific height and see if it works <0> :p <4> :) <1> reisio: its because i dont know the exact height for it's parent element >.< <10> Dorward: % or em have the same logic no ? <2> enzo: Yes. 1em === 100%
Return to
#css or Go to some related
logs:
#perl bash [: -lt: unexpected operator wingide egg #kde bcm44xx #sdl (OS 3)The system cannot find the path specified. : couldn't create child proce #fedora #lgp bcm 4303 ubuntu ndiswrapper
|
|