Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 10-25-2009, 06:18 PM Gradient background
Extreme Talker

Posts: 161
Trades: 0
Am trying to do i gradient background but it comes out wrong

here

Code:
/* CSS Document */

html {
	background: url(../images/bg.jpg);
	background-repeat:repeat-x;
}
afcbob is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-25-2009, 06:41 PM Re: Gradient background
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It looks like a graphics problem NOT a CSS one.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-25-2009, 07:28 PM Re: Gradient background
Novice Talker

Posts: 7
Trades: 0
Looks like you got this worked out.

You may want to fix your image so the right side matches the left side exactly, that way it doesn't look chopped up like it does currently.
__________________

Please login or register to view this content. Registration is FREE
brpcraig is offline
Reply With Quote
View Public Profile
 
Old 10-25-2009, 07:39 PM Re: Gradient background
Extreme Talker

Posts: 161
Trades: 0
Thanks should of checked that.
afcbob is offline
Reply With Quote
View Public Profile
 
Old 10-26-2009, 12:07 AM Re: Gradient background
cindyfowler's Avatar
Ultra Talker

Posts: 351
Trades: 0
i begin to study CSS,thanks for sharing.but what is the solution
cindyfowler is offline
Reply With Quote
View Public Profile
 
Old 10-26-2009, 08:27 AM Re: Gradient background
Extreme Talker

Posts: 161
Trades: 0
It was the image its self as said in the post both sides was not matching making look like it did. So just just redid the image and now sorted

Quote:
Originally Posted by cindyfowler View Post
i begin to study CSS,thanks for sharing.but what is the solution
afcbob is offline
Reply With Quote
View Public Profile
 
Old 10-26-2009, 08:30 AM Re: Gradient background
Extreme Talker

Posts: 161
Trades: 0
Could someone also look at the tel number on the top right in ie its goes behind the white image but in firefox its fine.
How can i get around this in IE.

URL: here

Code:
/* CSS Document */

html {
	background: url(../images/bg.gif);
	background-repeat:repeat-x;
}

body {
	padding: 0;
	margin: 0;
	font-family: Myraid Pro, Arial , serif;
}

#wrapper{
	width: 977px;
	margin: 0 auto;
}

#headertop {
	background: url(../images/top.png) no-repeat;
	width: 977px;
	height:41px;
	margin-top: 30px;
	
}

#headertop p {
	float:right;
	margin: 30px 30px 0 0;
	font-family: Myraid Pro, Arial , serif;
	font-size:20px;
	color: #9a151c
}

#header {
	background: #fff;
	margin: 0 0 0 9px;
	width: 960px;
	height:101px;
	
}

#logo {
	background: url(../images/logo.jpg);
	width: 314px;
	height: 77px;
	margin-left: 40px;
}

#nav {

	float: right;
	margin:  -40px 20px 0 0;
}

#nav ul {
	list-stlye-type:none;
}

#nav li {
	display: inline;
	margin: 0 2px 0 9px;
	color: #000;
}

#nav a {
	text-decoration: none;
	color: #000;
}

#banner {
	background: #fff url(../images/banner1.jpg) no-repeat 25px 25px;;
	width: 911px;
	height: 297px;
	padding: 0 49px 0 0;
	margin: 0 0 0 9px;
}

Last edited by afcbob; 10-28-2009 at 04:51 AM..
afcbob is offline
Reply With Quote
View Public Profile
 
Old 10-26-2009, 11:06 AM Re: Gradient background
Super Moderator

Posts: 1,576
Location: Kokkola, Finland
Trades: 1
incidentally the gradient would be smoother as a jpeg rather than a gif but you pretty much got away with it
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 10-26-2009, 11:23 AM Re: Gradient background
Extreme Talker

Posts: 161
Trades: 0
Will try a jpg later then see how that looks.

Any chances of you looking at post 7
afcbob is offline
Reply With Quote
View Public Profile
 
Old 10-28-2009, 04:52 AM Re: Gradient background
Extreme Talker

Posts: 161
Trades: 0
Could someone also look at the tel number on the top right in ie its goes behind the white image but in firefox its fine.
How can i get around this in IE.

URL: here

Code:
/* CSS Document */

html {
	background: url(../images/bg.gif);
	background-repeat:repeat-x;
}

body {
	padding: 0;
	margin: 0;
	font-family: Myraid Pro, Arial , serif;
}

#wrapper{
	width: 977px;
	margin: 0 auto;
}

#headertop {
	background: url(../images/top.png) no-repeat;
	width: 977px;
	height:41px;
	margin-top: 30px;
	
}

#headertop p {
	float:right;
	margin: 30px 30px 0 0;
	font-family: Myraid Pro, Arial , serif;
	font-size:20px;
	color: #9a151c
}

#header {
	background: #fff;
	margin: 0 0 0 9px;
	width: 960px;
	height:101px;
	
}

#logo {
	background: url(../images/logo.jpg);
	width: 314px;
	height: 77px;
	margin-left: 40px;
}

#nav {

	float: right;
	margin:  -40px 20px 0 0;
}

#nav ul {
	list-stlye-type:none;
}

#nav li {
	display: inline;
	margin: 0 2px 0 9px;
	color: #000;
}

#nav a {
	text-decoration: none;
	color: #000;
}

#banner {
	background: #fff url(../images/banner1.jpg) no-repeat 25px 25px;;
	width: 911px;
	height: 297px;
	padding: 0 49px 0 0;
	margin: 0 0 0 9px;
}
afcbob is offline
Reply With Quote
View Public Profile
 
Old 10-28-2009, 08:20 AM Re: Gradient background
Novice Talker

Posts: 5
Name: Phill
Trades: 0
Im getting a gap below the background image in <div id="headertop"> in IE6
PH!L is offline
Reply With Quote
View Public Profile
 
Old 10-28-2009, 09:00 AM Re: Gradient background
Extreme Talker

Posts: 161
Trades: 0
Not tried it in ie 6 yet.

Quote:
Originally Posted by PH!L View Post
Im getting a gap below the background image in <div id="headertop"> in IE6
afcbob is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Gradient background
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.38845 seconds with 12 queries