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
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-family: arial, sans-serif;
page-break-after: always;
font-size: 12px;
color: #A80000;
background-color: light blue;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
}
a:link, a:visited {
text-decoration: underline;
color : #000000;
}
a:active {
text-decoration:
underline; color : #7CFC00
}
a:hover {
text-decoration: none;
font-size: 14px;
color : #FF0000;
position: relative;
top: 1px; left: 1px;
}
.head {
background-image: url('img/head.gif');
background-repeat: repeat;
background-color: #A80000;
padding: 2px 2px 2px 2px;
margin: 3px 0 0;
color:#FFD700;
text-align: center;
border-width:2px 0;
border-style:solid;
border-color:#000000;
}
.check {
background-color: #999;
padding: 2px 2px 2px 2px;
margin: 3px 0 0;
color:#00000;
text-align: center;
border-width:2px 0;
border-style:solid;
border-color:#fffffff;
}
.hd3 {
background-color: #000000;
padding: 2px 2px 2px 2px;
margin: 3px 0 0;
font-size: 12px;
color: #FFFFFF;
text-align: left;
border-width: 1px 0;
border-style: solid;
border-color: black;
}
.hd3a {
margin-left:auto;
margin-right:auto;
text-align:center;
margin-top:4px;
margin-bottom: 4px;
border-style: outset;
border-bottom-color: #000000;
padding: 0;
border-spacing: 5px 5px;
}
.link {
text-decoration: underline;
font-weight: bold;
color: #ffffff;
}
.t1 {
margin-left:auto;
margin-right:auto;
text-align:center;
margin-top:4px;
margin-bottom: 4px;
border-style: outset;
border-bottom-color: #ff0000;
padding: 0;
border-spacing: 5px 5px;
}
.sub {
background-image: url('img/line.gif');
background-repeat: repeat;
font-weight: bold;
color: #000000;
background-color:#fffffff;
margin: 0 0 0;
text-align:center;
}
.hr1 {
margin-left:auto;
margin-right:auto;
text-align:center;
margin-top:4px;
margin-bottom: 4px;
border-style: outset;
border-bottom-color: #ff0000;
padding: 0;
border-spacing: 5px 5px;
color: #ffffff;
background-color: #000000;
text-align:center;
}
.ad {
overflow-style: marquee;
marquee: true;
text-align:left;
}
Is ‘infinite’ a better default than ‘1’?
.titlename {
color:black;
font-size:40px;
font-weight: bold;
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;
border: 1px solid #F99F2B
}
select{
background-color:#FFFFFF;
color:#000000;
border: 1px solid #F99F2B;
}
i can help you make a valid xhtml, html
hope this helps abit more to your coding