Andyman
02-25-2003, 01:42 AM
I'm trying to make some mini-pages on the "member sites" websites..well they only provide you with a single box to put in HTML and stuff, and I'd like to do more interesting things with CSS. The problem is, there are no head tags so the CSS doesn't take effect. I've seen other people's mini-pages, and they look very cool considering that there was only a simple text box to put in all your work. Are mini-pages like these using another special...web-technique, or are they somehow using CSS despite what I've mentioned? (and if that is the case, how can I do it?) Thanks.
epolady
02-25-2003, 01:47 AM
Actually CSS works outside of the <head> tags.... at least in IE it does. But it's supposed to be in the <head>
For example, if you had a table....
<table style="background-color:202020; color:FFFFFF; font-family:verdana;">
And so forth :)
Andyman
02-25-2003, 08:21 PM
Oooo...so, would that work with the Background tag as well? something like:
<body style="blahblahblahblah">
(they don't specify a real "body" tag)
epolady
02-25-2003, 08:25 PM
Originally posted by Andyman
Oooo...so, would that work with the Background tag as well? something like:
<body style="blahblahblahblah">
(they don't specify a real "body" tag)
Yes.
<body style="background-image : url(background.gif);"> Will render a background image of your page.
Andyman
02-25-2003, 08:39 PM
Hmm..something is wrong, because the background image is not showing up. Here is my code:
<body style="background-color: #FFFFFF; background-image: url(http://www.boomspeed.com/andy7_7/spacebg.gif); background-position:50% 50%; background-attachment: fixed;">
I've also tried to change the cursor with this code, but I'm pretty sure that it is also wrong:
<cursor style="crosshair;">
epolady
02-25-2003, 08:43 PM
Your background code works for me. Also add the cursor to the <body>
<body style="background-color: #FFFFFF; background-image:
url(http://www.boomspeed.com/andy7_7/spacebg.gif); background-position:50% 50%; background-attachment: fixed; cursor: crosshair;">
Andyman
02-25-2003, 09:03 PM
Oh, maybe it's just the host that doesn't allow that kind of stuff...well, I know how to use CSS with a few tags outside of the HEAD tag, but where do I put the codes for A:Link, A:Visited, Textareas, Scrollbars, and those other small things?
epolady
02-26-2003, 12:04 AM
Not too sure bout the LINKs though., I never ahd to use them w/o constructing my CSS. But scrollbars, etc, goes in the body.
i.e.
<body style="scrollbar-arrow:......; scrollbar-track: ....... ; ">
Andyman
02-26-2003, 12:43 AM
Thank you so much (you too Alcy) you've been a lot of help! :D The CSS is finally working, I just took out all the spaces and somehow it started to work. O_o There's just one thing....The background is centered, but it is still tiling. Do I have to use the no-repeat tag?
Well, that's it, I think I'm comfortable with it. thanks again!
epolady
02-26-2003, 12:47 AM
On my screen (8x6) I couldn't even tell that it was repeating. Hehe. But if you want to you can stop the repeat. It looks okay on my screen, repeat or no-repeat.