Web Authoring Question

Web Authoring Question

Re: Web Authoring Question Posted by Nickelplate on Tue Sep 6th 2005 at 5:56am
Nickelplate
2770 posts
Posted 2005-09-06 5:56am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
I would like to make a more professional-looking website. I want to have an 800x600 background picture that does not scroll down (only the text scrolls down) and will stretch to fit the browser window. Is this possible?

Or if not Could I make the window always be one size like Forceflow's website?
I tried sniffing coke, but the ice cubes kept getting stuck in my nose.
http://www.dimebowl.com
Re: Web Authoring Question Posted by Captain P on Tue Sep 6th 2005 at 6:25am
Captain P
1370 posts
Posted 2005-09-06 6:25am
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Personally, I find background images that are static to look awfull. I
think it makes text harder to read due to a changing background color
per line, and it makes a text block feel so unsolid.

It's possible though. As far as I know at the moment, you can do it
with css and the fixed option. Haven't toyed with this yet, though.

Resizing the window is possible or opening a pop-up when your page is
visited to display your site in there can be done too. I'd choose the
second option (I hate window-resizing pages).
Create-ivity - a game development blog
Re: Web Authoring Question Posted by Nickelplate on Tue Sep 6th 2005 at 7:01am
Nickelplate
2770 posts
Posted 2005-09-06 7:01am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
oh.. this image only has a bottom corner and bottom to it. the rest is more or less a solid color.
I tried sniffing coke, but the ice cubes kept getting stuck in my nose.
http://www.dimebowl.com
Re: Web Authoring Question Posted by Forceflow on Tue Sep 6th 2005 at 7:21am
Forceflow
2420 posts
Posted 2005-09-06 7:21am
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
Well, on my site (http://forceflow.undreamedstudios.be - for example
purposes, not pimpage :razz: ) I work with an image as a background.

I found out launching it in a pop-up window was the best way to make it
look the same on all systems/browsers. The image did not allow
stretching, it looked silly when the site was auto-stretched to
800*600. Make sure your image uses the same color overall, makes it
easier for the eyes.

So, what you have to do is:

1. Slice up your background pictures into the pieces you want it to
have. (On my site, there are three. The left big part with me an the
menu, the part where the text shows up, and the tiny one with the
quotations in the downright corner. Save these pieces seperately, and
write down their dimensions somewhere.

2. Make different pages (in my case: three) that use each of the
pictures as background. The background image will be tiled (repeated)
and look ugly, but don't worry about it at this point.

3. Compose a frameset, consisting of three frames that match the
dimensions of your image pieces, and load the seperate pages in them.
You might need to edit some page margins to have it look right. Of
course, these frames should have the NOREZISE en SCROLLBAR=NO tags when
you define them.

Like this:
<frame src="frameright.htm" name="rechts" scrolling="NO" noresize>
4. Now we have to make the background of your site's pages fixed.
Otherwise, when the text exceeds your frame space, the background image
will be repeated every time you scroll, which looks bad.

Define this in a CSS file:
BODY

{

background-attachment:fixed;

}
Then implement this CSS file into each of your pages by using this:
<link rel="stylesheet" href="scroll.css" type="text/css">
This should go in the HEAD part of your HMTL. (between <head> en </head>)

It's also very useful to define other things in your CSS file when you
start with the site. Text sizes, scrollbar colors (only works in IE,
though), link behaviour, ... All easy to edit later on, since you only
have to change one line in the CSS file to use a different font,
instead of editing dozens of seperal webpages.

Edit: To get best results, it's best to use multiple framesets. On my site, I use three different framesets embedded in eachother:

http://www.snarkpit.net/pits/forceflow/website.JPG

As you can see, the red frameset is resizable and will dissapear when
defining a pop-up window with the right dimensions. The Blue frameset
contains the site, splitted in left part (menu) and right part (text +
quotations). The green frameset defines with part of the right part of
the site is for text and which part is for quotations.
:: Forceflow.be :: Nuclear Dawn developer
Re: Web Authoring Question Posted by Nickelplate on Tue Sep 6th 2005 at 11:18pm
Nickelplate
2770 posts
Posted 2005-09-06 11:18pm
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
thanks!

you know, evil really never looked so damn good!

{edit} i dunno how to do CSS....
I tried sniffing coke, but the ice cubes kept getting stuck in my nose.
http://www.dimebowl.com
Re: Web Authoring Question Posted by Crono on Tue Sep 6th 2005 at 11:47pm
Crono
6628 posts
Posted 2005-09-06 11:47pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
You have google.

http://www.w3schools.com/css/default.asp
http://www.w3schools.com/html/
http://www.w3schools.com/js/default.asp

That's really all you'll need to know unless you get into other languages.
Blame it on Microsoft, God does.
Re: Web Authoring Question Posted by Forceflow on Wed Sep 7th 2005 at 10:02am
Forceflow
2420 posts
Posted 2005-09-07 10:02am
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
My CSS is located here, you can have a look at it: http://users.pandora.be/history/forceflow/scroll.csshttp://users.pandora.be/history/forceflow/scripts

The same goes for all code on my page, feel free to copy any part you'd like.
:: Forceflow.be :: Nuclear Dawn developer