|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
I am developing a website using a Dreamweaver template- 2 column fixed width. At the bottom of each page I want a graphic on the left.
Building Design - Unique Home Designs - Duncan - Vancouver Island BC I can place it there, but it leaves a large white space to the right of it where the content cannot go. I tried putting the <div> right after the container tag, but it makes the graphic stay at the top and bumps the sidenav div over. Here is the code that does not work: .twoColFixRtHdr #hand { float: left; /* since this element is floated, a width must be given */ width: 156px; height:258px; background: #ffffff; background-image:url(images/interface/lower_left_hand.jpg); background-repeat:no-repeat; z-index:100; position:relative; left:-200px; } This is what it is supposed to look like: ![]() I could do this with my eyes closed using tables and I am about to throw in the towel, but will keep at it if someone can help me!! Thank you so much |
|
||||
|
I tried that, Uncle Dog, but if I have a page that has a lot of content, the hand graphic would stay at the bottom of the side nav links and the content would continue on down, leaving the graphic hanging on the left in the middle someplace rather than at the bottom.
Any other thoughts? Other than never putting a graphic on the bottom again???? |
|
||||
|
Nope...alas, that did not work either. I tried putting it back in the side nav div and giving it a negative number, but it is still too absolute. If I have a lot of content, it will only go as far as the side nav and not all the way to the bottom of the page. I should check out zengarden.com and see if I can find a solution there. I cannot afford to spend a lot of time on this, though, he is in a hurry and I am thinking I am going to throw in the towel and go to tables.
|
|
||||
|
Got it.
Put the hand div immediately before the footer div. Then give the hand div a top:-220px ish value. Adjust to suit. It rides up and down with the footer. Last edited by Uncle Dog; 10-01-2009 at 07:07 PM. |
|
||||
|
Just as you sent this I had tried putting the hand div right IN the footer div
.twoColFixRtHdr #hand { float: left; /* since this element is floated, a width must be given */ width: 156px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */ height:258px; background: #ffffff; /* the background color will be displayed for the length of the content in the column, but no further */ background-image:url(images/interface/lower_left_hand.jpg); background-repeat:no-repeat; position: relative; bottom: 212px; z-index: 100; } and it works! Thank you so much for working with me on this one. What a little bugger it was!! Having someone work with me on it made all the difference. That website by the way is www.csszengarden. It has some very cool stuff on it. There are a bunch of sites down the right hand side that all have the same content, but show you all the stuff css can do. |
|
||||
|
... and then there's the option to set the hand image as the page background with lower-left alignment
__________________
Dan LeFree | Product Manager (Linux VPS Hosting) | Owner/Operator (Web development, marketing) |
|
|||
|
The sad truth is that the lower left and lower right corners are impossible to position without some strain and a little weirdness in two column layouts without tables. The left column is essentially the wrapper layer with width restrictions on its content (navbar, etc.) and the right is floated left with a margin ~+10px of the used width of the left side. Then the image is absolutely positioned in the wrapper layer, as well, pinned to the bottom. Now the footer is put in the wrapper with the same margin as the content and all is well.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Let's See How Smart You Are... | Tiffany | The Castle Breakroom (General: Any Topic) | 12 | 09-29-2006 11:28 AM |
| Jagger or simple problem? | jmoran77 | Search Engine Optimization Forum | 2 | 11-18-2005 10:29 PM |
| some simple MOD rewrite help - like its ever simple | freehits | Web Programming Discussion Forum | 1 | 05-18-2005 01:25 AM |
| Simple problem | ken71683 | Web Programming Discussion Forum | 1 | 02-04-2005 01:30 PM |
| Smart Spamming | Theremin | Google Discussion Forum | 3 | 03-26-2004 09:50 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |