473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Internet Explorer Rendering The Output Of My PHP Pages Badly

http://www.houseproudlancs.co.uk/index.new.htm is the worst, can somebody
please have a look and tell me where im going wrong? It shows fine in
opera, konqueror, mozilla, netscape but not IE.

i could check the users browser, and if its IE, show a different page, but
thats a bad workaround.

TIA
Jul 17 '05 #1
6 2274
Matthew Robinson wrote:
http://www.houseproudlancs.co.uk/index.new.htm is the worst, can somebody
please have a look and tell me where im going wrong? It shows fine in
opera, konqueror, mozilla, netscape but not IE.
This has nothing to do with PHP. Before you do ask elsewhere, don't
forget your homework again: check the archives and FAQs, lurk before
posting, and validate your markup (or at least provide in your post
an explanation of why it doesn't validate).

Anyhow, out of curiosity, why are image widths expressed as
percentages? See HTML4.01 sec. 13.7.1.
i could check the users browser, and if its IE, show a different page, but
thats a bad workaround.


Not only a bad (non-)workaround, but the source of yet more problems.

--
Jock
Jul 17 '05 #2
Matthew Robinson <ma*************@microsoftscrappywebserver.com> wrote:
http://www.houseproudlancs.co.uk/index.new.htm is the worst, can
somebody please have a look and tell me where im going wrong? It shows
fine in opera, konqueror, mozilla, netscape but not IE.
Firstly, that is not a PHP question and this is a PHP newsgroup.

Having had a quick glance at the source I found the HTML code is all over
the place - lots of mistakes in the <table>, an <h2> tag in the <head>
section, etc.etc.
i could check the users browser, and if its IE, show a different page,
but thats a bad workaround.


It is. Fix the source of the problem. Learn some basic HTML.

HTH;
JOn
Jul 17 '05 #3
Matthew Robinson wrote:

http://www.houseproudlancs.co.uk/index.new.htm is the worst, can somebody
please have a look and tell me where im going wrong? It shows fine in
opera, konqueror, mozilla, netscape but not IE.

i could check the users browser, and if its IE, show a different page, but
thats a bad workaround.


This should help:

http://validator.w3.org/

but your question isn't PHP-specific. In the future you should try an HTML
group.

Shawn
--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com
Jul 17 '05 #4
thanks shaun. the reason i posted here is incase i could have implemented
the page better in php.

anyway, the code is a complete mess in windows notepad, but the layout of
the code looks fine in kwrite.
Jul 17 '05 #5
Hi,

Matthew Robinson wrote:
[...]
anyway, the code is a complete mess in windows notepad, but the layout of
the code looks fine in kwrite.


I assume you have got squares instead of line-breaks in the windows
notepad, right?
This is due to the different ways a line-break is presented under
Windows and under Unix(Linux)-Systems.

Try an other text-editor under windows or try unix2dos.

Till
Jul 17 '05 #6
i know that - i think sum1 said my code was layed out badly - might have
misunderstood tho.
On Tue, 27 Jan 2004 16:08:25 +0100, Till Glöggler wrote:
Hi,

Matthew Robinson wrote:
[...]
anyway, the code is a complete mess in windows notepad, but the layout of
the code looks fine in kwrite.


I assume you have got squares instead of line-breaks in the windows
notepad, right?
This is due to the different ways a line-break is presented under
Windows and under Unix(Linux)-Systems.

Try an other text-editor under windows or try unix2dos.

Till


Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: James_101 | last post by:
My training piece is in Authorware. The user logs in with last name and a four-digit number. Authorware sends this user identifier to an asp page called db_read.asp. This file sends a SQL SELECT...
3
by: ckirchho | last post by:
Halo, I am trying to realize a two column layout basically like this: <html> <head> <style> leftCol { float: left; width: 15em; }
3
by: Craig | last post by:
Is there a way to access the internet explorer DOM in ASP.NET? Thanks
3
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review...
11
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in...
16
by: danep | last post by:
Hi all, On my site I have a section of code that resembles the following: <p id="gear" style="display: none;"> <p>test</p> </p> This renders fine in Firefox (that is, nothing is...
28
by: Neo Geshel | last post by:
NOTE: PAST EXPERIENCE HAS SHOWN ME THAT MANY ON USENET FAIL TO READ ARTICLES PROPERLY PRIOR TO ANSWERING. I AM LOOKING FOR VERY SPECIFIC INFORMATION, THEREFORE PLEASE READ AND UNDERSTAND...
1
by: gray_slp | last post by:
I am designing a web survey using surveymonkey.com and discovered I could use javascript to modify their standard question formats much the same as can be done in myspace. I used this feature to...
1
by: avpkills2002 | last post by:
I seem to be getting this weird problem in Internet explorer. I have written a code for parsing a XML file and displaying the output. The code works perfectly fine with ffx(Firefox).However is not...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.