Log In · Register

 
How do you create a PHP based website layout?
theerinkal
post Oct 12 2008, 12:35 PM
Post #1


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



I'm trying to use a premade website layout (that was made without PHP) with PHP but It's not showing the actual layout when I put the code to show it.


This is the layout code.

CODE
body {
background : #80d9c6
url('http://www.fantasea-x.com/images/premade_layouts/angelinabars.png') repeat-y;
text-align : left;

margin : 0
}
td, p, body, a {
color : #000000;
font-family : tahoma;
font-size : 7pt;
}
a:active, a:visited, a:link {
font-size :9px;
color : #46aeb9;
font-family : small fonts;
font-weight : normal;
text-decoration : none;
}
a:link img {
border : none;
}
a:visited img {
border : none;
}
a:hover {
color : #c5b9a9;
border : none;
}
input, submit, textarea {
background-color : #ffffff;
border : 1px solid #000000;
font-size : 9pt;
color : #060611;
font-family : Trebuchet MS;
}

input:focus,
textarea:focus {
color: #ffffff;
background-color: #a4c39f;
}
.main {
font-family :Times new roman;
background-image: url('');
color : #83a173;
font-size : 30px;
line-height : 30px;
letter-spacing :-1px;
text-transform:uppercase;
border-bottom:px solid #544d41;
border-top:px solid #544d41;
background-color :#d1dfbb;
text-align : center;
}
.subheader {
font-family :times new roman;
color : #83a173;
font-size : 15px;
line-height : 15px;
letter-spacing :0px;
background-color : #d1dfbb;
text-align : right;
}
body {
cursor : crosshair;
}
a {
cursor : crosshair;
}
b {
color : # 000000;
}
u {
color : # 000000;
}
i {
color : #000000;


}a.nav, a.nav:link, a.nav:active, a.nav:visited {
font-family: tahoma;
margin: 0px;
text-align: right;
display: block;
padding-left: 5px;
font-size: 11px;
color: #3b2b3a;
font-weight: normal;
text-decoration: none;
letter-spacing: 1px;
text-transform: uppercase;
background-color: transparent;
border-left: 0px solid #e5bad7;
border-bottom: 1px solid #cdd9b7;

}

a.nav:hover {
color:#83a173;
background-image: url(navigation.jpg);
background-repeat: no-repeat;
border-bottom: 1px solid #c3a9b5;

}a.nava, a.nava:link, a.nava:active, a.nava:visited {
font-family: tahoma;
margin: 0px;
text-align: left;
display: block;
padding-left: 5px;
font-size: 11px;
color: #3b2b3a;
font-weight: normal;
text-decoration: none;
letter-spacing: 1px;
text-transform: ;
background-color: transparent;
border-left: 0px solid #e5bad7;
border-bottom: 1px solid #cdd9b7;
}



a.nava:hover {
color:#ffffff;
background-image: url(navigation.jpg);
background-repeat: no-repeat;
border-bottom: 1px solid #c3a9b5;
}


< img src="http://www.fantasea-x.com/images/premade_layouts/angelinabase.png" alt="" >
(I know I have spaces in this image code.)



CODE
< ? php include("http://www.sugar-blossom.light-flash.net/layouthtmls.php); ?>

This is the code I'm using to show it on my index page.




Did I do some thing wrong with my code? or is there something I need to add? Please help.

THANKS in advance! :)
 
 
Start new topic
Replies
fixtatik
post Oct 12 2008, 02:55 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



where are your style tags? you still need those.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: