4 replies [Last post]
magician
Offline
newbie
UK
Last seen: 13 years 41 weeks ago
UK
Joined: 2008-09-18
Posts: 2
Points: 0

Here is my siteso far: pauledmondson.co.uk

I am having real problems with positioning and the differences between firefox and IE. I designed it with just firefox in mind, and all looked fine. What I am struggling with is the position of the main content. I need to have a separate style sheet for IE as when I position it for firefox it looks great but in IE it renders badly. It overlaps etc. How exactly do I include a separate style sheet that is purely just for IE. I am having no such luck at the moment because when I have tried to include one firefox reads it too. I know this because I experimented by making a drastic change to see if firefox would alter the way it rendered the page, and it did.

Is it perhaps that I am not putting the conditional statement in the right place in my head, or writing it out incorrectly full stop? Please help. Really appreciate it.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 25 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

No your not writing the

No your not writing the conditional comment correctly, there are plenty of references dotted around the web that's the great thing about it Smile quick google and you would have a correct example to copy, still

You do have markup errors that must be corrected before moving forward and an understanding of the syntax required you have an html DTD yet are writing with partial xhtml syntax in closing empty tags.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

magician
Offline
newbie
UK
Last seen: 13 years 41 weeks ago
UK
Joined: 2008-09-18
Posts: 2
Points: 0

Hugo wrote:No your not

Hugo wrote:

No your not writing the conditional comment correctly, there are plenty of references dotted around the web that's the great thing about it Smile quick google and you would have a correct example to copy, still

You do have markup errors that must be corrected before moving forward and an understanding of the syntax required you have an html DTD yet are writing with partial xhtml syntax in closing empty tags.

Can you please shine some light on what the markup errors are and how I can rectify them? I haveput the --> on the end now but it still doesnt read the separate style sheet? Well it does, but so does firefox?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 25 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

It doesn't look to me as

It doesn't look to me as though you have copied my example correctly? did you update the linked to page?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

clopper
Offline
newbie
Last seen: 13 years 41 weeks ago
Joined: 2008-09-19
Posts: 1
Points: 0

Hugo wrote:It doesn't look

Hugo wrote:

It doesn't look to me as though you have copied my example correctly? did you update the linked to page?

Paul Edmondsons Wedding Magician | Private Entertainer

$(document).ready(function(){
$("a.home").click(function() {
$(".widearea").animate({
marginLeft: "0px"
}, 2000);
});
$("a.wedding, a.weddinglink").click(function() {
$(".widearea").animate({
marginLeft: "-880px"
}, 2000);
});
$("a.parties, a.partieslink").click(function() {
$(".widearea").animate({
marginLeft: "-1760px"
}, 2000);
});

$("a.clients, a.testimoniallink").click(function() {
$(".widearea").animate({
marginLeft: "-2640px"
}, 2000);
});
$("a.contact").click(function() {
$(".widearea").animate({
marginLeft: "-3520px"
}, 2000);
});
});

This is my code. I dont see what is wrong with it either, can anyone help? CHnage it so it is correct please. (PS this is my 2nd account I am magician too)