Log In · Register

 
center picture
kizzi
post Jun 2 2005, 12:39 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Jun 2005
Member No: 147,386



whats the code that you use if you want your background picture to be in the center of your screen and to have a background colour huh.gif
 
 
Start new topic
Replies (1 - 3)
Strawberryred85
post Jun 2 2005, 04:02 PM
Post #2


Member
**

Group: Member
Posts: 24
Joined: May 2005
Member No: 146,317



<style type="text/css">
body{background-image:url(***Picture Url Here***);
background-attachment:fixed;
background-repeat: no-repeat;
background-position:center center;
background-color:***color name or six digit hexidecimal code here***;}
table, td, textarea, a, body, input{background-color:transparent;border:none;border-width:0}
</style>

just modify the ones in blue
 
duplicatex0x0x0
post Jun 2 2005, 04:17 PM
Post #3


Senior Member
******

Group: Duplicate
Posts: 1,912
Joined: May 2005
Member No: 137,527



or use this in your "about me" section:

CODE
<style>{background-color:######; background-image: url('URL HERE'); background-position:Center; background-repeat: no-repeat; background-attachment: fixed;}</style>


just replace ###### - for hexcode color

and

URL HERE - to the image's URL
 
kizzi
post Jun 3 2005, 11:59 AM
Post #4


Newbie
*

Group: Member
Posts: 6
Joined: Jun 2005
Member No: 147,386



ok cheers biggrin.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: