Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


.jpg Gradient problem
Reply
 
Thread Tools
Erocental
Syklis Green


Member 2650

Level 7.34

Mar 2006


Reply With Quote
Old Mar 10, 2006, 09:58 PM Local time: Mar 11, 2006, 02:58 AM #1 of 8
.jpg Gradient problem

Hi!

I've just made a 12 x 1200 gradient .jpg for my site. Problem is when the page gets large enough the gradient just starts from the top again. Is there any way I can code the page to just keep stretching the image? I'm using Dreamweaver 8. Thanks!

Jam it back in, in the dark.
Snowknight
may carry parasites


Member 165

Level 22.05

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:00 PM #2 of 8
Out of interest, where is this gradient being used?
You should be able to accomplish a working effect with CSS.

There's nowhere I can't reach.
Erocental
Syklis Green


Member 2650

Level 7.34

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:00 PM Local time: Mar 11, 2006, 03:00 AM #3 of 8
It's being used on my site updates page, and it gets pretty long. =(

This thing is sticky, and I don't like it. I don't appreciate it.
Stealth
Indigo 1


Member 207

Level 22.37

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:01 PM Local time: Mar 10, 2006, 09:01 PM #4 of 8
Make the image a background, have it not repeat, and make the background color correspond to the last bit of color on the gradient. It won't stretch the gradient, but it won't look like shit either.

Then you could just make the gradient very large. Though that's not recommended.

I am a dolphin, do you want me on your body?



Duminas
Something


Member 29

Level 13.21

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:03 PM Local time: Mar 10, 2006, 07:03 PM #5 of 8
Setting the background to "repeat-y" by means of CSS should take care of this for you. However, I also advise you to attach the background to the left or right edges of the browser, so that if someone (probably rare) comes along with 1280x1024 or up, it will not look iffy for them. Also, follow what Stealth mentioned above about the colours matching on one edge--the edge you'd want to do this to is the edge to which the background is not attached.

To do this, open the Design panel, then add a new CSS style by your best means (a little "+" icon on the CSS tab should allow this). Apply the style to the body tag (in a new stylesheet or inline, it does not matter), and when that comes up, set the background as appropriate. You may want to remove styling from the <body> HTML before you do this, though.

Right-click, Page Properties, then clear the background and that should be taken care of. I do not have Dreamweaver available right now, so I cannot help much further aside from giving you raw CSS code. If you cannot get this done by means of the GUI and want the code, let me know.

I was speaking idiomatically.


Need help using an FTP client? Look no further! ««
Erocental
Syklis Green


Member 2650

Level 7.34

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:18 PM Local time: Mar 11, 2006, 03:18 AM #6 of 8
I am using 1280 x 1024, hehe! ^^;

My gradient image is attached. I've tried the repeat stuff before but it just looks all messy no matter what i do with it.

What kind of toxic man-thing is happening now?
Attached Images
File Type: jpg bg_grad.jpg (25.8 KB, 15 views)
Duminas
Something


Member 29

Level 13.21

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:25 PM Local time: Mar 10, 2006, 07:25 PM #7 of 8
You use it vertically like that? Then switch "repeat-y" from above to "repeat-x", and switch the attachment I talk about earlier to either top or bottom.

CSS would be like this:
Code:
body { background: #b7bae6 url(bg_grad.jpg) bottom left repeat-x; }
Of course, alter the url() as appropriate (to account for image directories and such). If you want to inject it directly into that page, you can do this by one of two means.

Ignore the below, as you seem to have already gotten it taken care of. I just added this in case you needed it.

First Method:
Add the below code between your <head> and </head> tags:
Code:
<style type="text/css">
body { background: #b7bae6 url(bg_grad.jpg) bottom left repeat-x; }
</style>
Or the Second Method:
Alter your <body> tag to reflect this:
Code:
<body style="background: #b7bae6 url(bg_grad.jpg) bottom left repeat-x;">
I advise you use the first method, if not opting for an external stylesheet outright.

FELIPE NO


Need help using an FTP client? Look no further! ««

Last edited by Duminas; Mar 10, 2006 at 10:31 PM.
Erocental
Syklis Green


Member 2650

Level 7.34

Mar 2006


Reply With Quote
Old Mar 10, 2006, 10:28 PM Local time: Mar 11, 2006, 03:28 AM #8 of 8
Genius!

Thanks so much for that Duminas! And thanks for everyone elses suggestions! I owe you one!

What, you don't want my bikini-clad body?
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > .jpg Gradient problem

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FLV to AVI/WMV problem Minoko Help Desk 6 Jun 12, 2008 07:58 AM
router problem (I think) Inhert Help Desk 2 May 27, 2007 05:10 PM
Problem with video playback =\ Mimi-kun Help Desk 3 Dec 23, 2006 04:15 PM
car problem Bredow General Discussion 6 Jun 29, 2006 07:41 AM


All times are GMT -5. The time now is 05:46 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.