Web Studio Next Web Studio Next CSS Backgrounds - Lesson IHow to use 4 tiny images to make the background for an entire site If you are not familiar with web studio refer to the instruction page CSS BACKGROUND IMAGES I'm going to show you how to make an entire websites basic background with under 10k in images. We'll start with what is called an image tile.
That's the largest size image we'll use, it's only 4k
You can right click on these images and save them to your working folder if you like.
You can use web studio "insert background" to see it while you work but remember to remove it
body {background:#2A1506 url('wood.jpg') repeat;} Attach your "background tile" image to WEBSITE PROPERTIES Use "INSERT PROTECTED GRAPHIC" for these 3 images
We'll use 3 images for the content fields and take advantage of web studio
We actually can do this with no images at all but some people still use the old IE8 browser
top.png
bottom.png
middle.png
How to use the images
You insert the 3 protected graphics on your page, then use PAGE LAYOUT to align them all left. Send the middle image to the back and stretch it to the approx. height you want. When you use "Protected Graphics" Web Studio put's them into a folder called "_RefFiles" so that the same image is used for all instances across the entire site. That means all of these images only need to load once. What's happening and the advantage Using "GROUP" from the CREATE tab
Once you have one made you can select the 3 and use "Group" & "Un-Group"
I made one image in my art program, then copied and cropped them to get 3 exact images. I used png images because they are the best for transparent shadows.
You could make the images different widths as well but I find if they are too different in size you notice the radius corners get deformed, so you could make a smaller set for those.
These are the same 3 images made a bit smaller in width. Use PAGE LAYOUT "make same width" too much smaller deforms the radius corners though. Using the same image for the middle means we can make large looking pictures by using a tiny image to fill in the gap so a HUGE picture that could get up to a couple of hundred kb can be kept to 3k and load instantly.
These small images can build up just on one page and if you have a lot of pictures for your content you want the background to be as small as possible. Using these all the images are just the body {background:#2A1506 url('wood.jpg') repeat fixed;}
Want to make the background fixed so it doesn't move?
There are millions of these for free on the interent, search for "background tile"
Go to the HTML tab, and in Insert Page HTML select Inside Head |