Monthly Archives: April 2009
Paper Curl in Flash
| April 24, 2009 | Posted by The Futtock under Other Stuff |
In this tutorial we will be looking at how to create a paper curl in Flash. We will also be adding some texture to the paper using a bitmap.
This tutorial has moved to this web design and graphics site
Flash Obama vector illustration tutorial
| April 23, 2009 | Posted by The Futtock under Other Stuff |
This is a tutorial on taking a sketch and creating a flash vector illustration with it. The subject in this case will be the American president, Barack Obama.
This tutorial has moved to this web design and tutorials site.
JavaScript hide email address
| April 23, 2009 | Posted by The Futtock under Other Stuff |
If you want to avoid spam robots crawling your email address, then the following bit of code can help. It breaks up the address, and uses javascript to present it properly to the end user. Just replace your email address with the following, changing id to your name, dom to the site name and …
CSS align background image center
| April 20, 2009 | Posted by The Futtock under Other Stuff |
If you want to center and middle align a background image, use the following CSS code:
body {
background: #000 url(images/background.jpg) no-repeat center;
}
If you want a fixed image, center aligned but not middle aligned, try this:
body {
background-image: url(images/background.jpg);
background-repeat: no-repeat;
background-attachment:fixed;
background-position: 50% 0%;
}
CSS cursor styles
| April 19, 2009 | Posted by The Futtock under Other Stuff |
You can control the cursor style using the CSS ‘cursor’ property.
For example, to make a <p> use a crosshair cursor then sue the following CSS:
p {
cursor:crosshair;
}
The following is a list of al the cursor styles. Mouse over them to see the cursor change.
auto
crosshair
default
pointer
move
e-resize
ne-resize
nw-resize
n-resize
se-resize
sw-resize
s-resize
w-resize
text
wait
progress
help
CSS centering content on page
| April 19, 2009 | Posted by The Futtock under Other Stuff |
Centering your content on a page using CSS is not complicated once you know how:
You need to create a content or container div that all the content goes into.
In your css you need to give the content container a width and then set the left and right margins to auto.
Example HTML:
<body>
<div id=”content”>
<!– Content …
Linux for designers
| April 18, 2009 | Posted by The Futtock under Other Stuff |
A tough choice!
I use a PC. I can’t stand the Mac tax and the Mac image. I don’t mind PCs; I understand them, but I am growing very fond of Ubuntu, one of the Linux alternatives to Macs and PCs. The problem is that I do a lot of design work and as a …
Make a div semi-transparent
| April 18, 2009 | Posted by The Futtock under Other Stuff |
This does not work in all browsers but seems fine in the latest ie and firefox. Just add the following to the style of the div:
filter: alpha(opacity=50);
-moz-opacity: .50;
It takes two lines of code. One for ei and the other for firefox. The numbers is how see-through you want it. The higher the number the …
Recent Comments