Hey guys, I am trying to get my website going, and I'm basically going to use frames cause that's all i know at teh mo, but i basically want to know if there is a piece of code i can use to make my background image scaleable. I guess what I'm after is a piece of code that detects what monitor size the user has so it can scale appropriately. Cause this is gonna be a random site that I'm going to throw up on the web to bulk out my portfolio, I want it to be accessible to new and old equipment alike. Joe
Its all well and good saying "use CSS" but it requires me to learn the language, work out how to put sheets together, and when i have an hour a night to do my designing thing, its kinda annoying having to stop/start all the time. I desperately want to learn CSS but I can't do the simplest thing in it - the majority of the time I use Dreamweaver and do basic HTML editing that I can't work out in Notepad
There's your main problem then... You don't understand what's going on... I suggest you start from basics, learn CSS and use notepad, and build your skills up from there. It will take quite a bit longer, but the end result will be much better. You can also get CSS templates from sites like http://www.oswd.org/ and fill in the data?
This should work: In your HEAD section you put: Code: <style type="text/css"> html, body {margin:0; padding:0; width:100%; height:100%; overflow:hidden;} #background{position:absolute; z-index:1; width:100%; height:100%;} </style> Then right after BODY you put: Code: <div> <img id="background" src="rabbit.jpg" alt="" title="" /> </div> All ripped directly from: http://www.cssplay.co.uk/layouts/background Learning CSS is really a steep curve but having just learned it recently (or at least the basics ) I have to say it's doable in very few lessons by reading some of the great guides online. E.g.: http://www.w3schools.com/css/ (hint: click on the red "Start learning CSS now!") Have fun
Please recognize that other people may not have the same needs and or time as yourself. An answer like that is very rude. He asked for help and very honestly pointed out what he needed.
And I honestly gave an answer... You can't write good code without knowing what's going on... Everyone can whip up a site in a WYSIWYG editor, but using that for a portfolio is a big mistake. You'll make a fool out of yourself for anyone that looks beyond the surface. Then it's better to do a decent job. But like all things, learning something takes hard work...