Log In · Register

 
full size background???
daniel7912
post Nov 9 2005, 12:11 PM
Post #1


Newbie
*

Group: Member
Posts: 7
Joined: Nov 2005
Member No: 288,218



hi,
i have made a 1024x768 pixel image for the background of my space but it doesnt show up as the right size when i try to use it: www.myspace.com/dannyboisspace
i want the picture to completely fill the background but it just goes in the center smaller than it should be. My friend has done this somehow but when i try using the same code as he does, it doesnt work

the code i am using in 'about me' is as follows:

<style>

.mygen { Background Properties }
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:000000;
background-image:url(http://i10.photobucket.com/albums/a131/daniel7912/shadyltdblack1024copy.jpg);
background-attachment: fixed;
background-position:center center;
background-repeat:no-repeat;
scrollbar-face-color:000000;
scrollbar-highlight-color:000000;
scrollbar-3dlight-color:000000;
scrollbar-shadow-color:000000;
scrollbar-darkshadow-color:000000;
scrollbar-arrow-color:EEFF22;
scrollbar-track-color:222222;
}

.mygen { Table Properties }
table table { border: 0px }
table table table table{border:0px}
table table table {
border-style:dashed;
border-width:1px;
border-color:000000;
}

.mygen { Text Properties }
table, tr, td, li, p, div { color:999999; }
.whitetext12 { color:999999; }
a:active, a:visited, a:link { color:AAAAAA; }
a:hover { color:FF2222; }
a.navbar:active, a.navbar:visited, a.navbar:link { color:999999; }
.nametext { color:FFFFFF; }



please help!
 
 
Start new topic
Replies
dylanmcfly
post Dec 8 2005, 09:43 PM
Post #2


Senior Member
***

Group: Member
Posts: 31
Joined: Dec 2005
Member No: 311,876



QUOTE
<style>

.mygen { Background Properties }
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:000000;
background-image:url(http://i10.photobucket.com/albums/a131/daniel7912/shadyltdblack1024copy.jpg);
background-attachment: fixed;
background-position:center center;
background-repeat:no-repeat;
scrollbar-face-color:000000;
scrollbar-highlight-color:000000;
scrollbar-3dlight-color:000000;
scrollbar-shadow-color:000000;
scrollbar-darkshadow-color:000000;
scrollbar-arrow-color:EEFF22;
scrollbar-track-color:222222;
}

.mygen { Table Properties }
table table { border: 0px }
table table table table{border:0px}
table table table {
border-style:dashed;
border-width:1px;
border-color:000000;
}

.mygen { Text Properties }
table, tr, td, li, p, div { color:999999; }
.whitetext12 { color:999999; }
a:active, a:visited, a:link { color:AAAAAA; }
a:hover { color:FF2222; }
a.navbar:active, a.navbar:visited, a.navbar:link { color:999999; }
.nametext { color:FFFFFF; }


First of all, you should begin your code with <style type="text/css">

The problem area is the second line in bold where you've fixed the position of your background to the center of your page. Change it to the following:

background-position:bottom left;

Also, you might note that with a background that large people on dialup connections are going to hate you- and people with their screen resolutions set to smaller sizes (ie 800x600 or 600x400ish) will not see your entire background image. Hope this helped.
 

Posts in this topic


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