Go to Post Facebook for FIRST already exists. It's called Facebook :) - dcarr [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-12-2009, 21:00
moler moler is offline
Registered User
FRC #0772
 
Join Date: Jul 2009
Location: Canada
Posts: 13
moler is an unknown quantity at this point
website help!

hi ive been trying to get a spacing between two div tags to go away, i haven't been successful please help if you can

html : <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>

CSS: * {
margin:0; padding:0;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FF9900;
}
a:hover {
text-decoration: underline;
color: #666666;
}
a:active {
text-decoration: underline;
color: #666666;
}
#wholesite {
height: 100%;
width: 100%;
background-color:#000563;
margin:0;
}
#menubar {
height: 100%;
width: 25%;
background-image:url('stretchl.gif');
background-repeat:repeat-y;
margin:0;
}
#mainbar {
background-image:url('stretcht.gif');
background-repeat:repeat-x;
width: 100%;
float:left;
margin:0;
}
#gmlogo {
background-image:url('sr1_1.jpg');
background-repeat:no-repeat;
width: 118px;
height: 108px;
float:left;
display: block;
padding: 0;
margin: 0;
border: 0;

}
#topbar {
background-image:url('sr2.jpg');
background-repeat:no-repeat;
float:left;
margin:0;
}
#topright {
width: 343px;
height: 108px;
float:right;
margin:0;
}
#logoname {
background-image:url('sr3.jpg');
width: 158px;
height: 108px;
float:left;
}
#logo1 {
background-image:url('logo1.jpg');
width: 185px;
height: 108px;
float:right;
margin:0;
}
#gmlogobottom {
background-image:url('sr1_2.jpg');
background-repeat:no-repeat;
width:118px;
height:66px;
display: block;
padding: 0;
margin: 0;
border: 0;
}


Thanks a lot
  #2   Spotlight this post!  
Unread 10-12-2009, 12:06
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,068
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: website help!

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>

CSS: * {
margin:0; padding:0;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FF9900;
}
a:hover {
text-decoration: underline;
color: #666666;
}
a:active {
text-decoration: underline;
color: #666666;
}
#wholesite {
height: 100%;
width: 100%;
background-color:#000563;
margin:0;
}
#menubar {
height: 100%;
width: 25%;
background-image:url('stretchl.gif');
background-repeat:repeat-y;
margin:0;
}
#mainbar {
background-image:url('stretcht.gif');
background-repeat:repeat-x;
width: 100%;
float:left;
margin:0;
}
#gmlogo {
background-image:url('sr1_1.jpg');
background-repeat:no-repeat;
width: 118px;
height: 108px;
float:left;
display: block;
padding: 0;
margin: 0;
border: 0;

}
#topbar {
background-image:url('sr2.jpg');
background-repeat:no-repeat;
float:left;
margin:0;
}
#topright {
width: 343px;
height: 108px;
float:right;
margin:0;
}
#logoname {
background-image:url('sr3.jpg');
width: 158px;
height: 108px;
float:left;
}
#logo1 {
background-image:url('logo1.jpg');
width: 185px;
height: 108px;
float:right;
margin:0;
}
#gmlogobottom {
background-image:url('sr1_2.jpg');
background-repeat:no-repeat;
width:118px;
height:66px;
display: block; 
padding: 0;
margin: 0;
border: 0;
}
What do you mean spacing? Do you mean the new line between two div tags? A screen shot would probably help here.
__________________




.
  #3   Spotlight this post!  
Unread 10-12-2009, 12:29
JohnBoucher JohnBoucher is offline
Blue Shirt
FRC #0237
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Watertown, CT
Posts: 2,927
JohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond repute
Re: website help!

Is it bad in all browsers? I can't see the DOC TYPE. Hard to replicate without it.
  #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.
  #5   Spotlight this post!  
Unread 10-12-2009, 14:59
moler moler is offline
Registered User
FRC #0772
 
Join Date: Jul 2009
Location: Canada
Posts: 13
moler is an unknown quantity at this point
Re: website help!

thanks ill try that, the website is http://www.sabrerobotics.com

its the gm logo on the top left side of the page
  #6   Spotlight this post!  
Unread 10-12-2009, 15:22
JohnBoucher JohnBoucher is offline
Blue Shirt
FRC #0237
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Watertown, CT
Posts: 2,927
JohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond repute
Re: website help!

Hi,
First thing to do is to correct the code. Run the url through the validator at W3C http://validator.w3.org/

I get 18 serious errors. Most will be resolved when you add the missing DOC TYPE.
One of the issues is that without a DOC TYPE it throws the browser into quirks mode, so it does not understand how to interrupt the code.

Are you hand coding or using a WYSIWYG program?
  #7   Spotlight this post!  
Unread 10-12-2009, 17:29
moler moler is offline
Registered User
FRC #0772
 
Join Date: Jul 2009
Location: Canada
Posts: 13
moler is an unknown quantity at this point
Re: website help!

i'm hand coding it, thanks ill look at the errors
Closed Thread


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 award help eternalearth888 Website Design/Showcase 11 21-02-2009 11:03
Website Help Elvenage Website Design/Showcase 0 06-02-2009 16:45
Website Help! nnfuller Website Design/Showcase 7 18-01-2009 18:48
Website Help Dan50 IT / Communications 3 25-01-2006 07:00
Website help batter10456 CD Forum Support 9 19-02-2002 23:04


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

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