SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 12th, 2005, 07:44 PM
DorkRawk DorkRawk is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 173 DorkRawk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to DorkRawk
CSS layout issue

I'm having an issue with getting my css elements to layout correctly, I am having the same issue on Firefox and IE, so I'm pretty sure it's something I'm not doing quite right. Basicly I want a footer element to line up with either of the 2 columns of my 2 colomn content depending on which is longer but its only lineing up with the right most column. Look at these pages for a clearer example...
compare
http://www.scrapbookstudiosinc.com/new/index.php
with
http://www.scrapbookstudiosinc.com/new/employment.php

the stylesheet is here

Reply With Quote
  #2  
Old January 14th, 2005, 03:29 AM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: CSS layout issue

honestly, the very first thing i think you should do is use a doctype that puts the browser into standards mode.

as soon as i saw that i didnt look any further, but it looks like your floating those boxes on the left. because a floated element is basically taken out of the flow of the webpage, thats why your footer hides behind it.

i wouldnt be able to explain it as good as just showing you how, or showing examples.

so heres one, many more can be found by googling for "css layouts footer"

http://www.fu2k.org/alex/css/layouts/3Col_NN4_FMFM.mhtml

Reply With Quote
  #3  
Old January 17th, 2005, 03:07 AM
DorkRawk DorkRawk is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 173 DorkRawk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to DorkRawk
RE: CSS layout issue

I added the doctype information and started looking around for a soulution. My problem lies in the fact that sometimetimes the content is longer than the left area and sometimes the left area is longer than the content. This seems like it would be a pretty common issue as this is a fairly common layout style. I looked around and found a javascript hack that was supposed to fix this, but it hasn't worked. Does anybody have any ideas? Thanks for your help.

Reply With Quote
  #4  
Old January 18th, 2005, 01:04 AM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: CSS layout issue

well there is the css property

min-height:


but ie doesnt support it.
BUT

height:

in ie works the same as min-height: does in more compliant browsers

you can use css hacks to feed the correct rules to ie, or better yet, use the ie proprietary 'conditional comments' to feed ie a special stylesheet


so you could wrap everything in a div and give it a min-height to keep the footer down low enough. the div will still expand when it needs to.


and yes, this is a royal pain. ive went through the same things trying to keep a footer on the bottom of the page. sometimes its very difficult to do it totally cross browser.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > CSS layout issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway