Jump to content

S.G Site Problems Thread


Sniffy
 Share

Recommended Posts

Okay, rather than hijacking someone else's topic(:)), this is my thread for my site problems.First off, I'm trying to position my main content in a box with a scrollbar. It's skinned and works fine on my local desktop, but when I publish it the text turns black and isn't positioned correctly. I'm really bad at making layouts, so if you can help me, that'd be great.css

body{background-color: #101228;background-image: url(I:\bobsite\layout5\images\body_bg.gif);  background-attachment: fixed;  background-repeat: no-repeat;}#main{  color: #fff;  font-family: Palatino Linotype;  font-size: 12px;  background-color: transparent;}#content{  overflow-y: scroll;  position: absolute;  top: 205px;  right: 215px;  color: #FFF;  font-family: Palatino Linotype;  font-size: 12px;  text-align: justify;  idth: 300;  height: 150;w}.menu{  position: absolute;  top: 235px;  right: 0px;  width: 100%;  height: 100%;  text-align: center;}.menu a{  color: #FFF;  font-family: Comic Sans MS;  font-size: 11px;  text-decoration: none;}.menu a:hover{  text-align: center;  color: #FFF;  font-family: Comic Sans MS;  font-size: 11px;  text-decoration: underline;}#squareStar{  background-color: #21233D;  position: absolute;  right: 5px;  top: 205px;  width: 210px;  height: 150px;}

html(index.php)

<!--<?phperror_reporting(E_ALL);?><?phpif(isset($_COOKIE['admin']))$adminCheck = "<font face='Comic Sans MS'>Welcome back,".$_COOKIE['admin'].".<br><a href='updateIndex.php'>Update the FrontPage.</a></font>";else$adminCheck = "<a href='adminLogin.php'>Admin Login</a>";?>	--><html><head><title>Bobville</title><link rel='stylesheet' type='text/css' href='style.css'></head><body><div id='main'><div id='squareStar'></div><table cellspacing='0'><tr><td width='200'><div class='menu'><a href='index.php'>Home</a><br><a href='games/index.php'>Games</a><br><a href='movies/index.php'>Movies</a><br><a href='tutorials/index.php'>Tutorials</a><br><a href='links.php'>Links</a><br><a href='adminLogin.php'>Update Index</a></div></td><td width='600'><div id='content'>Hello, welcome to my portfolio.<br>It's currently under construction.<!--<?php$fileName = "/home/www/sniffy.awardspace.com/updates.txt";$fileHandle = fopen($fileName, 'r')or die("Could not open file");$fileContents = fread($fileHandle, filesize($fileName));fclose($fileHandle);echo $fileContents;?>	--></div></td><td width='200'><div class='menu'><!--<?phpecho $adminCheck;?><br><?php$counterF = "/home/www/sniffy.awardspace.com/counter_homepage.txt";$counterH = fopen($counterF, 'w+')or die("Could not open file");$counterR = intval(fread($counterH, 5));fwrite($counterH, intval($counterR+1));fclose($counterH);echo $counterR;?><!--<?php$length = filesize($counterF);echo "filename: \"{$counterF}\"<br>";echo "length: ";var_dump($length);?>--></div> </td> </tr> </table.</body></html>

Sorry for messyness in index.php, but I'm converting it over from my old files and it's taking work. :)http://sniffy.awardspace.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...