Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
  #16  
Old 17-03-2008, 12:37 PM
Keys767's Avatar
Keys767  United Kingdom
CJ Member
 
Keys767 is offline
Send a message via MSN to Keys767
 
Join Date: Nov 2007
Last Online: 21-03-2008 11:23 PM
Posts: 24
iTrader: (0)
Keys767 is on a distinguished road
Default Help with bad website code

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

<head>
<meta http-equiv="Content-Language" content="en-gb" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>V E S P E R M E D I A</title>
<link rel="stylesheet" type="text/css" href="http://www.vespermedia.net/css/style.css" />
<style type="text/css">
.style1 {
    border-width: 0;
    border-spacing: 0px;
}
</style>
</head>

<body>

<table class="maintable" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td class="header" style="width: 516px">
        <img src="http://www.vespermedia.net/home/images/banner.jpg" class="banner" alt="VesperMedia" /></td>
        <td class="header">
        <img src="http://www.vespermedia.net/home/images/bannerend.jpg" width="44" height="170" alt="End" align="right" /></td>
    </tr>
    </table>
<table id="navbar" class="navbar" cellspacing="0" cellpadding="0">
    <tr>
        <td style="width: 100px " class="style1"><a id="homebutton" href="#" title="Home"><span>Home</span></a></td>
        <td style="width: 100px" class="style1"><a id="designsbutton" href="#" title="Designs"><span>Designs</span></a></td>
        <td style="width: 100px" class="style1"><a id="developmentbutton" href="#" title="Development"><span>Development</span></a></td>
        <td style="width: 100px" class="style1"><a id="codebankbutton" href="#" title="Code Bank"><span>Code Bank</span></a></td>
        <td style="width: 100px" class="style1"><a id="downloadsbutton" href="#" title="Downloads"><span>Downloads</span></a></td>
        <td class="style1" style="width: 100px"><a id="miscbutton" href="#" title="Miscellaneous"><span>Miscellaneous</span></a></td>
        <td class="style1" align="left"><a id="navbarfade" title="navbarfade"><span>navbarfade</span></a></td>
    </tr>
</table> 
Source of the Index page:
HTML Code:
<head>
<link rel="stylesheet" type="text/css" href="http://www.vespermedia.net/css/style.css">
<style type="text/css">
</style>
</head>

<? include('header.php'); ?>
<p>&nbsp;</p>
<table class="indextbl" cellspacing="0" cellpadding="0" align="center" id="indextable">
    <tr>
        <td class="indexheadleft">
        <p>NEWEST</p></td>
        <td rowspan="4" style="width: 100%; padding-left:3px; padding-right:3px" valign="top">
<p></p>
        <p>Welcome to VesperMedia Designs!</p>
        <p>&nbsp;</p>
        <p>VesperMedia Designs is a website specialising in graphics and 
web development. As well as a select range of high-quality web layouts and 
graphics, Vespermedia Designs is a resource for any webmaster seeking help, 
information or downloads to get their website up and running in all its glory. 
Whatever your website subject is - VesperMedia Designs is the place to go!</p>
<p>&nbsp;</p>
<p>We are in the very early stages of development at the moment, 
but we would appreciate any feedback from visitors on any of the following 
areas:</p>
<ul>
    <li>
    <p>Ideas for features</p>
    </li>
    <li>
    <p>Any questions you have about Vespermedia Designs</p>
    </li>
    <li>
    <p>Advertising, linking to or hosting your own free 
    layouts/graphics on VesperMedia Designs' webmaster section</p>
    </li>
    <li>
    <p>Interest in your site becoming an affiliate or partner 
    site to VesperMedia</p>
    </li>
    <li>
    <p>Bugs, glitches or errors you may have encountered on 
    VesperMedia during this development period</p>
    </li>
    <li>
    <p>Anything else you feel that we would like to be contacted 
    about</p>
    </li>
</ul>

        </td>
        <td style="width: 200px; height: 15px" class="indexheadright">
        <p>FEATURED</p></td>
    </tr>
    <tr>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></a></td>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></td>
    </tr>
    <tr>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></td>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></td>
    </tr>
    <tr>
        <td style="width: 200px"></td>
        <td style="width: 200px"></td>
    </tr>
</table>
<? include('footer.php'); ?> 
Source of the footer:
HTML Code:
<table style="width: 100%">
    <tr>
        <td class="footertbl">&copy; 2008 VesperMedia | <a href="http://www.vespermedia.net/home/legal/disclaimer.php">Disclaimer</a> | 
        <a href="http://www.vespermedia.net/home/legal/privacypolicy.php">Privacy Policy</a> | <a href="http://www.vespermedia.net/home/contact.php">Contact</a></td>
    </tr>
</table>
</table>

</body>

</html> 
Full page source when viewed on my computer in FF (error found in the "maintable" table):
HTML Code:
<head>
<link rel="stylesheet" type="text/css" href="http://www.vespermedia.net/css/style.css">
<style type="text/css">
</style>
</head>

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

<head>
<meta http-equiv="Content-Language" content="en-gb" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>V E S P E R M E D I A</title>
<link rel="stylesheet" type="text/css" href="http://www.vespermedia.net/css/style.css" />
<style type="text/css">
.style1 {
    border-width: 0;
    border-spacing: 0px;
}
</style>
</head>

<body>

<table class="maintable" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td class="header" style="width: 516px">
        <!--                                                                                         --></td>
        <td class="header">
        <!--                                                                                                           --></td>
    </tr>
    </table>
<table id="navbar" class="navbar" cellspacing="0" cellpadding="0">
    <tr>
        <td style="width: 100px " class="style1"><a id="homebutton" href="#" title="Home"><span>Home</span></a></td>
        <td style="width: 100px" class="style1"><a id="designsbutton" href="#" title="Designs"><span>Designs</span></a></td>
        <td style="width: 100px" class="style1"><a id="developmentbutton" href="#" title="Development"><span>Development</span></a></td>
        <td style="width: 100px" class="style1"><a id="codebankbutton" href="#" title="Code Bank"><span>Code Bank</span></a></td>
        <td style="width: 100px" class="style1"><a id="downloadsbutton" href="#" title="Downloads"><span>Downloads</span></a></td>
        <td class="style1" style="width: 100px"><a id="miscbutton" href="#" title="Miscellaneous"><span>Miscellaneous</span></a></td>
        <td class="style1" align="left"><a id="navbarfade" title="navbarfade"><span>navbarfade</span></a></td>
    </tr>
</table><p>&nbsp;</p>
<table class="indextbl" cellspacing="0" cellpadding="0" align="center" id="indextable">
    <tr>
        <td class="indexheadleft">
        <p>NEWEST</p></td>
        <td rowspan="4" style="width: 100%; padding-left:3px; padding-right:3px" valign="top">
<p></p>
        <p>Welcome to VesperMedia Designs!</p>
        <p>&nbsp;</p>
        <p>VesperMedia Designs is a website specialising in graphics and 
web development. As well as a select range of high-quality web layouts and 
graphics, Vespermedia Designs is a resource for any webmaster seeking help, 
information or downloads to get their website up and running in all its glory. 
Whatever your website subject is - VesperMedia Designs is the place to go!</p>
<p>&nbsp;</p>
<p>We are in the very early stages of development at the moment, 
but we would appreciate any feedback from visitors on any of the following 
areas:</p>
<ul>
    <li>
    <p>Ideas for features</p>
    </li>
    <li>
    <p>Any questions you have about Vespermedia Designs</p>
    </li>
    <li>
    <p>Advertising, linking to or hosting your own free 
    layouts/graphics on VesperMedia Designs' webmaster section</p>
    </li>
    <li>
    <p>Interest in your site becoming an affiliate or partner 
    site to VesperMedia</p>
    </li>
    <li>
    <p>Bugs, glitches or errors you may have encountered on 
    VesperMedia during this development period</p>
    </li>
    <li>
    <p>Anything else you feel that we would like to be contacted 
    about</p>
    </li>
</ul>

        </td>
        <td style="width: 200px; height: 15px" class="indexheadright">
        <p>FEATURED</p></td>
    </tr>
    <tr>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></a></td>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></td>
    </tr>
    <tr>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></td>
        <td class="nfbox">
        <a href="#">
        <img src="http://www.vespermedia.net/home/images/noimage.jpg" width="200" height="100" class="nfimages"></td>
    </tr>
    <tr>
        <td style="width: 200px"></td>
        <td style="width: 200px"></td>
    </tr>
</table>
<table style="width: 100%">
    <tr>
        <td class="footertbl">&copy; 2008 VesperMedia | <a href="http://www.vespermedia.net/home/legal/disclaimer.php">Disclaimer</a> | 
        <a href="http://www.vespermedia.net/home/legal/privacypolicy.php">Privacy Policy</a> | <a href="http://www.vespermedia.net/home/contact.php">Contact</a></td>
    </tr>
</table>
</table>
<br>
<center><a href="http://www.ciao.co.uk/reg.php?AffiliateId=6635981" target="_new"><!--                                                                                                                                                                     --></a></center>
</body>


</html> 
I could also note that the Ciao banner i put on my page at the bottom recently, does the same thing as my banner images.

Anything at all in that code that would stop particular computers or setups to not view it correctly all of a sudden?

The site is Vespermedia.net/home if you need to view it.

Thanks.

Last edited by Keys767 : 17-03-2008 at 12:39 PM.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #17  
Old 17-03-2008, 01:05 PM
serverguy's Avatar
CJ Donator
Intel ATi
serverguy is offline
 
Join Date: Nov 2007
Last Online: Yesterday 04:57 PM
Posts: 1,626
iTrader: (0)
serverguy is on a distinguished roadserverguy is on a distinguished road
Default Help with bad website code

I will have a better look at it later but from school here on IE6 I have no problems viewing it.

Strange..
__________________
serverguy



Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #18  
Old 17-03-2008, 06:25 PM
spot's Avatar
spot  Wales
CJ Donator
Intel Nvidia
spot is offline
 
Join Date: Feb 2008
Last Online: Today 11:32 AM
Posts: 532
iTrader: (0)
spot is on a distinguished roadspot is on a distinguished road
Default Help with bad website code

Just browsing the domain/home URL it might be relevant that view source shows two head sections, one before the doctype and one after it. Perhaps that's temporary and nothing to do with what you're chasing.

HTML Code:
<head>
<link rel="stylesheet" type="text/css" href="http://www.vespermedia.net/css/style.css">
<style type="text/css">
</style>
</head>

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

<head>
<meta http-equiv="Content-Language" content="en-gb" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
__________________

My System: Tim

CPU(s):
Athlon 64 3500+
Motherboard:
Asus A8N-VM CSM
RAM:
Corsair PC3200 CL2 DDR-400 2GB
Graphics Card(s):
nVidia Geforce 6600 512MB
Sound Card:
Cherry RS 6000 M keyboard
Hard Drive(s):
Barracuda.7+ 2x200GB 58MB/s sustained
Optical Drive(s):
Samsung DVD-ROM TS-H352
Case / PSU:
Thermaltake Soprano
Cooling:
Stock
Network / Internet:
Telewest 2x20Mb/sec
Monitor(s):
SXGA flat panel
Operating System(s):
Slackware (2.6.24.3) (Fluxbox) (bash)

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #19  
Old 18-03-2008, 02:59 PM
Keys767's Avatar
Keys767  United Kingdom
CJ Member
 
Keys767 is offline
Send a message via MSN to Keys767
 
Join Date: Nov 2007
Last Online: 21-03-2008 11:23 PM
Posts: 24
iTrader: (0)
Keys767 is on a distinguished road
Default Help with bad website code

The page displayed today without me changing the coding. Atleast now i know that code is OK. Something on my computer must have been acting funny.

Thanks for the help. And for the tip on those headers. Cleaned up the HTML as much as i could afterwards.

Thanks
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #20  
Old 18-03-2008, 05:35 PM
serverguy's Avatar
CJ Donator
Intel ATi
serverguy is offline
 
Join Date: Nov 2007
Last Online: Yesterday 04:57 PM
Posts: 1,626
iTrader: (0)
serverguy is on a distinguished roadserverguy is on a distinguished road
Default Help with bad website code

The HTML looks a lot better now.

What are you developing it with? Dreamweaver?

You would be a lot better set for any future changes if you got rid of the table based layout and went with CSS.

Also, if you are trying to set up a business creating websites then it looks better to have a page designed with current standards...

But the actual design looks good.
__________________
serverguy



Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #21  
Old 21-03-2008, 11:23 PM
Keys767's Avatar
Keys767  United Kingdom
CJ Member
 
Keys767 is offline
Send a message via MSN to Keys767
 
Join Date: Nov 2007
Last Online: 21-03-2008 11:23 PM
Posts: 24
iTrader: (0)
Keys767 is on a distinguished road
Default Help with bad website code

I'm using Expression Web.
I'm in the very very early stages of designing the site, so I can change the coding, images, layout or the whole thing at any time, since i'm not in any hurry with it. I'm designing it in the times around my college/work schedule as a passtime, so it'll go slowly anyway. I'm trying to learn more about CSS layouts at the minute, so the current design will probably be converted into CSS at some point.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with bad code :( Breaker3D Web Design, Hosting & SEO 8 08-04-2008 08:21 AM
Code 10 lynne9999 Sound, Speakers & MP3 Players 7 31-01-2008 04:07 AM
WEP Code. ComputerGuy Networking, Modems & VoIP 4 20-01-2008 10:59 PM
Best free website for hosting a website? mxmad32 Web Design, Hosting & SEO 9 10-01-2008 05:58 PM
Code problem, or something else! pidge Multimedia, Drivers & Codecs 1 16-10-2007 05:18 PM


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape