|
Website Design - Tips and Tricks
BetaGate Notebook
#4
Change colors of table cells
Move cursor over to see color changes
| move
cursor over |
move cursor over |
|
move cursor over |
move cursor over |
HTML codes for <td> tags
<td style="width: 25%; background-color:#ffffff"
onMouseover="this.style.backgroundColor='#ccffcc';"
onMouseout="this.style.backgroundColor='#ffffff';">
move cursor over
</td>
#3
Avoid spam - how to hide email address on
your website
JavaScript Codes
replace em1 and em3 variables. more
info
#2
Social
Bookmarks "Add to" footer links for webpage
We present a simple JavaScript codes to add a
webpage to 10 major Social Boolmarks Web Services:
AskJeeves
Del.icio.us
Digg
EarthLink
Furl
Google
Netscape
Reddit
MSN Live
Yahoo
Small 16x16 images must be in the folder 'imagesBM/' . You can
download a zip file imagesBM.zip
with the images. JavaScript codes are here:
Copy and paste codes to your webpage and add the image folder.
Change the path of the folder if it is needed. You can add more
Social Bookmarking sites using our template. Please write
us if you find an error or you add more SB sites. See example
on the bottom of this page.
#1
Smaller form objects
Example
Using style tags you can make form objects smaller and colorful. We
show an example of HTML codes of a text field and a submit button.
Text field (HTML)
<input type="text" name="text" size="14"
style="font-size: 8pt; font-family: Verdana; position: relative;
background-color: #ccffff; width: 200; height: 15; border-style: solid;
border-width: 1">
Submit button (HTML)
<input type="submit" value="Send" name="submit"
style="font-family: Verdana; font-size: 7pt; position: relative;
width: 40; height: 18; background-color: #ccccee; color: #000000">
|