SMF For Free Support Forum
Signup For Free Forum
October 10, 2008, 11:22:45 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Codes] Bunch of codes  (Read 369 times)
0 Members and 1 Guest are viewing this topic.
valhalla95
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« on: June 12, 2008, 12:28:54 am »

prevent browser cache
 Add To Header
Code:
<META http-equiv="Pragma" content="no-cache">

Preventing Search Engine Indexing

Many times, you may have a web page that you don't want the Search Engines to index, such as download pages or private membership sites. To help with this problem, add one of the following META tag codes between the <HEAD> and </HEAD> tags of your HTML.

The following META tag tells the Search Engine robots not to index this page and not to follow any links within the page:

Code:
<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
 



The following META tag tells the Search Engine robots not to index this page, but follow any links within the page:

Code:
<META NAME="ROBOTS" CONTENT="NOINDEX,FOLLOW">





Changing Web Page Margins
This code is compatible with both Internet Explorer and Netscape Navigator.

Internet Explorer supports:

topmargin=0
bottommargin=0
leftmargin=0
rightmargin=0

Netscape Navigator supports:

marginheight=0
marginwidth=0

Make sure you use them all to enable your web page to be properly viewed in both browsers.

Code:
<body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0>



Replacing Your Standard HTML List Bullets With Graphic Bullets
Copy and paste the following HTML list code into the Header portion of your web page.

Code:
<DL>
<DD><IMG SRC="[color=red]yourimage.gif[/color]">[color=red]List Item One[/color]</DD>
<DD><IMG SRC="[color=red]yourimage.gif[/color]">[color=red]List Item Two[/color]</DD>
<DD><IMG SRC="[color=red]yourimage.gif[/color]">[color=red]List Item Three[/color]</DD>
<DD><IMG SRC="[color=red]yourimage.gif[/color]">[color=red]List Item Four[/color]</DD>
</DL>

Edit the text indicated in red to suit your needs.


Custom Contact Boxes
Code:
<style type="text/css">.contactTable {width:300px !important; height:150px !important; padding:0px !important;background-image:url("IMAGEURL");background-attachment:scroll; background-position:center center;background-repeat:no-repeat; background-color:transparent;}.contactTable table, table.contactTable td { padding:0px !important;border:0px; background-color:transparent; background-image:none;}.contactTable a img {visibility:hidden; border:0px !important;}.contactTable a {display:block; height:28px; width:115px;}.contactTable .text {font-size:1px !important;}.contactTable .text, .contactTable a, .contactTable img {filter:none !important;}</style>

imageurl= Your Image url


Too busy to add more
EDIT: Add All to headers or footers



« Last Edit: June 16, 2008, 01:32:00 am by simply sibyl » Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.337 seconds with 17 queries.