View Full Version : placing the text


niya429
01-24-2003, 07:24 PM
when doing the style sheet: where do you put the text code?

because I wanted the whole text be on top of the picture and as you scroll down the picture doesn't move, which I have...I think. But i don't know how to add the text to be sure.

can anyone help me?

lilchici13
01-24-2003, 07:29 PM
im not an expert at CSS but i think you put it right after the code

Alcy
01-24-2003, 07:37 PM
The stylesheet goes between your <head> </head> at the top of the page.

Do you mean you don't want the background to scroll?

<head>

<style type="text/css">
body
{
background-attachment:fixed
}
</style>

</head>

niya429
01-24-2003, 07:49 PM
I don't want the background to scroll just the text, but the problem is that I don't know where to put the text code at.

is is between the <head> and </head>?

is it after the <style> and </style>

know what I mean?

Alcy
01-24-2003, 08:14 PM
Oh, the actual text on the page? It goes after all that :)

<head>

<style type="text/css">
body
{
background-attachment:fixed;
}
</style>

</head>



<body>

TEXT HERE.

</body>

Is that it?

niya429
01-24-2003, 08:38 PM
I'm going to cry!

This what I'm trying to do:

http://bejiin.wishing-blue.net/green.htm

I want the text to scroll but the background to stay the same and I'm trying to get it that way, but it's not working.

Alcy
01-24-2003, 08:58 PM
Those are frames... but they've still used "background-attachment:fixed" in their stylesheet.

What code are you using?

niya429
01-24-2003, 10:09 PM
Oh, I was using the regular style sheet, but now I know why it's not working.....lol