Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Ok... HTML problem
  
User name:
Password:
Reply:
 

UserPost
Sukasa
Posts: 1000/1981
Originally posted by HyperHacker
I think only IE supports opacity anyway. IE-only code, especially on a board with a majority of Firefox users, == teh bad.


No, IE does have opacity support, I can get transparent images. The problem is that IE cannolnt strech those images, nor can I get firefox, because this is my mom's computer. Besides, most of the transparency code I copied of of another user's HTML. That's how I learn, is by seeng it in use.
King_Killa
Posts: 71/117
yes there is a specific mozilla opacy property. Just google firefox transparency, should get a nice set of helpful results.
HyperLamer
Posts: 5292/8210
I think only IE supports opacity anyway. IE-only code, especially on a board with a majority of Firefox users, == teh bad.
Sukasa
Posts: 997/1981
Well, I'll try that, because before I was trying it a bit differently and trying < span > tags, but they weren't working.

EDIT: I got it to work. Thanks guys, you rock.

EDIT2: Well, almost. If the post is streched the image messes up. If the post doesn't strech, then it shows up fine, image layered on top w/ "filter:alpha(opacity=15)", but if it streches the post, the image becomes opaque, but it still streches OK
HyperLamer
Posts: 5269/8210
Haha, nice trick. The image is a plain old image with 100% width/height and the text is a float-over. That could be difficult to do in a layout, though...
Boom.dk
Posts: 333/392
Actually, it might be possible to do something like it... look at this.
Ramsus
Posts: 121/162
You can't have a background stretch, but you can set it to not repeat using CSS (i.e. style="background: url('image.jpg') no-repeat;"). You can also try absolute positioning an image at 0,0 (top left corner) and setting its width/height to 100%, then absolute positioning all of the content on layers above it, but then you might have to resort to using Javascript and DOM to get everything working 100% as if it were a real stretchy background.

So either go for a fixed size layout, or don't use an image as a background that can't be split into repeatable parts to can be made to fill up extra space.
Sukasa
Posts: 992/1981
Does anyone know how to set a background to strech, if it is possible? I have gotten a fairly nice image, and would like to put it in my layout. I've gotten the rest of the work done, but the background currently tiles, and it would look... less-than-pretty. All I would like is for the image to strech instead of tile. for now, I haven't saved any of the changes.
Acmlm's Board - I2 Archive - Programming - Ok... HTML problem


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.021 seconds.