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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
help! Firefox looks good IE doesnt...
Old 05-23-2006, 02:33 PM help! Firefox looks good IE doesnt...
Average Talker

Posts: 19
Trades: 0
Hi im new here and wanted toa sk for your help...
here is the link to a template im working on for my site and it looks how it should in firefox but for some reason its pushing one of the boxes tot he side in IE..
*edited to remove link cos it isnt there anymore*
heres the CSS to go witht hat...
Code:

body {
background:url("pics/bg.gif")maroon;
font-family:arial,serif,sans-serif; 
color:black;
font-size:100%;
margin:0;
padding:0;
}
 
img{
padding:0;
margin:0;
border:none;}
 
#container{
padding:0;
margin:0;}
 
#header{
width:759px;
height:220px;
padding:0;
margin:0;}
 
#menu{
padding:0px;
margin:0px;
float:left;
}
 
.mbxt{
width:183px;
height:47px;
padding:0;
margin:0;
background:url("pics/mbxt.gif")#660066;
color:#ccccff;
background-repeat:no-repeat;}
 
.mbx{
width:183px;
height:223px;
padding:0;
margin:0;
background:url("pics/mbx.gif")#CCCCFF;
color:#660066;
background-repeat:no-repeat;}
 
.mbxt2{
width:183px;
height:45px;
padding:0;
margin:0;
background:url("pics/mbxt2.gif")#800080;
color:#ccccff;
background-repeat:no-repeat;}
 
.mbx2{
width:183px;
height:224px;
padding:0;
margin:0;
background:url("pics/mbx2.gif")#CCCCFF;
color:#660066;
background-repeat:no-repeat;}
 
#content{
width:576px;
height:539px;
padding:0;
margin-left:183px;
background:url("pics/content.gif")#CCCCFF;
color:#660000;
background-repeat:no-repeat;}
 
.heda{
padding:0;
margin:0;
border:0;
}
 
#foot{
width:780px;
height:106px;
padding:0;
margin:0;}
 
.fta{
width:759px;
height:50px;
padding:0;
margin:0;
background:url("pics/footad.gif")#660066;
color:#CCCCFF;
background-repeat:no-repeat;
}
 
.ftc{
width:759px;
height:56px;
padding:0;
margin:0;
background:url("pics/footcopy.gif")#CCCCFF;
color:#660066;
background-repeat:no-repeat;
}
 
its xHTML strict and it all validates and works fine in IE and i dont know how to fix this problem ive tried a ton of things!
thanks in advance.

Last edited by emagine; 06-03-2006 at 12:47 PM..
emagine is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-23-2006, 04:04 PM Re: help! Firefox looks good IE doesnt...
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I haven't found why it's off in IE, but I have a workaround you can try. Unfortunatley the workaround won't validate.

If you add _margin-left after margin-left in the content div IE will accept it with the underscore and use that since it comes later in the css. It doesn't validate though.

I'm thinking there's some default value that's forcing the content div a few extra px in IE, but most of the common ones that I'm aware cause problems you seem to have set explicitly. If I can find something I'll check back in, though I suspect someone else will be here to beat me to it.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-23-2006, 04:14 PM Re: help! Firefox looks good IE doesnt...
Average Talker

Posts: 19
Trades: 0
Thanks a lot for your help i really appreciate it.
Im pretty anal about it validating so i hope there's another fix
Ill keep trying and watch for more replies!
Thanks again
emagine is offline
Reply With Quote
View Public Profile
 
Old 05-23-2006, 04:22 PM Re: help! Firefox looks good IE doesnt...
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I can understand. I can be too, but sometimes it's the only way I've found to fix things. What I do with that code is use it in a separate css file and only include it for IE. I can actually get pages to validate that way, but I think it's kind of a faux validation with me tricking the validator a bit.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-23-2006, 06:43 PM Re: help! Firefox looks good IE doesnt...
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The problem isn't in your code, it's your content background graphic. Shave 3px off of the left side of the box, add it to the right side and then everything lines up.
__________________
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 05-23-2006, 09:02 PM Re: help! Firefox looks good IE doesnt...
Average Talker

Posts: 19
Trades: 0
Thanks Lady but when id o that i get the bad look in firefox... its like if it looks right in one it looks wrong in the other one!
This is getting really frustrating! lol
I had it fixed by making my background image the full width and putting the little menu box's over top of it inside the same containing div as the content was going (i just accidently lost that code trying your suggestion lol no bigee) BUT then when i did that and i coded the actual content box (next to the menu box's) i was having some margin problems, im gonna go away and re-do what i had done and then come and show you guys the new margin problem lol
So what it seems to be is when i float the menu boxes and try to put the content box next to the floated menu box it mess's up the margins and pushes the content box in a weird place, and it would be fixable with add/removing padding/margins EXCEPT that the problem only happens in one browser at a time!!!
im beginning to see why everyone hates IE
Thanks again for your help.
emagine is offline
Reply With Quote
View Public Profile
 
Old 05-24-2006, 10:08 AM Re: help! Firefox looks good IE doesnt...
Average Talker

Posts: 19
Trades: 0
Hi all
i just wanted to tell you that i decided to do a little re-design to hopefully help fix my problems!
So ill be back to ask more if my re-designing doesnt work out.
Thanks for all your help!
oh and vangogh forgot to say yesterday thats a good idea with putting the non validating in another css file when you need to do stuff like that ill keep that in mind if i need it in the future! thanks!
emagine is offline
Reply With Quote
View Public Profile
 
Old 05-30-2006, 11:29 AM Re: help! Firefox looks good IE doesnt...
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Quote:
<H2>The page cannot be found



الصفحة المطلوبة غير موجودة



الإعلان في موقع الخيمة يحقق أهدافك Advertise on Khayma.com

الخيمة العربية - جميع الحقوق محفوظة 1997-2004 © http://www.khayma.com
Did I miss something? It looks like a dead link.</H2>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-03-2006, 12:46 PM Re: help! Firefox looks good IE doesnt...
Average Talker

Posts: 19
Trades: 0
Oh i took it down cos i fixed it with a slight redesign sorry ill edit the link in the OP
emagine is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to help! Firefox looks good IE doesnt...
 

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.36568 seconds with 12 queries