CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 31st, 2003, 08:15 AM
Tekka's Avatar
Tekka Tekka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Australia
Posts: 18 Tekka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 0
Question CSS Issues with Gaps in Layout

Hi,
I'm having some issues with CSS Layout and gaps, its really annoying and I was hoping someone out there could help?

www.irdweb.net/crap/css-problem.JPG

I've got this ugly gap, and I can't work out how to get rid of it.

My CSS:

BODY {
background-color: silver;
height: 100%;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
width: 100%;
}

#logo {
background-image: url(pdsb.jpg);
color: #000000;
height: 100%;
margin: 0px 0px 0px 0px;
padding: 0px;
text-align: left;
float: left;
width: 150px;
}

#sidebar {
background-image: url(pdsb.jpg);
color: #000000;
margin: 75px 0px 0px 0px;
padding: 0px 0px 0px 0px;
text-align: left;
float: left;
width: 100%;
}

#title {
height: 70px;
font-size: 9pt;
margin: 0px 0px 0px 150px;
padding: 0px 0px 0px 0px;
background-image: url('pdtb.jpg');
width: auto;
}


and my HTML;

<div id="logo">
<div id="sidebar">
</div>
</div>

<div id="title">
</div>


Thanks,

Tekka

Reply With Quote
  #2  
Old May 31st, 2003, 08:48 AM
Tekka's Avatar
Tekka Tekka is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Australia
Posts: 18 Tekka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 0
I fixed it =)

In case anyone comes looking later on with the same issue, I removed the "height" from #title and a placed a 75px transparent JPG in there, bingo no more gap!

Thanks anyway.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Issues with Gaps in Layout


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway