This is a discussion on "Background image overlaping footer image at bottom of div" within the Web Page Design section. This forum, and the thread "Background image overlaping footer image at bottom of div are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Background image overlaping footer image at bottom of div
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Background image overlaping footer image at bottom of div
Newbie here,
I have created a 3 colums CSS based template, both columns collapse if there is no content. Now, there is IE issue with the image that I am trying to place at the bottom of the column. Here is that portion of the index file: <?php if (mosCountModules('left') > 0) {?><div class="left"><?php mosLoadModules('left', -3);?></div><?php } ?> <?php if (mosCountModules('right') > 0) {?><div class="right"><?php mosLoadModules('right', -3);?><div class="right_footer"></div></div><?php } ?> The right_footer class is what is causing the problem in IE, in FF I have a nice rounded cornered image to the footer of the column, in IE, the image that I am using for the background (right class), seems to extend beyond the footer image I have created. Here is the CSS from the template, you will notice that I have used the IE hack to position the images better in IE but I can't get the above problem solved: .right { float:right; padding: 5px 0 0 20px; background: url(../images/rightbg.gif) repeat-y; width: 200px; } html>body .right { /*margin-top: -56px;*/ float:right; padding: 5px 0 0 20px; background: url(../images/rightbg.gif) repeat-y; width: 200px; } .right_footer { float: right; margin-left: -30px; width: 220px; height: 14px; background: url(../images/rightbg_footer.gif) no-repeat; } html>body .right_footer { float: right; width: 220px; height: 14px; background: url(../images/rightbg_footer.gif) no-repeat; } Thanks for any help. |
|
|
|
#2
|
|||
|
|||
|
Re: Background image overlaping footer image at bottom of div
Been trying to get this working all day, still no joy. Here is a screenshot to help people visualise, I will try and upload the to a remote server if it will help, I am working locally at the moment.
The first is the image is from Firefox on the mac, displayed how I would like, the second in IE on the PC. Thanks. |
|
#3
|
|||
|
|||
|
Re: Background image overlaping footer image at bottom of div
Quote:
|
|
#4
|
|||
|
|||
|
Re: Background image overlaping footer image at bottom of div
I actuallly got it working by adding the following:
* {margin:0;padding:0} I should have set my margings to zero from the off. Thanks for your offer to help though. |
|
#5
|
||||
|
||||
|
Re: Background image overlaping footer image at bottom of div
Quote:
I use the following CSS on every site; it declares the asterisk "hack", but then redefines all other property:values as I want them...
|
![]() |
| Tags |
| background, image, overlaping, footer, bottom, div |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing bottom border from image links | dulcificum | Web Page Design | 4 | Jun 5th, 2008 23:47 |
| Problems with Footer - IE6 adding space below image ?? | slimboyfatz32 | Web Page Design | 7 | Feb 29th, 2008 21:03 |
| [SOLVED] Background Image wont be at bottom | defy | Web Page Design | 7 | Nov 9th, 2007 20:33 |
| Problem with my footer background image in IE | dthomas31uk | Web Page Design | 3 | Jul 1st, 2007 12:49 |
| Repeating an image along the bottom of the page without setting it as background. | imagius | Web Page Design | 9 | Apr 27th, 2007 08:35 |