Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 10-26-2006, 01:32 PM   #1
Baseband Member
hatedguilt's Avatar
Join Date: Feb 2006
Posts: 43
Send a message via AIM to hatedguilt Send a message via Yahoo to hatedguilt
Default centering background images in html

how would i center the background image in html so its not tiling?

hatedguilt is offline   Reply With Quote
Old 10-26-2006, 11:24 PM   #2
Baseband Member
Join Date: Jul 2006
Posts: 53
Default Re: centering background images in html

There is no way with HTML, but if you use the css "no-repeat", you should be able to get what you want. Something like this:

background:url(yourimage.png); background-repeat:no-repeat; background-position:center;
I havent tested that, but it should get you started.
falcon1 is offline   Reply With Quote

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

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

All times are GMT -5. The time now is 12:40 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0