Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 860 | Replies: 1
![]() |
•
•
Join Date: Nov 2006
Posts: 23
Reputation:
Rep Power: 3
Solved Threads: 0
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
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
•
•
Join Date: Apr 2007
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
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
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
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode