NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Help...I'm having CSS and IE problems

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
3 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 06-08-2005, 03:40 PM THREAD STARTER               #1 (permalink)
NamePros Member
 
kpm547's Avatar
Join Date: May 2005
Location: Canada
Posts: 171
kpm547 is an unknown quantity at this point
 



Help...I'm having CSS and IE problems


I just uploaded my redone site. Worked great on the test server in IE but not anymore.

Help!

This is the site: www.lasara.org
This is the lin to the style sheet: www.lasara.org/css/lasarastyle.org

For some reason the main content div does not recognize a top margin or the min-height in internet explorer. I know IE doesn't recognize the min-height attribute. How do you get around that and have the footer stay at the bottom of the page? Also is there any issues with margins in IE?
__________________
www.twocrazyducks.com - Two Crazy Ducks Web Hosting - Lethbridge, Alberta
www.lasara.org - Lethbridge Area Search and Rescue
themuellers.ca - The Mueller Family Webpage
jobsitestructures.com - Job Site Structures Ltd. - for all your site office and accomodation needs!
kpm547 is offline  
Old 06-08-2005, 05:52 PM   #2 (permalink)
NamePros Regular
Join Date: Oct 2003
Location: Sweden
Posts: 395
cerebus has a spectacular aura aboutcerebus has a spectacular aura about
 


Animal Rescue Wildlife Animal Cruelty
I dont seem to be able to visit your site at the moment and am unclear about exactly what you want to do, but as for simulating min-height it is possible to add some javascript with the IE propietary expression() in your CSS.

I have a short howto on my site here. The example says max-width, but the principle would be the same for min-height even though the condition clause in the expression() would differ.
cerebus is offline  
Old 06-08-2005, 09:51 PM THREAD STARTER               #3 (permalink)
NamePros Member
 
kpm547's Avatar
Join Date: May 2005
Location: Canada
Posts: 171
kpm547 is an unknown quantity at this point
 



Originally Posted by cerebus
I dont seem to be able to visit your site at the moment and am unclear about exactly what you want to do, but as for simulating min-height it is possible to add some javascript with the IE propietary expression() in your CSS.
????: NamePros.com http://www.namepros.com/programming/96975-help-im-having-css-ie-problems.html

I have a short howto on my site here. The example says max-width, but the principle would be the same for min-height even though the condition clause in the expression() would differ.

I don't know anything about javascript. Could you post what I would need to simulate min-height? Is it possibleto do if I want the min height to be 100%?
__________________
www.twocrazyducks.com - Two Crazy Ducks Web Hosting - Lethbridge, Alberta
www.lasara.org - Lethbridge Area Search and Rescue
themuellers.ca - The Mueller Family Webpage
jobsitestructures.com - Job Site Structures Ltd. - for all your site office and accomodation needs!
kpm547 is offline  
Old 06-08-2005, 10:19 PM   #4 (permalink)
NamePros Regular
Join Date: Oct 2003
Location: Sweden
Posts: 395
cerebus has a spectacular aura aboutcerebus has a spectacular aura about
 


Animal Rescue Wildlife Animal Cruelty
I was able to access your site now and I think what you want to use is an expression like:
Code:
height:expression(document.body.clientHeight + 'px');
But since you have to take into account the height of the footer itself for all but the outer container, you want something like this for all but the #main container:
Code:
height:expression(document.body.clientHeight - 20 + 'px');
This goes for all containers that has min-height:100% and height:100%. Be sure to add this statement after those two.
????: NamePros.com http://www.namepros.com/showthread.php?t=96975

I tried with one page of your site and it worked out fine, but I did not take much time to look into your code so it might cause problems on other pages.
cerebus is offline  
Old 06-09-2005, 07:09 AM THREAD STARTER               #5 (permalink)
NamePros Member
 
kpm547's Avatar
Join Date: May 2005
Location: Canada
Posts: 171
kpm547 is an unknown quantity at this point
 



Thanks for your help. I'll give it a try when I get home.
__________________
www.twocrazyducks.com - Two Crazy Ducks Web Hosting - Lethbridge, Alberta
www.lasara.org - Lethbridge Area Search and Rescue
themuellers.ca - The Mueller Family Webpage
jobsitestructures.com - Job Site Structures Ltd. - for all your site office and accomodation needs!
kpm547 is offline  
Old 06-09-2005, 08:55 PM THREAD STARTER               #6 (permalink)
NamePros Member
 
kpm547's Avatar
Join Date: May 2005
Location: Canada
Posts: 171
kpm547 is an unknown quantity at this point
 



Thanks again for the script. I tried it out and it works half the time.

It seems to work for these pages: www.lasara.org/about/ and www.lasara.org/training/

but it doesn't seem to work on these pages:
www.lasara.org/recruitment/
www.lasara.org/operations/

Any thoughts on why? I appreciate your help.
__________________
www.twocrazyducks.com - Two Crazy Ducks Web Hosting - Lethbridge, Alberta
www.lasara.org - Lethbridge Area Search and Rescue
themuellers.ca - The Mueller Family Webpage
jobsitestructures.com - Job Site Structures Ltd. - for all your site office and accomodation needs!
kpm547 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 12:31 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger