PDA

View Full Version : Site help



Dee
11-18-2001, 07:17 PM
I'm making a new web site for myself, and I'm making a background for it. How large should it be if I want it to be best wiewed in 1024 x 768 screen, Win IE? I know I have to exclude the tool bar, start bar, office bar, etc. So I don't really know how large it should be.

crono_logical
11-18-2001, 10:00 PM
If you don't want a repeating background, it's best to make it wider than the highest possible res. it might be viewed in and not the res. it's designed for - 2400pixels wide should be okay. As for height, that's up to you, but don't make it too small or it can take forever to render on slow machines, and not too large or it will take longer to download :)

Dee
11-19-2001, 03:56 AM
Isn't there a way where you can make the background appear only once without repeating?

Squally Leonharty
11-19-2001, 07:30 AM
I was wondering that too, but I've found out it wasn't possible. Too bad, eh? You'll have to do what crono said.

crono_logical
11-19-2001, 06:29 PM
Actually, I think there's a CSS value that disbles repeating, I'll look into that :D Of course, it won't work in some browsers that don't understand CSS :p

Squally Leonharty
11-19-2001, 06:31 PM
Like Netscape (well, at least the older versions. It seems that the latest versions do support it. :p)

crono_logical
11-19-2001, 06:35 PM
Erh, how do you put an image in the background again? :eep: It seems I'm forgetting my HTML :p

Squally Leonharty
11-19-2001, 06:42 PM
Hehe. :p I forgot it as well. I'll look it up. :D

<b>Edit:</b>

Got it. :D &lt;body background="image.gif"&gt;

It should be in the body tag.
<b>image.gif</b> can be anything. (basically anything the &lt;img src&gt; tag can show :p)

crono_logical
11-19-2001, 06:48 PM
Here's the CSS value to disable repeating backgrounds, just put it in the BODY's style section :D

background-repeat: no-repeat;

Or try

background-repeat: repeat-x;

to tile in the x-direction only - you can also do the same with y :)

Squally Leonharty
11-19-2001, 06:49 PM
Nice. Is there also a way to tile it to the whole browser?
(if you can't scroll through the page, that is, or else it wouldn't be useful :p)

I mean, that it fits to the browser automatically.

Dee
11-19-2001, 06:51 PM
Oh, and another question. Is there an easier way to use iframe in Dreamweaver rather than typing the html up yourself?

Squally Leonharty
11-19-2001, 06:56 PM
iframe wouldn't be too hard. &lt;iframe [add some stuff here]&gt;

:p

As for Dreamweaver: I don't know. I've never used that. :D

crono_logical
11-19-2001, 06:58 PM
Squally: I don't know how to strecth the image to the size of the browser window - what would happen if the user then resized the window afterwards? :p It's be a pretty weird effect for a web page :D

EDIT: Though I think there is a way of making it to the background doesn't scroll at all, even if the window does, something to do with watermarks but I can't remeber :p



Vivi: I'm not sure, I suppose it depends on how comfortable you are with typing in the HTML yourself or not :p

Endless
11-19-2001, 09:22 PM
With css:
background-attachment: fixed;
background-repeat: no-repeat will make only one

or

< BODY BGPROPERTIES="FIXED">

Squally Leonharty
11-20-2001, 07:21 AM
Ahh, I never knew it was possible! Thanks! :D