| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 88
|
Confused? p.s. I hate IE!
I have a menu on a footer that just is not acting right with the styleheet for IE no matter what I am doing. So is there a way to include a different HTML file via PHP while excluding the first one? Code:
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 88
|
Mkay, what is the most simple way of getting list elements to display horizontally in Internet Explorer? This code works for what I am wanting to do in Firefox however I cannot seem to get it working in IE. So basically all I want is a HOME button and an ESPANOL button with a line seperating them what is the most simple way to accomplish this? Code:
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 88
|
Also should I have used an ID instead of a class? Here is the link Untitled Document I will get around to giving it a title as well. |
|
|
|
#6 (permalink) |
|
Best custom title ever.
Join Date: Apr 2008
Posts: 95
|
Why float left if you want them to be on the right? Anyways somethings you can try; display: inline; setting a line-height float: right floating usually does the trick with IE7. There are a few more tricks into getting them to display in one line but they're nothing coming to mind at the moment. |
|
|
|
#7 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 88
|
Using IDs and getting rid of the classes do help a bit but how do I get the just one line in the middle of can I? I guess in this case it is not really a big deal which way I float them but here is the new code: Still does not work in IE. Code:
|
|
|
|
#8 (permalink) |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
It's broken in FF/Mac and Safari/Mac also as far as I can tell. It's not IE's fault your code is a mess...sometimes it isn't IE's fault. You aren't centering things properly. You're using overlapping paddings and margins to (improperly) create a rudimentary positioning effect...and on and on. Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor |
|
|
|
#9 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 88
|
Mkay, so what is the on and on part let me know so I can work on it and as far as the positioning what do you suggest to do as a better alternative the only way I can get better is if I know not only what is wrong but the proper way to do something instead. |
|
|
|
#10 (permalink) |
|
Best custom title ever.
Join Date: Apr 2008
Posts: 95
|
Learning to write efficient code can only be achieved through research and practice. I thread reply won't do much for you. All modern browsers give you the ability to view a page's source code. I recommend you utilize this capability. Take a look at website and see how they tackle problems that you might be encountering. Eventually you will get the hang of it yourself. |
|
![]() |