Thread: website help!
View Single Post
  #4   Spotlight this post!  
Unread 10-12-2009, 13:41
DMetalKong's Avatar
DMetalKong DMetalKong is offline
Registered User
AKA: David K.
no team
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Bridgewater
Posts: 144
DMetalKong is a jewel in the roughDMetalKong is a jewel in the roughDMetalKong is a jewel in the rough
Send a message via AIM to DMetalKong
Re: website help!

Quote:
Code:
<div id="wholesite">
	<div id="mainbar">
		<div id="gmlogo" onclick="location.href='http://www.gmcanada.com';" style="cursorointer;">
			</div>
	<div id="topbar">
		<img src="sr2.jpg" border="0">
		</div>
	<div id="topright" onclick="location.href='index.php';" style="cursorointer;">
		<div id="logoname">
			</div>
		<div id="logo1" >
			</div>
	</div>
</div>

<div id="menubar">
	<div id="gmlogobottom" onclick="location.href='http://www.gmcanada.com/';" style="cursorointer;">
		</div>
	<div id="flashmenu">
		</div>
	<div id="bottomleftpipe">
		</div>
</div>
It's hard to know exactly what you are asking from the markup, but it looks like you're trying to have a header across the top of the page, with the GM logo to the left and some other logos to the right, followed by a content area with a nav bar on the left. If this is what you are going for, then it seems to work fine in FF3.5.5. One suggestion I will make though is get rid of the DIVs with the onclick events and change them to anchors with display set to block. Using javascript for links can get really annoying. Another thing, the #wholesite DIV is superfluous. You can apply the background to the body element for the same effect with one less tag.