RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 860 | Replies: 1
Reply
Join Date: Nov 2006
Posts: 23
Reputation: ForestTech is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
ForestTech ForestTech is offline Offline
Newbie Poster

Help Gaps in IE

  #1  
Apr 1st, 2007
Howdy,

I've having some trouble getting consistency in IE(7). If you view http://www.universalcranes.com/draft in Firefox, it looks as intended. If you view it in IE, there are small gaps above and below the image in the middle at the top.

Has anyone else encountered this problem? Is there a solution?

Thanks in advance
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2007
Posts: 10
Reputation: subhadip is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
subhadip subhadip is offline Offline
Newbie Poster

Re: Gaps in IE

  #2  
Apr 2nd, 2007
Hi Foresttech,

You can do onething place the top image as a bg top positioned and no-repeat, and if you are using td or div then use a or top-padding of the height of the first image. when the class is applied to the td(if u r using tables) then the first images come as a bg on top and the 2nd image comes under that image as there is a padding-top height same as the first image height. If you are duing DIV then cide will be .

#top {
background: utl(images/top-image.jpg) no-repeat top left;
width:xxx;
height:top+bottom image;
---
}
#top img {
margin-top:height of the first image;
}
or for table
.top {
background: utl(images/top-image.jpg) no-repeat top left;
width:xxx;
height:top+bottom image;
padding-top:height of first image;
---}

I hope it will help you.

Bye
Subhadip
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:28 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC