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 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Sukasa

Boomboom
Error 349857348734534: The system experienced an error.
Level: 57

Posts: 992/1981
EXP: 1446921
For next: 39007

Since: 02-06-05
From: *Shrug*

Since last post: 6 days
Last activity: 1 day
Posted on 06-26-05 11:42 AM Link | Quote
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.
Ramsus

Octoballoon
Level: 19

Posts: 121/162
EXP: 34651
For next: 1126

Since: 01-24-05
From: United States

Since last post: 39 days
Last activity: 71 days
Posted on 06-26-05 05:24 PM Link | Quote
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.
Boom.dk

Level: 31

Posts: 333/392
EXP: 168692
For next: 16671

Since: 07-18-04
From: Denmark

Since last post: 10 days
Last activity: 1 day
Posted on 06-26-05 05:37 PM Link | Quote
Actually, it might be possible to do something like it... look at this.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 5269/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-27-05 01:37 AM Link | Quote
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...
Sukasa

Boomboom
Error 349857348734534: The system experienced an error.
Level: 57

Posts: 997/1981
EXP: 1446921
For next: 39007

Since: 02-06-05
From: *Shrug*

Since last post: 6 days
Last activity: 1 day
Posted on 06-27-05 03:52 AM Link | Quote
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


(edited by Darkflight on 06-26-05 07:12 PM)
(edited by Darkflight on 06-26-05 07:18 PM)
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 5292/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-27-05 12:31 PM Link | Quote
I think only IE supports opacity anyway. IE-only code, especially on a board with a majority of Firefox users, == teh bad.
King_Killa

Koopa
Level: 15

Posts: 71/117
EXP: 15096
For next: 1288

Since: 06-13-05
From: Shangri-La

Since last post: 37 days
Last activity: 18 days
Posted on 06-27-05 07:00 PM Link | Quote
yes there is a specific mozilla opacy property. Just google firefox transparency, should get a nice set of helpful results.
Sukasa

Boomboom
Error 349857348734534: The system experienced an error.
Level: 57

Posts: 1000/1981
EXP: 1446921
For next: 39007

Since: 02-06-05
From: *Shrug*

Since last post: 6 days
Last activity: 1 day
Posted on 06-27-05 07:47 PM Link | Quote
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.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.009 seconds.