TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-26-2008, 03:17 PM   #1 (permalink)
The Contributor
 
Join Date: Oct 2008
Posts: 75
Thanks: 4
9three is on a distinguished road
Default Continue bg color after bg image?

So what im trying to accomplish is to repeat the image horizontal, which is good to go. Where I'm having problems is AFTER the image ends vertical. The background-color needs to pick up but its not. Any way to fix that?
Code:
body {
	font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif;
	font-size: 10px;
	color: #000000;
	margin: 0px;
	padding: 0px;
	height: 100%;
	width: 100%;
	background-color: #2d6797;
	background: url(images/bg.jpg) repeat left top;
}
9three is offline  
Reply With Quote
Old 10-26-2008, 03:20 PM   #2 (permalink)
FSX
The Wanderer
 
FSX's Avatar
 
Join Date: Oct 2008
Posts: 15
Thanks: 0
FSX is on a distinguished road
Default

Code:
background: #2d6797 url(images/bg.jpg) repeat left top;
That will work. You can leave background-color: #2d6797; away. :)
__________________
61924
FSX is offline  
Reply With Quote
Old 10-26-2008, 03:28 PM   #3 (permalink)
The Contributor
 
Join Date: Oct 2008
Posts: 75
Thanks: 4
9three is on a distinguished road
Default

its not working :(

Code:
body {
	font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif;
	font-size: 11px;
	color: #000000;
	margin: 0px;
	padding: 0px;
	height: 100%;
	width: 100%;
	background: #2d6797 url(images/bg.jpg) repeat left top;
}
9three is offline  
Reply With Quote
Old 10-26-2008, 03:54 PM   #4 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Try repeat-x where you have just repeat.
Salathe is offline  
Reply With Quote
Old 10-26-2008, 03:55 PM   #5 (permalink)
The Contributor
 
Join Date: Oct 2008
Posts: 75
Thanks: 4
9three is on a distinguished road
Default

yep that was the trick! thanks
9three is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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


All times are GMT. The time now is 08:45 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design