...

View Full Version : background problem



expo-recon
07-18-2005, 08:36 PM
DELETED!



new request down there

_Aerospace_Eng_
07-18-2005, 11:20 PM
Can you link us to the background image? When you say title is on the image, you mean the title is on the actual background image, not a seperate image in its own?

Pennimus
07-18-2005, 11:24 PM
Yeah, basically is there a single conceivable reason not to have any title/body images seperate from the background?

expo-recon
07-18-2005, 11:34 PM
hmm yeha the heading title is stuck on the background. i could just edit the picture to split them, but then for some reason i cannot make the background FIXED, it never fixes even when i put the fixed background code.

i was thinking just make the body part keep going infinite as long as there is text or something to add to the body.

Pennimus
07-18-2005, 11:41 PM
I'm confused - in your first post you said you want the background to be scrollable, and then you say you want it to be fixed. Exactly what do you mean by scrollable anyway? Do you mean tiled so that the background image is repeated for as long as the page extends?

Is your problem that the title of the page integrates with the background, and that if you then scroll the two become disjointed? In this case, I would suggest you look into transparency (a treacherous quagmire) or better yet consider a redesign.

If you are having this problem it would imply a complicated background image, which there is rarely justification for. The best background images are stylish yet unobtrusive tiled 1 pixel high graphics.

_Aerospace_Eng_
07-18-2005, 11:42 PM
<style type="text/css">
body {
background-attachment:fixed;
}
</style>
That goes in your head tags, should make your background fixed.

expo-recon
07-20-2005, 06:14 AM
nevermind all that. now i just need a code that puts an image that aligns at the very top-left of the page without any spacing that seperates the corner and the picture. anyone know how to put a picture at a certain position on the screen?

because when i just use <im src="pic.jpg"> it doesnt align all the way to the top left corner, it has some spacing from the top, and left side.


example here (http://img.photobucket.com/albums/v295/MrC00ki3/example.jpg)


maybe using the x/y positioning way? it should tile correctly if the image that is selected (circled) is aligned all the way to the top left corner.

singedpiper
07-20-2005, 06:23 AM
look into css absolute positioning.

_Aerospace_Eng_
07-20-2005, 06:28 AM
if the image is the first item on the page it should be in the top left hand corner by default. It looks like you haven't declared the margin and padding of the body to be 0.

<style type="text/css">
html,body {
margin:0;
padding:0;
}
</style>

expo-recon
07-20-2005, 06:42 AM
ah thanx man. i forgot to use the search button for positioning. thanx.


requests for this thread is done. thanx everyone for all your inputs.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum