ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IE Box error?

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS
View previous topic :: View next topic  
Author Message
raven



Joined: 31 Jan 2006
Posts: 41

PostPosted: Tue Jan 31, 2006 5:59 pm    Post subject: IE Box error? Reply with quote

I keep running into this problem when working on a script. I once had a solution for it but can not find it. Basically my box is not showing properly in IE and Firefox. I remember the code basically had some "/" or something in them that made it only readable by IE and then you could have a second width just for IE to make it fit.

For the life of me I can not find it though. Any assistance would be appreciated.
_________________
Programmers do it in code
Back to top
View user's profile Send private message
twinkle



Joined: 31 Jan 2006
Posts: 79

PostPosted: Wed Feb 01, 2006 6:22 am    Post subject: Reply with quote

I *THINK* something like this is what you want:

Quote:
div.content {
width:400px;
voice-family: "\"}\"";
voice-family:inherit;
width:300px;
}


Obviously adapt it to met the needs of your particular box. The first width would be the one used for everything else, the second one for IE. It basically takes advantage of a bug in IE to overwrite the width.
_________________
I shine
Back to top
View user's profile Send private message
raven



Joined: 31 Jan 2006
Posts: 41

PostPosted: Wed Feb 22, 2006 1:24 pm    Post subject: Reply with quote

twinkle wrote:
I *THINK* something like this is what you want:

Quote:
div.content {
width:400px;
voice-family: "\"}\"";
voice-family:inherit;
width:300px;
}


Obviously adapt it to met the needs of your particular box. The first width would be the one used for everything else, the second one for IE. It basically takes advantage of a bug in IE to overwrite the width.


Thank you for the response Twinkle! I had found it elsewhere and it works fine, I just hope the new versions of IE do not have these same compatibility issues, it is a pain when IE does not follow the standards.
_________________
Programmers do it in code
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial