My website is all over the place
#1

Hey LCKB Community,

I have had many problems with my computers which is why I was mainly not around but I have recently been on a computer and I have had time to continue on my UniqueProductionZ website!

 

When I came back to work on my website I found loads of problems with it one of my main problems are that my website is all over the place and I cannot find out why it isnt going back to normal in the right place.

 

I am going to give you my index.php file so if anyone wants to help me and look at the coding to see if they can find any errors they can. 

 

I have continuously searched on Google but I cannot find a solution so then the only reason why it is messing up is because there is some broken coding, But I cannot find the solution.

 

You could look at the website online but you wont be able to see any of the PHP coding. I am in the middle of building a new design for it so it isnt great atm but the parts of my website such as the main content will not stay in the table instead it is going underneath the table even though the coding tells it to stay in the table. You can find the website homepage download and link at the bottom.

 

If anyone can help me by looking at the coding or by telling me what could be causing it I will be very grateful. 

 

Thanks in advanced Smile

 

Unique

 

P.S - If you need any other files linked with my website just comment or PM and I will upload them for you to look at.

 

My website link: 2

2

#2

Looking at this i am not sure how the website should look like when its right. 

Could u make a quick drawing of it?

#3

This is the drawing.

 

Thanks Wiz Smile

2

#4

The problem is dat u use so many tables and even put tables in tables in tables that in the end it gets really hard to find something back.

 

try this:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

<head>
<title>UniqueProductionZ | Members</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
#wrapper { width: 1000px; margin:0 auto; background-color:#e0e0e0;}
#header { height:150px; background-color:#29b9f5; }

ul { border:1px solid black; background-color:#c0c0c0; margin:0;}
li { display: inline; margin:5px; }

#container { padding-left: 200px; padding-right: 200px; }
#container .column { position: relative; float: left; }
#center { width: 100%; background-color:white; height:500px; }
#left { width: 200px; right: 200px; ; }
#right { width: 200px; margin-right: -200px; }

#footer { clear:both; height:150px; background-color:#29b9f5; }

</style>
</head>

<body>
<div id="wrapper">

<div id="header"></div>

<div id="menu">
<ul>
<li>Home</li>
<li>Forum</li>
<li>Gaming</li>
<li>Programming</li>
<li>Web Design</li>
<li>Image Design</li>
<li>Extras</li>
<li>Contact Us</li>
</ul>
</div>

<div id="container">

<div id="center" class="column">Content area</div>


<div id="left" class="column"><h2>Quick login:</h2>
<hr />
<table>
<tr>
<td>Login</td>
<td><input type="text" size="16" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" size="16" /></td>
</tr>
</table>
<input type="submit" value="Login" /><br />
Register<br />Forgot Password
</div>


<div id="right" class="column">
<h2>UniqueProductions</h2>
<hr />
Facebook<br />Twitter
</div>

</div>

<div id="footer"></div>

</div>
</body>

</html>

#5
Thanks Wiz Smile

#6

Sorry that i didnt spend more time to mimic it exactley, but im lazy today Tongue

But it should get u going in the right direction



Forum Jump:


Users browsing this thread: 1 Guest(s)