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
Strange behaviour on IE with the same client side script
Old 02-06-2007, 08:42 AM Strange behaviour on IE with the same client side script
rungss's Avatar
Skilled Talker

Posts: 67
Name: Bijay Rungta
Location: Mumbai, India
Trades: 0
Hi,
I work on a website at http://www.PaGaLGuY.com The home page is behaving strangely when loading on IE 6 for the first time.
the page is completely misaligned.

It works perfectly fine in Mozilla, and even on IE sometimes.

I copied the client side script and uploaded in the web server at
http://www.PaGaLGuY.com/index.html this works fine(just as intended) but the original file that is returned from the php script at http://www.PaGaLGuY.com i.e. the actual url being http://www.PaGaLGuY.com/index.php

I am attaching the snaps of the actual file being returned and the page as it should be with the names actual.jpg and supposed.jpg respectively.

Someone please help at the earliest.

Thanks,
Bijay
Attached Images
File Type: gif actual.gif (61.8 KB, 4 views)
File Type: gif supposed.gif (63.8 KB, 4 views)
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
rungss is offline
Reply With Quote
View Public Profile Visit rungss's homepage!
 
 
Register now for full access!
Old 02-06-2007, 09:13 AM Re: Strange behaviour on IE with the same client side script
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
98% chances that IE does that because of the html code being not valid.
Try to change the parts that do not conform to thew3c specifications, but first, add an encoding specification.

I believe IE falls back to utf-8, and this could mess up some file path, like css stylsheets.

It don't explain why on the second load it would work though, but it won't be bad to guide a bit more the browser on how he should render the page.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 02-06-2007, 02:36 PM Re: Strange behaviour on IE with the same client side script
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
In first look I thought you might be suffering from FOUC - Flash of Unstyled Content. However, you are not importing your stylesheets and you have several things in your <head> section.

Your page doesn't even come close to validating, it's a validation nightmare. As already stated, you might want to try validating the code first.

Second, move all the inline scripts to an external JS file and see if that helps any.
__________________
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 02-08-2007, 07:49 AM Re: Strange behaviour on IE with the same client side script
rungss's Avatar
Skilled Talker

Posts: 67
Name: Bijay Rungta
Location: Mumbai, India
Trades: 0
I tried everything but the Internet Explorer seems to just refuse reading the style sheet.

which is defined in skins/pagalguy/styles.css

also none of the images are shown even though I guess it is completely independent of the css file.

one problem I can think of is that of the relative and absolute path.

the html document defines the base tag at the start.
so all the relative paths are supposed to be relative to the path defined in the base tag.

Could that be a problem.

Please help guys.
It's been almost a week that I am working to debug this.

regards
rungss
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
rungss is offline
Reply With Quote
View Public Profile Visit rungss's homepage!
 
Old 02-08-2007, 09:14 AM Re: Strange behaviour on IE with the same client side script
rungss's Avatar
Skilled Talker

Posts: 67
Name: Bijay Rungta
Location: Mumbai, India
Trades: 0
Solved it.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
rungss is offline
Reply With Quote
View Public Profile Visit rungss's homepage!
 
Reply     « Reply to Strange behaviour on IE with the same client side script
 

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.54518 seconds with 13 queries