Gradient background appearing in blocks ???

This is a discussion on "Gradient background appearing in blocks ???" within the Web Page Design section. This forum, and the thread "Gradient background appearing in blocks ??? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 3rd, 2006, 09:55
Junior Member
Join Date: Apr 2006
Age: 27
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Question Gradient background appearing in blocks ???

I'm laying my hands on creating a gradient background, using the Firefox/Flash.

This website, which has got the gradient background for its menu

http://www.tristarwebdesign.co.uk/

I'm trying to achieve something similar, but regardless of saying "repeat-x", it although repeats but is doing so in "blocks" rather than appearing it the way it does on this website.

http://members.lycos.co.uk/darsh25/A...gn/contact.php (right at the top i.e. background for header).

Although, if I copy "tristar's" image, I get the PERFECT result, but I feel less comfortable with copying & rather make myself aware of how exactly could this be achievable.

Am I not designing my gradient background (which I'm doing using Macromedia Fireworks) the right way ???

Related CSS is:

Code: Select all
#header
{
    background-image:url(headerbackground1.jpg);
    background-repeat:repeat-x;
    height:5%;
    font-family:Georgia, "Times New Roman", Times, serif;
    color:white;
    text-align:center;
    width:100%; 
}
Reply With Quote

  #2 (permalink)  
Old Jul 3rd, 2006, 21:28
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Gradient background appearing in blocks ???

It appears to me that the difference between your site and Tristar's is the size, and type, of the graphic.
Tristar looks to have used a graphic that spans the entire area of that image, I can't see the code, but yours appears to spane 1/8th of your chosen area.
You can do this but:-
Your gradient is not exactly vertical so you can see the join where it repeats, which makes it appear 'blocky'.
It looks like it's image related, rather than code related.
Does this sound correct?
If not, please provide more details.
Reply With Quote
  #3 (permalink)  
Old Jul 4th, 2006, 15:01
Junior Member
Join Date: Apr 2006
Age: 27
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Re: Gradient background appearing in blocks ???

Quote:
Originally Posted by RedSkwirrell
It appears to me that the difference between your site and Tristar's is the size, and type, of the graphic.
Tristar looks to have used a graphic that spans the entire area of that image, I can't see the code, but yours appears to spane 1/8th of your chosen area.
You can do this but:-
Your gradient is not exactly vertical so you can see the join where it repeats, which makes it appear 'blocky'.
It looks like it's image related, rather than code related.
Does this sound correct?
If not, please provide more details.
You're right. I reckon, after looking at the image carefully, I realised that his gradient was top & bottom while mine wasn't left & right. The problem is solved. Thanks for your time & help, in the mean time.
Reply With Quote
Reply

Tags
gradient, background, appearing, blocks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aligning menu blocks horizontally dooglex Web Page Design 2 Apr 9th, 2008 21:19
Gradient not working... mickaldinho Web Page Design 8 Dec 18th, 2007 20:02
Blocks of writing Evilaussie Web Page Design 5 Jul 21st, 2007 13:50
Gradient Help Aaron1988 Flash & Multimedia Forum 37 Sep 6th, 2006 02:34


All times are GMT. The time now is 16:37.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43