MajorGeeks Support Forums IOBit Software

Go Back   MajorGeeks Support Forums > Majorgeeks.Com - Support Forums > Programming
Register FAQ Members List Calendar Casino Mark Forums Read

Programming Place to discuss programming including HTML, Java, C++, MySQL and others.


Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-07, 01:38
darkhorizon's Avatar
darkhorizon darkhorizon is offline
Senior Member
 
Join Date: Apr 2003
Location: Islip, NY
Posts: 173
Thanks: 0
Thanked 0 Times in 0 Posts
Default CSS background repeat and position issue

Hi,

I am having trouble with a block of css on my site. I have a div set like this:

Code:
		.content {
		position:relative;
		background-image:url('layout_05.jpg');
		background-repeat:repeat;
		background-position:0px 317px;
		color:#FFFFFF;
		float:left;
		width:100%;
		margin-top:50px;
		}
the background position tells it to start 317px down the page, but I need this image to repeat, and with the background-repeat tag, it overwrites the entire div, instead of starting 317px down, is there a way to stop it from doing this?
__________________
windows xp professional, abit av8 mobo, 1 gb ddr pc3200 ram, asus geforce fx 5600 w/ 256 mb ram, audigy 2, athlon 64 3800+
Reply With Quote
Sponsored links
  #2  
Old 04-09-07, 04:38
MutD's Avatar
MutD MutD is offline
Specialist
 
Join Date: Apr 2005
Posts: 308
Thanks: 1
Thanked 7 Times in 7 Posts
Default Re: CSS background repeat and position issue

Not sure if this will work but its worth a try, Put the repeat after the 317px. Like this:

Code:
		.content {
		position:relative;
		background-image:url('layout_05.jpg');
		background-position:0px 317px;
		background-repeat:repeat;
		color:#FFFFFF;
		float:left;
		width:100%;
		margin-top:50px;
		}
__________________
If at first you dont succeed, try, try again. Then quit. There's no point being a damn fool about it.
Reply With Quote
  #3  
Old 04-09-07, 11:48
darkhorizon's Avatar
darkhorizon darkhorizon is offline
Senior Member
 
Join Date: Apr 2003
Location: Islip, NY
Posts: 173
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: CSS background repeat and position issue

no it doesnt work... but thanks for trying
__________________
windows xp professional, abit av8 mobo, 1 gb ddr pc3200 ram, asus geforce fx 5600 w/ 256 mb ram, audigy 2, athlon 64 3800+
Reply With Quote
  #4  
Old 04-14-07, 12:56
gimpster123's Avatar
gimpster123 gimpster123 is offline
Bring out the Gimp.
 
Join Date: Mar 2005
Location: Wisconsin
Posts: 637
Thanks: 4
Thanked 17 Times in 17 Posts
Default Re: CSS background repeat and position issue

im not sure exactly what your trying to do- could you make the section you want backgrounded a separate div?
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen position software Ronald_Young_At_RCAT Software 1 07-18-07 13:55
VB6 Windows Starting Position ceal21c Programming 1 11-30-06 12:20
restarting repeat jammerman0101 Software 3 01-28-06 19:57
RF gurus! Triganulating position of transmitters goldfish Lounge 4 06-06-05 09:28
CSS - nested div position Ctrl+Alt+Del Programming 3 01-14-05 23:55


All times are GMT -5. The time now is 00:53.


MajorGeeks.Com Home Page
| Admin Tools | All In One | Anti-Spyware | Anti-Virus | Appearance | Backup | Benchmarking | BIOS | Browsers | Covert Ops |
Data Recovery | Diagnostics | Drive Cleaners | Drive Utilities | Drivers | Driver Tools Ergonomics | Firewalls | Games | Game Tweaks | Graphics | Input Devices | Internet Tools | Macintosh | Mail Utilities | Memory | Messaging | Monitoring | Microsoft | Multimedia | Networking | Office Tools | Process Management | Processor | Registry | Security | System Info | Toys | Video | Miscellaneous
|

-->
Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger