Go to Post What makes a team great is not what they do during the 6 weeks, but what they do the rest of the year. - davidthefat [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #14   Spotlight this post!  
Unread 27-04-2010, 21:15
gloomy_lion's Avatar
gloomy_lion gloomy_lion is offline
Registered User
FRC #2199 (Robo-Lions)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Maryland
Posts: 10
gloomy_lion is an unknown quantity at this point
Re: HTML/Website Help

I recommend getting your HTML valid before going on. Firefox can be pretty forgiving when it comes to misplacing tags and not closing elements, but IE requires you to be really careful with your coding.

http://validator.w3.org/

Personally, I think the problem is being caused by the following code:
Code:
</head>
<div id="container">
<a href="http://www.usfirst.org" target="_blank"> <img src="http://www.iolani.honolulu.hi.us/robotics/newweb/allimg/home/first_logo_1.jpg" border="0" width="10%" height="10%"></a>
<a href="http://www.comcast.com" target="_blank"> <img src="http://gothampr.files.wordpress.com/2009/12/comcast_logo.jpg" border="0" width="15%" height="10%" align="right" image-align="top"></a>
<a href="http://www.etcusa.com" target="_blank" > <img src="http://etcusa.com/img/logo.gif" border="0" width="20%" height="10%" align="right"></a>
<style type="text/css">
<!--

#navbar ul {
    margin: 0;
    padding: 5px;
    list-style-type: none;
    text-align: center;
    background-color: #000;
    }

#navbar ul li {  
    display: inline;
    }

#navbar ul li a {
    text-decoration: none;
    padding: .2em 1em;
    color: #fff;
    background-color: #000;
    }

#navbar ul li a:hover {
    color: #000;
    background-color: #fff;
    }

-->
</style>
</head>
<div id="body">
<body>
You enclose your links and your styles between two </head> tags. Get rid of the first </head> tag, and hopefully you'll be on the right track. You also include a <div> element outside of the <body> tags, which is probably also why IE is giving you grief. Just be careful to keep your code valid and your troubles with cross-browser compatibility should be somewhat lessened .
__________________
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Website Help Elvenage Website Design/Showcase 0 06-02-2009 16:45
HTML Help Thread Compnerd Website Design/Showcase 1 13-02-2007 18:33
Website Help Dan50 IT / Communications 3 25-01-2006 07:00
Help with HTML LBK Rules CD Forum Support 3 03-02-2003 12:38


All times are GMT -5. The time now is 12:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi