Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 01-13-2009, 11:02 PM IE6 Problems
motivatingfator's Avatar
Experienced Talker

Latest Blog Post:
We Could Lose Our Freedom
Posts: 38
Name: Richard Morrison
Location: Lima, Ohio, USA
Trades: 0
Hello,

I am building a wordpress theme, and am very close to being finish, with the exception of a few small problems.

You can visit the site here: http://newwebbusiness.info/test_wp2/

You will notice in the top navigation, the links are positioned at the top in ie6 but are perfect in firefox.

Also in the footer, the content is aligned perfectly in firefox, however in ie6, it is positioned too far to the right.

I tried to use a browser detect comment:

<!--[if IE 6]>

<style type="text/css">
@import url("http://newwebbusiness.info/test_wp2/wp-content/themes/LawnCare/styles/ifie.css");
</style>

<![endif]-->

The ifie.css file contains the adjusted id (footer_content) - but for some reason, it will not execute unless I remove the main style.css file.

Can someone please provide me with some solution, this is driving me crazy :-)
__________________
Richard Morrison - Blogger / Consultant
E-Mail:
Please login or register to view this content. Registration is FREE
Web Address:
Please login or register to view this content. Registration is FREE
motivatingfator is offline
Reply With Quote
View Public Profile Visit motivatingfator's homepage!
 
 
Register now for full access!
Old 01-14-2009, 11:49 AM Re: IE6 Problems
SolidEagle's Avatar
Experienced Talker

Posts: 30
Name: Arjan Nijmeijer
Location: Stadskanaal
Trades: 0
First of all nice template!

Try:

<!--[if lt IE 7]>
<style type="text/css">
@import '../wp-content/themes/LawnCare/styles/ifie.css';
</style>
<![endif]-->

this method workes for me....
__________________
The Eagle Soars Above You!

Please login or register to view this content. Registration is FREE

Last edited by SolidEagle; 01-14-2009 at 11:50 AM..
SolidEagle is offline
Reply With Quote
View Public Profile
 
Old 01-14-2009, 03:47 PM Re: IE6 Problems
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Unless you want the dreaded "Flash of Unstyled Content" (FOUC), you might want to avoid the @import and just link directly to the css file.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-15-2009, 07:32 PM Re: IE6 Problems
motivatingfator's Avatar
Experienced Talker

Latest Blog Post:
We Could Lose Our Freedom
Posts: 38
Name: Richard Morrison
Location: Lima, Ohio, USA
Trades: 0
for some reason this is still not working. I can not seem to get ie to detect the alternative stylesheet, unless I disable the original.
__________________
Richard Morrison - Blogger / Consultant
E-Mail:
Please login or register to view this content. Registration is FREE
Web Address:
Please login or register to view this content. Registration is FREE
motivatingfator is offline
Reply With Quote
View Public Profile Visit motivatingfator's homepage!
 
Reply     « Reply to IE6 Problems
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32660 seconds with 12 queries