Boojum Posted June 13, 2004 Posted June 13, 2004 I'm having a problem with the background image on my site. It looks fine at lower resolutions (up to 832 x 624). It is also all right at higher resolutions--provided one does not expand one's browser window much past 832 pixels wide. In that latter case, however, it appears off center, and even seems to repeat on the right. Is there any way to overcome this that won't create problems at lower resolutions? Ideally, I'd like the image centered behind the page (which I'm recoding to center) and do not want it to repeat. Quote
TCH-Dick Posted June 13, 2004 Posted June 13, 2004 I got it to work by changing ><body bgcolor="#000000" background="http://www.squort.com/images/biggish_bang.gif" text="#ffffff" link="#99ffff" vlink="#99ccff" alink="#00ffcc"> to ><body> Then changed the style to ><style> A:hover {color:#00ffcc} A:hover {text-decoration: none} A:hover {background: #002222} body { background-color: #000000; background-image: url(http://www.squort.com/images/biggish_bang.gif); background-position: center top; color: #FFFFFF; } </style> If you do it this way make sure to add ></body> </HTML> becuase you are missing the closing body tag. The only issue that I can see is with your flag image. It will not stay centered. This image is from 1024 x 768 Quote
Boojum Posted June 13, 2004 Author Posted June 13, 2004 Thank you, Dick. The reason the flag doesn't center, I think, is just that I haven't inserted a <div align=center> tag ahead of the main table yet. (By the way, there is a closing body tag; it's under the footer section.) I appreciate your taking time to figure this issue out. Quote
TCH-Dick Posted June 13, 2004 Posted June 13, 2004 Thank you, Dick. No problem Thumbs Up (By the way, there is a closing body tag; it's under the footer section.) I see it now, that is what happens when you try to write html at 3:00 in the morning. Quote
Boojum Posted June 14, 2004 Author Posted June 14, 2004 I think I've fixed the centering problem. May I ask those of you who use high resolutions (above 800 x 600) to examine the site and let me know if it looks all right? Quote
GroovyFish Posted June 14, 2004 Posted June 14, 2004 Centered for me Firefox 1280x1024 There is a background of "stars" on either side, but totally black behind the text. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.