Need help on a Landing Page (xhtml)

Status
Not open for further replies.

Maxwell14

New member
Nov 17, 2008
8
0
0
So i have a landing page that is xhtml and I made it in NVU. For some reason it wont work in INternet explorer.

Need help ASAP.

Let me know
 


So i have a landing page that is xhtml and I made it in NVU. For some reason it wont work in INternet explorer.

Well, that is normal when you code websites. You always have to fix your design for IE.

Could you post link to your site and maybe we can help you?
 
A link to the landing page is required for any of us to provide specific advice - don't worry we probably won't bother to steal it. If you don't want to post it then I am sure sending a PM to any replies will be fine.

Generic advice for when IE slaps you around the face:
You can use conditional comments for quick fixes within your html in this format:

Code:
<!--[if ie]> code for ie goes here <![endif]-->

So, in your case I would advise keeping presentation separate from coding by using cascading style sheets. Just save a modified style sheet for each IE version, if you need to. Then add conditions when required, like so:

Code:
<!--[if IE 5]> <link href="ie5.css" rel="stylesheet" type="text/css"> <![endif]-->

Hope that's of some help for now :xmas-smiley-016:
 
So i have a landing page that is xhtml and I made it in NVU. For some reason it wont work in INternet explorer.

Need help ASAP.

Let me know

Can you be a little more specific, sometimes its a CSS issue, sometimes you're using malformed tables and IE behaves different than the rest. (Best to use CSS + Divs as opposed to tables)

Also how many errors do you get when you run the url thru...
The W3C Markup Validation Service

Also I try to avoid conditional blocks when possible and simply write the CSS in such a way that it works for both IE and the rest.
 
Well, that is normal when you code websites. You always have to fix your design for IE.

Could you post link to your site and maybe we can help you?

Yep normal, this pie chart is even proof of that :P

web-design-pie-chart.png


PS: Most WYSIWYG (What you see is what you get) web editors and such, like the NVU, Fontpage, and so on rarely look correct in competiting browsers (IE, FF, SF/OP, etc), usually it'll just look alright in one, and kinda messed in the other, or in your case totally messed in IE. But if you understand some of the "rules" of IE in a manner of speaking you can still write W3C compliant sites that work in all three browsers without having to resort to IE conditionals or "hacks" 99.99% of the time.
 
look out for invalid paths/links in css/javascript, if you are using any in the page
 
Status
Not open for further replies.