Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-28-2005, 10:03 PM
maverick
Unregistered

Posts: n/a

template

im still pretty new to php but could some1 show me how to make a php template (basic one)
Reply With Quote
  #2  
Old 05-26-2008, 03:30 AM
sof-com is offline sof-com
Registered User

Join Date: May 2008
Posts: 3

PHP Code:
<html>
<
head>
<
title>Hello world</title>
</
head>  

<
body>
<! -- 
Lets show whats in the body -->
<
p>Hi  my first page lets start the work </p>
<! -- 
oh the end of crap lol -->
</
body>


</
html
thats only a test page you also can center it to a
PHP Code:
<center> ( CONTENT) </center
tables ? need then if you wont to show a block

PHP Code:
<table width="100%"  border="0"  cellpadding="0"
lets end the tables

PHP Code:
 </table
also wont color ?

before body add this

PHP Code:
<link rel="stylesheet" href="style.css" type="text/css"
now you can find the color in css file also you can make the file change center the file place color files

Here i made you a css file to put in style.css

PHP Code:
body {
  
font-familyarialsans-serif;
  
page-break-afteralways;
  
font-size12px;
  
color#A80000;
  
background-colorlight blue;
  
margin-left0px;
  
margin-right0px;
  
margin-top0px;
 }

a:linka:visited 
text-decorationunderline
color #000000;
}

a:active 
text-decoration
underlinecolor #7CFC00 
}

a:hover 
text-decorationnone;  
font-size14px
color #FF0000;
positionrelative;
top1pxleft1px
}

.
head {
  
background-imageurl('img/head.gif');
  
background-repeatrepeat;
  
background-color#A80000;
  
padding2px 2px 2px 2px;
  
margin3px 0 0;
  
color:#FFD700;
  
text-aligncenter;
  
border-width:2px 0;
  
border-style:solid;
  
border-color:#000000;
 
}

.
check {
  
background-color#999;
  
padding2px 2px 2px 2px;
  
margin3px 0 0;
  
color:#00000;
  
text-aligncenter;
  
border-width:2px 0;
  
border-style:solid;
  
border-color:#fffffff;
 
}

.
hd3 {
  
background-color#000000;
  
padding2px 2px 2px 2px;
  
margin3px 0 0;
  
font-size12px;
  
color#FFFFFF;
  
text-alignleft;
  
border-width1px 0;
  
border-stylesolid;
  
border-colorblack;
  }

.
hd3a {
   
margin-left:auto
  
margin-right:auto;
  
text-align:center;
  
margin-top:4px;
  
margin-bottom4px;
  
border-styleoutset;
  
border-bottom-color#000000;
  
padding0;
  
border-spacing5px 5px;
  }

.
link {
  
text-decorationunderline;
  
font-weightbold;
  
color#ffffff;
 
}

.
t1 {
  
margin-left:auto
  
margin-right:auto;
  
text-align:center;
  
margin-top:4px;
  
margin-bottom4px;
  
border-styleoutset;
  
border-bottom-color#ff0000;
  
padding0;
  
border-spacing5px 5px;
 }

.
sub {
  
background-imageurl('img/line.gif');
  
background-repeatrepeat;
  
font-weightbold;
  
color#000000;
  
background-color:#fffffff; 
  
margin0 0 0
  
text-align:center;
 }
.
hr1 {
  
margin-left:auto
  
margin-right:auto;
  
text-align:center;
  
margin-top:4px;
  
margin-bottom4px;
  
border-styleoutset;
  
border-bottom-color#ff0000;
  
padding0;
  
border-spacing5px 5px;
  
color#ffffff;
  
background-color#000000; 
  
text-align:center;
 }
.
ad {
   
overflow-stylemarquee
   
marqueetrue;
   
text-align:left;
 }



Is &#8216;infinite’ a better default than ‘1’?

.titlename 
color:black
font-size:40px;
font-weightbold;
position:relative
top:0
left:0
}

.
r3 {
text-decoration:none;
font-weight:bold;
border:3px solid;
padding:2px;
border-color:#6cf #2af #2af #6cf;
background:#9df;
}
a:hover {
border-color#2af #6cf #6cf #2af;
}

input{
background-color:#FFFFFF;
color:#000000; 
border1px solid #F99F2B
}
select{
background-color:#FFFFFF; 
color:#000000; 
border1px solid #F99F2B;


i can help you make a valid xhtml, html

hope this helps abit more to your coding
__________________
Yes this my Signature

see Signature Signature Signature Signature Signature lol

Last edited by sof-com; 05-26-2008 at 03:35 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New template EDGE Sigs and Graphics 9 11-19-2007 09:18 AM
Template 2 Stoint Sigs and Graphics 8 07-07-2005 10:58 PM
Template Luckz Sigs and Graphics 4 07-06-2005 08:09 AM
another template Rampage. Sigs and Graphics 3 07-05-2005 08:33 PM
template Rampage. Sigs and Graphics 16 06-30-2005 09:10 PM


All times are GMT -5. The time now is 11:35 PM.




Powered by vBulletin®