+ Reply to Thread
Results 1 to 2 of 2

Thread: html/css/php problem

  1. #1
    trebor's Avatar
    trebor is offline x10Hosting Member trebor is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    Wisconsin
    Posts
    35

    html/css/php problem

    Strange problem with my code listed below...
    in internet explorer it shows my ad but not the gray box to the left...
    in firefox I don't see the ad (adblock plus I believe catches it) but I see the grey box to the left whats up?
    note: I'm misnamed this topic sorry...
    Code:
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>PHP template</title>            
    <style>
    
    body{
        background-color:tan;
    }
    
    #top{
        background-color: white;
        top:5%;
    }
    
    #left{
    float:left;
    width:25%;
    background-color: grey;
    }
    
    #right{
    float:Right;
    width:75%;
    background-color: Black;
    color:grey;
    text-align:right;
    }
    
    </style> 
    </head>
    <body>
    
    <div id="top">
    <script type="text/javascript" src="http://x10hosting.com/adserve.js?trebor" ></script>
    </div>
    
    <div id="left">
    <a href="game/frame.php">Play the Game</a><br>
    <a href="talk/talk.php">Talk to Me</a><br>
    </div>
    
    <div id="right">
    <br>
    </div>
    </body>
    </html>
    Last edited by trebor; 11-21-2007 at 01:22 PM. Reason: apoligise for wrong title
    Calvsie, Boris Trege, Human gas Calves, gnome, Kyron, Toa of enders or what ever... I answer to them all...

  2. #2
    Zenax's Avatar
    Zenax is offline Lord Of The Keys Zenax is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    The Brilliant United Kingdom
    Posts
    1,339

    Re: html/css/php problem

    try putting them in a wrapper div. then have them like they are.

    Code:
    <!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=iso-8859-1" />
    <title>Untitled Document</title>
    
    <style>
    #wrapper	{
    width: 720px;
    height: 720px;
    border: 1px solid #000;
    }
    
    #top	{
    width: 98%;
    margin: 5px;
    background-color: #FFF;
    border: 1px solid #000;
    }
    
    #left	{
    float: left;
    background-color: #CCC;
    border: 1px solid #000;
    margin: 5px;
    position: relative;
    }
    
    #right	{
    float: right;
    background-color: #CCC;
    border: 1px solid #000;
    margin: 6px;
    position: relative;
    }
    </style>
    </head>
    
    <body>
    
    
    <div id="wrapper".
    
    	<div id="top">
    	
    	123456
    	
    	</div>
    	
    	<div id="left">
    	
    	123456
    	
    	</div>
    	
    	<div id="right">
    	
    	123456
    	
    	</div>
    	
    </div>
    </body>
    </html>
    See working here: http://www.justlife.exofire.net/outside/test.html
    Regards,
    Zenax

+ Reply to Thread

Similar Threads

  1. cpanel log in problem? please help
    By aquila in forum Free Hosting
    Replies: 4
    Last Post: 11-06-2007, 09:33 PM
  2. Problem with PHPBB Topic Reply Notification
    By AlbertQ in forum Free Hosting
    Replies: 5
    Last Post: 09-27-2007, 01:29 AM
  3. Problem with SMF
    By tam-iam in forum Free Hosting
    Replies: 5
    Last Post: 08-21-2007, 03:20 PM
  4. Problem uploading image (GD library problem)
    By HyDr@ in forum Free Hosting
    Replies: 1
    Last Post: 12-01-2006, 04:27 PM
  5. Ftp Timeout problem
    By ironcross77 in forum Free Hosting
    Replies: 7
    Last Post: 04-12-2005, 08:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers