473,385 Members | 1,641 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,385 software developers and data experts.

Having trouble with alignment in Internet Explorer.

Greetings all:

Basically, my picture container is showing up centered and exactly where I want it in Chrome and Firefox, but when I open it in IE6 and 7 the whole thing shifts completely to the left of the page.

Am I doing something wrong code wise, is it an IE glitch...?

Any and all help deeply appreciated!

The specific page is: http://www.btypedesign.com/index-1.html

Thank you.
Sep 10 '10 #1

✓ answered by drhowarddrfine

Having problems with any version of Internet Explorer is expected, natural and common. It's the worst browser on the planet. 12 years behind all others in modern standards and practices. Inept at best.

Also, IE6 does not work like IE7 which doesn't work like like IE8 which won't work like IE9 and none of them work like any modern browser.

To get IE to attempt to perform like the other far more modern browsers, you need a doctype. Add this to your first line:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
  4.  
And hope for the best. No one should ever use Internet Explorer.

2 1657
drhowarddrfine
7,435 Expert 4TB
Having problems with any version of Internet Explorer is expected, natural and common. It's the worst browser on the planet. 12 years behind all others in modern standards and practices. Inept at best.

Also, IE6 does not work like IE7 which doesn't work like like IE8 which won't work like IE9 and none of them work like any modern browser.

To get IE to attempt to perform like the other far more modern browsers, you need a doctype. Add this to your first line:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
  4.  
And hope for the best. No one should ever use Internet Explorer.
Sep 11 '10 #2
I hear you, drhowarddrfine! I've hated IE since it's birth. Still used Netscape instead of IE until Firefox came out...that's how much I hated it!
Thank you for the response! I will definitely try it out and see what happens...hopefully it works. If not, I'll just put a large disclaimer on the page advising to switch to any other browser if you wish to enter site! J/K

Again, thank you!
Sep 13 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Raymond H. | last post by:
Hello, I create a vb4 project which can also naviger on Internet via the WebBrowser control which I put on my form. My question is: if this program is installed on a station having already...
0
by: Sepia | last post by:
Hi, I am totally new in learning c sharp language. I have made an intranet web site with ASP. I want to make a window that has my name on the title bar and works like an internet explorer...
0
by: prs(tm) | last post by:
I want to show a custom window above the HTML display much like the Info bar in XP SP2. Within IE, the Internet Explorer Server window is a child of a Shell Doc Object View; I've subclassed the...
0
by: William LaMartin | last post by:
I have recently started checking how accessible my web sites are to the Pocket PC using Pocket Internet Explorer (PIE). The main trouble I have discovered is with aspx pages in which I use an...
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...
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...
2
by: shiznit | last post by:
checkWin = function(x) { alert(x); // Displays undefined } function startScroll(e) { if ( TimeOutID == null)
2
by: scdowney | last post by:
First and foremost, thank you in advance for any attempts to help me out. I am working on a project with work, and it requires I use CSS selectors to locate elements within a webpage. For the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.