|
| |
Positioning a div image at the bottom of right-floated div
View related threads:
(in this forum
| in all forums)
|
Logged in as: Guest
|
|
|
slappyJmarsden
Posts: 55 Joined: 3/13/2003 Status: offline
|
Positioning a div image at the bottom of right-floated div - 4/20/2009 18:17:39
here's is the page I am working on... http://www.kleenkuip.com/incite/default.html On the right side of the page there is a gradient png image that I need to position at the very bottom of the containing div. I have searched Google and tried some solutions but to no avail. Help appreciated.
< Message edited by slappyJmarsden -- 4/20/2009 21:34:14 >
|
|
|
|
slappyJmarsden
Posts: 55 Joined: 3/13/2003 Status: offline
|
RE: Positioning a div image at the bottom of right-floa... - 4/21/2009 12:09:19
Thank u Tailslide... The rightfloated div already has a background image so I used another div for the gradient image. Your code worked...thanks but I now have another issue... I use a main contaner then 2 floats right and left...in IE the content fills up the browser window like it should...in Firefox the left float (white color) is not stretching down to the bottom of the browser window... You'll notice in IE that I want to have a gradient div at the very bottom but it is not stretching over 100% of the browser window...weird because the div is placed just above the ending /body tag it doesn't even show up in Firefox. I think that maybe I am not using the clear property the correct way?
|
|
|
|
slappyJmarsden
Posts: 55 Joined: 3/13/2003 Status: offline
|
RE: Positioning a div image at the bottom of right-floa... - 4/22/2009 15:46:40
I just tested this site in IE6 and it is a disaster...I dont' even know where to begin to fix it. :( I remember waaay back when I was learning table layouts and the pain in the butt cross browswer compatbility was. I am new to the css layout but this is a good learning experience.
< Message edited by slappyJmarsden -- 4/22/2009 15:57:48 >
|
|
|
|
slappyJmarsden
Posts: 55 Joined: 3/13/2003 Status: offline
|
RE: Positioning a div image at the bottom of right-floa... - 4/26/2009 13:56:53
After much research I finally got my site working in IE6! But alas, now another problem is staring me in the face... I got the site to validate with no errors...but I just added a div (footerContainer) to my navigation structure at the very bottom. This displays as it should in IE6 and IE7 but I can't seem to get control of it in Firefox...even when I specify a border or background color IE6 and 7 display it as it should...Firefox displays NO changes whatsoever??? It has padding and left alignment attributes but then again Firefox is still ignoring them. The css validation is now giving me a parse error on the div#footerContainer I have never seen this before...any ideas?
|
|
|
|
slappyJmarsden
Posts: 55 Joined: 3/13/2003 Status: offline
|
RE: Positioning a div image at the bottom of right-floa... - 4/26/2009 18:02:15
yes there is content inside the div...my bottom navigation is inside a #footerContainer div using <li>'s Fine in IE6, IE7 and even Opera displays it properly...Firefox is a no go. :( line 531 maincss.css Parse Error --> div#footerContainer
|
|
|
|
slappyJmarsden
Posts: 55 Joined: 3/13/2003 Status: offline
|
RE: Positioning a div image at the bottom of right-floa... - 4/27/2009 14:36:36
I took the contents of #footerContainer and put them into a new div called #navlist. Now FF displays the list correctly as I also took out the #footerContainer from the html...so the #footerContainer is still in the css file with no declarations but if I take it out of the css file FF goes back to not displaying the list properly. << did that make any sense? It has me shaking my head. It still hangs up on the validator even though #footerContainer has no set values and is completely removed from the html document. Why can't you put headings into li's? Everything else seems to run fine.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|