BetaArchive Logo
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 4d, 19h, 32m | CPU: 5% | MEM: 2481MB of 6103MB used
{The community for beta collectors}

Forum rules


Any off topic discussions should go in this forum. Post count is not increased by posting here.
FTP Access status is required to post in this forum. Find out how to get it


Post new topic Reply to topic  [ 9 posts ] 
Author Message
 PostPost subject: Make a horizontal gradient        Posted: Thu Jul 12, 2007 10:26 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Fri Sep 01, 2006 10:04 pm

Posts
1022

Location
The Ephemeral between existance and non-existance: AKA "being"

Favourite OS
Rhapsody, BeOS
How would you reccomend I make a horizontal gradient so that will render in IE and Firefox.

Preferably a meathod that will enable to gradient to scale up or down based on the window size...

_________________
Image
Part Time Troll - HPC Enthusiast - Spelling Master - Old Fart


Top  Profile  WWW
 PostPost subject:        Posted: Thu Jul 12, 2007 11:05 am 
Reply with quote
Donator
User avatar
Offline

Joined
Sat Aug 19, 2006 12:19 am

Posts
1915

Location
New Zealand
could you make a small image in photoshop of a gradient that just streched as the background?


Top  Profile
 PostPost subject:        Posted: Thu Jul 12, 2007 12:00 pm 
Reply with quote
Donator
Offline

Joined
Tue Oct 17, 2006 8:26 pm

Posts
929
For the love of god dont do it


Top  Profile
 PostPost subject:        Posted: Thu Jul 12, 2007 12:07 pm 
Reply with quote
Donator
Offline

Joined
Fri Aug 18, 2006 12:05 pm

Posts
698

Location
Or-stray-liagh
If you made a PNG which was, say, 1000 pixels high by 1 pixel wide, then it wouldn't look too bad when stretched. On lower resolutions it would just look like a gradient ... on higher resolutions it might look a little stretched but it should be okay. The horizontal stretching won't have any effect.

_________________
pr0gram the pr0grammer
BetaArchive retiree | OSBA Expat


Top  Profile
 PostPost subject:        Posted: Thu Jul 12, 2007 12:14 pm 
Reply with quote
Donator
Offline

Joined
Sat Aug 19, 2006 1:25 am

Posts
590

Location
Israel
I looked for a way in the past. AFAIK there is no way to do this using CSS, so an image is your only option (besides, a few hundred bytes - I hope you're not that cheap on bandwidth).


Top  Profile
 PostPost subject:        Posted: Thu Jul 12, 2007 12:18 pm 
Reply with quote
FTP Access
Offline

Joined
Thu Oct 05, 2006 2:21 am

Posts
112
I'm not much of a web developer, but I imagine it could be done somehow. Probably in a ridiculously ugly way (one-pixel table rows with backgrounds?). You'll be much better off with an image. I'd upsize it to 1200 pixels or something like that, though.


Top  Profile
 PostPost subject:        Posted: Thu Jul 12, 2007 1:35 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Fri Sep 01, 2006 10:04 pm

Posts
1022

Location
The Ephemeral between existance and non-existance: AKA "being"

Favourite OS
Rhapsody, BeOS
Thanks,

So I guess my only optition would be some CSS?
Anybody got a guide on how to horrizontally tile an image + have it streched + Integrate with my other Web -1.0 tables and content?

_________________
Image
Part Time Troll - HPC Enthusiast - Spelling Master - Old Fart


Top  Profile  WWW
 PostPost subject:        Posted: Thu Jul 12, 2007 4:39 pm 
Reply with quote
Administrator
User avatar
Offline

Joined
Fri Aug 18, 2006 11:47 am

Posts
12384

Location
Merseyside, United Kingdom

Favourite OS
Microsoft Windows 7 Ultimate x64
Use an image and save yourself the trouble. 1000x1px will do it just fine and wont be more than 1KB.

_________________
Image

BetaArchive Discord: https://discord.gg/epK3r6A


Top  Profile  WWW
 PostPost subject:        Posted: Mon Jul 30, 2007 6:45 pm 
Reply with quote
There's no way to do a gradient using CSS - images is the only way.

I saw a technique once where someone created hundreds of 1 pixel wide divs and set each to a slightly colour, giving a gradient effect. That's obviously ridiculous though, and not CSS anyway.


Top
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 




Who is online

Users browsing this forum: No registered users and 9 guests


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

Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2018

 

Sitemap | XML | RSS