This is a discussion on "Half of image lost to background color" within the Web Page Design section. This forum, and the thread "Half of image lost to background color are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Half of image lost to background color
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Half of image lost to background color
I am trying to finish my mothers website. She hired someone to do this for her and they flaked out. She can't afford to pay anyone else so the burden has fallen to me. Now I am a professional programmer so I thought I could handle CSS with ease. I apparently was wrong. I am attaching a picture to demonstrate the problem.
Here is the css
The page in question can be found here: http://sellshomes.us/?page=about . I am far from a css expert (actual I just started to learn this today) so my css may not be flawless. Any help would be appreciated. A. |
|
#2
|
|||
|
|||
|
Re: Half of image lost to background color
|
|
#3
|
|||
|
|||
|
Re: Half of image lost to background color
I didn't mention this but I can get it to work with tables but I really can't use them. The website is database driven entirely and the website alters the content through 3 seperate css files. So tables makes the css easy but the back end insanely more complex.
|
|
#4
|
||||
|
||||
|
Re: Half of image lost to background color
Quote:
Maybe a few more div's than you need, it's over complicating things.. All you need is:
my guess for the reason you're having this overlap problem is it could be a couple of things...
Last Blog Entry: Giving them what they paid for: A (sort of) Follow-up (Oct 15th, 2008)
|
|
#5
|
||||
|
||||
|
Re: Half of image lost to background color
The easiest way it to give the graphic a div with a z-index, which I think will work here. Give the graphic a z-index of 1
I actually don't see why you'd think it would bleed up into a previous div. Just a couple of obvious hints. First, make your width smaller -- 800px width won't fit on an 800x600 screen. About 780 is the general limit. All the absolute and relative positioning is not needed. If you're going to do any more css, you should try doing without it. |
|
#6
|
|||
|
|||
|
Re: Half of image lost to background color
The problem relates to the fact that your logo that you are talking about is contained within the divs 'content' and 'topcontent'. It doesn't matter what you do with the image, you will not see it outside the contraints of the containing div. Put the image inside its own div, NOT embedded inside any other div, and then you will be able to position it where you want. Under the circumstance I suggest making it the first div in your layout, use absolute positioning and set the top and left attributes as required. |
![]() |
| Tags |
| half, image, lost, background, color |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| background color in xml | kool77 | Other Programming Languages | 2 | Jul 7th, 2007 16:30 |
| background-color | kapyrossi | Web Page Design | 5 | Jul 4th, 2007 16:53 |
| chnaging the background color | DavidinLondon | Web Page Design | 0 | May 20th, 2006 20:37 |
| background color | kaz | Web Page Design | 4 | Aug 4th, 2005 18:28 |
| background color | kaz | Web Page Design | 1 | Apr 20th, 2005 12:43 |