Personalize Your Visit

League Name:
League Cgi No.:



Whats this for?Need help?

Main Menu

Quick Links
arrow Home
arrow Search
arrow Donations  new
arrow Change Skin

Page Customization
arrow Start Here
arrow Myleague Themes  new
arrow Left Side Generator
arrow Main Page Generator
arrow Top 20 Generator  new
arrow Tourney Links Generator  new
arrow Calendar Generator  new
arrow Myleague Codes
arrow Myleague Plus Codes
arrow Our Help Forums

Site Extras
arrow HTML Tester
arrow Table Generator
arrow Script Generators
arrow Downloads

Feedback
arrow Contact Us
arrow Link To Us

Other Links
arrow Link Depot
arrow Myleague Links
arrow Image/Graphix Sites
arrow JavaScript Sites

Visitors

01. 65.55.208...
02. 61.135.16...
03. 67.195.37...
04. 75.68.190...
05. 67.195.37...
06. 74.6.18.2...
07. 74.6.17.1...
08. 66.168.11...
09. 65.55.208...
10. 38.103.63...
 
 

Admins101

online 10 visitors online 08-20-2008 (Wed) 8:54 am 

Tutorial: Triple background code using CSS





While there are CSS tags that could be added for links, font types and colors, and any other element of your page, this tutorial will only focus on the triple border background code.


The first step is to put this code between the

<head>and </head>tags of your page: (this is not the shorthand method, to effectively teach you what each tag does)

<style type="text/css"> <!-- body { background-image: url( tile1.gif ); /* background furthest from the eye */ background-color: #d8b095; /* color */ margin: 30px; /* sets the margin of the page */ padding: 0; /* sets padding between first and second background */ } .bordertile { background-image: url( tile2.gif ); /* middle background */ margin: 20px; padding: 15px; width: 600px; /* sets the width */ border-width: 1px; /* sets our border thickness */ border-color: #d8b095; /* sets the color of the borders */ border-style: solid; /* sets the type of border */ } .toptile { background-image: url( tile3.gif ); /* background closest to the eye */ margin: 0; padding: 6px; border-width: 3px; border-color: #7c6758; border-style: double; text-align: center; /* sets our content in the center of the page */ } --> </style>


Now you will need to adjust the margins, paddings, borders and image url's in the above code to your needs.

To apply these style rules to the section of your page and create the triple border, wrap your content in this code:

<div class="bordertile"> <div class="toptile"> YOUR CONTENT HERE </div> </div>










Copyright © by Admins101 All Rights Reserved.

Published on: 2006-03-19 (2763 Reads)

[ Go Back ]





        
 7,798,952 visitors since March 5th 2003. 1,602 leagues registered.Admins101™ © 2002-2008 Codezwiz Network, LLC.