17 replies [Last post]
homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

I have a problem with a lyout where I can't get the slider alligned correctly in IE. It works fine on the first slide but with the second and third slide it moves to far to the left. The problem is only in IE

The layout: http://osours.com/
The slider css: http://osours.com/css/style.css
The index cs: http://osours.com/css/index.css

I hope someone can help because I've been struggeling for quite a while now.

Thank you.

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

Which IE? when referring to

Which IE? when referring to IE it is one time when one must acknowledge the version - although few seem to do so.

Remove all that stuff at the top of the page. A html document begins with the line:
<!DOCTYPE the only time there is anything placed before that is if it is server side scripting If you really feel you have to have those comments then move them into the head section.

Next you need to validate your markup as there are errors, in fact make your life easier and remove that JavaScript to an external file.

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

homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

That is not really an awnser

That is not really an awnser to my problem;

The stuff at the top of the page has no influence on this problem, also I know the layout isn't valid (yet) however this is also of no influence on this problem. How do I know; the layout was allready fully functional however I had several files open and my pc closed without saving. After that I had a lot of problems and this is the last one left, however I can't seem to find the problem.

I first want to have any problems solved before I start cleaning up the html Smile

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 3 years 14 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Well. If you know better than

Well. If you know better than us, why did you come here?

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

Why do you say that? I just

Why do you say that? I just said that's it's not an awnser to my question. Sorry if this seems rude as this was not intended.

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 3 years 14 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Any data rendered before a

Any data rendered before a doctype WILL put Internet Explorer into QUIRKS mode.
As Hugo suggests, remove all those comments, and if they are necessary, move them below the doctype.
Also, you still have refused to state which version of IE you are having difficulties with.
Most of us here will not waste our time digging through code that can't even validate, so if you refuse to validate as well, then there is little we will probably do to help.
You have to help yourself before we will help you.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 44 weeks 7 hours ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

homann wrote: That is not

homann wrote:

That is not really an awnser to my problem;

Actually, yes it is but you, who came here asking for free help choose to reject it out of hand.

Quote:

The stuff at the top of the page has no influence on this problem

Your belief that it doesn't has no influence on the fact that it does.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

The IE version is 7 > "Most

The IE version is 7 >

"Most of us here will not waste our time digging through code that can't even validate, so if you refuse to validate as well, then there is little we will probably do to help.

Honestly I allways made sure everything worked before I start validating. Is the other way round a better solution?

(and it really wasn't my intention to be a wiseass)

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

Quote: I first want to have

Quote:

I first want to have any problems solved before I start cleaning up the htm

Oh really! that I'm afraid is what's known as 'arse about face' everything else has been said really but did you actually try either of the things I mentioned?

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

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

Just seen your last post.

Just seen your last post. Emphatically yes you MUST validate as you develop that is absolute and unconditional. Mal-formed markup produces unpredictable results and due to the nonsense known as the tag soup rendering engine trying to correct these errors you can get a cross browser mess, there are no standard rules to govern how browsers are meant to correct errors they each do as they see fit, which is problematical. The only way to know if you really have an issue to deal with is by ensuring that firstly your markup is error free.

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

homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

I really have to appoligise

I really have to appoligise here :Cool

http://www.osours.com/

Removing all junk at the top and moving it between the head section did the job. I truelly had no idea. So, another day, another lesson learned.

Thank you very much Smile

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 19 weeks 13 hours ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2043
Points: 2268

Pays to listen, eh? These

Pays to listen, eh? Tongue These guys are pros, man. They wouldn't tell you something that wouldn't help.

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

Being able to admit ones

Being able to admit ones wrong counts for a lot! I know I have to do it often Smile

I would also remove the JavaScript to an external file as that will clear up a few other validation issues.

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

homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

"I would also remove the

"I would also remove the JavaScript to an external file as that will clear up a few other validation issues."

This is new to me so I am looking into this now.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 44 weeks 7 hours ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

homann wrote: Honestly I

homann wrote:

Honestly I allways made sure everything worked before I start validating. Is the other way round a better solution?

You must validate as you go, and frequently. With various Firefox add ons this is easy, quick, and free. Valid html is a necessary precondition for success, as important as the foundation is to building a house.

If you validate often, you will find yourself making many less mistakes in coding and get much better results as a consequence. You need to validate your CSS too, but it's the HTML validation that is by far the most important, as already explained in this thread.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

homann
Offline
newbie
Last seen: 10 years 5 weeks ago
Timezone: GMT+2
Joined: 2010-09-13
Posts: 7
Points: 8

http://validator.w3.org/check

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

Now I'm just being

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

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 44 weeks 7 hours ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

I should have added "validate

I should have added "validate to a STRICT document type", as Hugo has shown. Use a STRICT doctype and validate against it frequently as you write the markup.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.