Jump to content

Halp! My Page isn't displaying as it should.


marklarah

Recommended Posts

Okay hi, im using a php-franken-css thiny to display my pages. This is css as well, but maybe its a php propblem ???

 

Okay, so here is the problem: http://www.awesomealpha.com/projects.php

 

If you see if you click home, it displays fine, but on the page linked, it doesn't. The css is messed up here. Here is the css used:

body { margin:50px; font-size:0.9em; line-height:20px; font-family: "Myriad Pro", "Trebuchet MS", Arial;  background: url(images/bckg.gif) #000; border:1px solid #666666;}
a { color:#C23B01;}
a:hover { color:#333333;}
#container { background-color:#fff;}
#header { background:url(images/header_bckg_main.jpg) repeat-x  #C13B00; }
#logo { background:url(images/header_bckg.jpg) no-repeat; padding:30px 0 0 40px; height:83px; color:#FFFFFF; font-style:italic; }
#logo a{ color:#FFFFFF; text-decoration:none; font-weight:bold; font-size:20px; font-style:italic; text-transform:uppercase;}
#menu { background: url(images/menu_bckg.jpg) #FF6600; height:30px; }
#menu ul { margin:0; padding:0;}
#menu ul li{ display:inline-block; float:left; width:104px; list-style:none; text-align:center; }
#menu a { display:block; float:left; width:104px; color:#fff; font-size:14px; text-transform:uppercase; font-weight:bold; text-decoration:none; padding-top:4px; font-style:italic;}
#menu a:hover{ padding-top:4px; height:22px; background:url(images/menu_bckg_over.jpg) #C23B01;}

#text { margin: 0 270px 0 20px; }
#text p { padding:0 20px 10px 0;}
#text li {list-style:none; padding-left:20px; background:url(images/li.gif) no-repeat 0px 7px;}
#sidebar { float:right; width:200px; padding: 0 20px 0 10px; font-size:14px;}
h1 { margin:0; padding:0; text-transform:uppercase; font-size:1.8em; color:#1B1D1E; font-style:italic}

#main { float:left; background:url(images/sidebar_bckg.gif) repeat-y top right; padding:20px 0 0 0;}

#main hr {
color: black;
background-color: black;
height: 1px;
}

#main_grey { margin-left: 20px; margin-right: 20px; background-color: #E0E0E0; border-style: solid;
border-width: 1px;
border-color: #5DC59F;
padding: 5px;
}
#main_grey_top { margin-left: 20px; margin-right: 20px; margin-top: 20px; background-color: #5DC59F; border-style: solid;
border-width: 1px;
border-color: #5DC59F;
padding: 5px;
font-size: 17px;
font-weight:bold;
}
#main_grey_bottom { margin-left: 20px; margin-right: 20px; background-color: inherit; 
padding: 5px;
text-align: right;
font-style:italic;
font-size: 11px;
}

#main_grey hr {
color: black;
background-color: black;
height: 1px;
}

#footer {background:url(images/footer_bckg.jpg) #424E4F; height:102px; clear:both;  font-style:italic;  vertical-align: bottom}
#left_footer { float:left; padding:40px 0 0 30px; background:url(images/c.gif) no-repeat 30px 35px; text-transform:uppercase; color:#FFFFFF; font-weight:bold; font-size:12px;}
#left_footer a { color:#FFFFFF;}
#left_footer a:hover { text-decoration:none;}
#right_footer { float:right;  padding:40px 30px 0 0; text-transform:uppercase; color:#FFFFFF; font-weight:bold; font-size:10px; text-align:right; vertical-align: bottom;}
#right_footer a { color:#FFFFFF;}
#right_footer a:hover { text-decoration:none;}

 

 

 

and the php:

 
<?
$title = "Projects";
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AwesomeAlpha.com :: <?=$title?></title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {font-size: xx-small}
-->
</style>
</head>
<body onload="updateClock(); setInterval('updateClock()', 1000 )">
<div id="container">
<!-- header -->
    <div id="header">
    	<div id="logo"><a href="http://awesomealpha.com/">AwesomeAlpha.com</a>
        <br />
Home of AwesomeAlpha</div>
        <div id="menu">
        	<ul>
              <li><a href="http://awesomealpha.com/">Home</a></li>
              <li><a href="blog.php">Blog</a></li>
              <li><a href="projects.php">Projects</a></li>
              <li><a href="work.php">Work</a></li>
              <li><a href="about_me.php">About Me</a></li>
              <li><a href="http://awesomealpha.com/forums">Forums</a></li>
          </ul>

      </div>

  </div>
    <!--end header -->
    <!-- main -->
    <div id="main">
          <div id="sidebar">
<p><strong>QUICK UPDATES</strong><br /><br>

- Visit the <a href="/forums">Forums!</a>

</p>
<hr>

          	<p><strong>SEARCH</strong><br />

<form method="get" action="http://www.google.com/search">

<input type="text"   name="q" size="23"
maxlength="255" value="" />
<input type="submit" value="Search" />
<input type="hidden"  name="sitesearch"
value="awesomealpha.com" checked /><br />
</form>

</p>
<hr>
<?
$today = date("F j, ");
echo $today;
?>
<span id="clock"> </span><br><br>
      </div>
          <div id="text" >
                <h1><strong><?=$title?></strong></h1>
              <p>PAGE COMING SOON TO A BROWSER NEAR YOU</p>
<?
if (!isset($title)){
exit;
}
?>
  </div>
    </div>
    <!-- end main -->
    <!-- footer -->
    <div id="footer">
    <div id="left_footer"><a href="http://boards.ammostar.net" target="_blank">DJ+ Forums</a> | <a href="http://www.disturbedpickle.com" target="_blank">DP.com</a> | <a href="http://www.bihira.com" target="_blank">Bihira</a></div>
    <div id="right_footer">© Copyright 2008 <a href="mailto:[email protected]" title="Send Email To AwesomeAlpha">AwesomeAlpha</a> | 
<a href="http://www.realitysoftware.ca" title="Website Design">Design</a>
    </div>
    </div>
    <!-- end footer -->
</div>
</body>
</html>

 

 

???

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.