473,698 Members | 2,149 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE6 centering text - unwanted

I've got a web customer complaining about centered text when it's not
supposed to be. I just looked over at browsercam and it only appears on
Win IE 6 - Nothing else, EVERYTHING else is justified left as it should
be.

I'm using primitive CSS1 AND tables for the site.

The top page is at http://www.geocities.com/brigidregina/index.html

The CSS lives at
http://www.geocities.com/brigidregin...urselffree.css

If you know what to do, please click email too.

thanks
Jul 20 '05
15 2675
On Thu, 18 Dec 2003 18:39:00 GMT, Vorpal Chortler declared in
comp.infosystem s.www.authoring.html:
http://www.geocities.com/brigidregina/index.html

I've made some changes. How's it now in IE6? Browsercam won't let me
back in.
Better, but a lot of it still centered.
http://www.clarkecomputers.com.au/usenet/vorpal.jpg [43k]

You have a number of errors in your HTML. First step is to fix those.
http://validator.w3.org/


OK, I checked there and got error(s) alright. All the pages are fine
EXCEPT for this code that Yahoo is appending dynamically at the EOF
</html>:


Ah, yes. I didn't really look at it that closely, just noticed you had
errors.

WTF!? I doubt I'll be able to get them to do anything about it. I run
Probably not.
all my local code through two layers of syntax check and the whole site
is/was error free, except the CSS, see below.
If it is only that section of the code that is not valid, it is unlikely
that it is related to your problem with centred text. That's what you get
for hosting with Geocities. My recommendation would be to find a better
host. :-)
Hmmm, this is what BBEdit 6 inserted:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

I take it you're saying it's wrong. Could you copyeditpaste the exact
thing I should have, please.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

See
http://www.w3.org/TR/html4/struct/gl...pe_declaration
-3

As I say, it's only the URI that is slightly different, but it may help.
Certainly isn't going to hurt.
http://www.geocities.com/brigidregin...urselffree.css


OK. I went there and found some errors, and fixed them, including the
comment code. But now I still get one error:


Your CSS file is laid out a bit all over the place, but I believe there is
an extra } between the .growup and greentext rules.
BTW: I think that should be .greentext (and .bluetext, etc). I don't
remember seeing a <greentext> element in the specs. :-)

HTH

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #11

"William Starr Moake" <ws*****@yahoo. com> wrote in message
news:vt******** *************** *********@4ax.c om...
Don't give a rat's ass about Opera or any other browser besides IE.
The latest stats show IE has 95% of the market. The other 5% are
computer geeks and I design for the general public, not geeks.


It's said that most people have cheated on their spouse, too. So why not
just do it?

I don't think the conclusion you've reached is valid. Netscape is not a
"geek" browser. Neither is Opera, really, it's popular with people with
disabilities.

Feel free to ignore a lot of people. I'll try to accomodate EVERY visitor to
my site. It really doesn't cost a cent more to code that way, so what's the
benefit of losing five percent - likely more - of your potential market?
Besides being lazy and careless?

You already had to drastically recode for the latest release of IE. If the
next version of IE happens to be far more standards-compliant than
the current one, our sites will still work, and yours won't. You're taking a
hell of a big chance, but it's yours to take.

Jul 20 '05 #12
MH
> > Don't give a rat's ass about Opera or any other browser besides IE.
The latest stats show IE has 95% of the market.


Do not believe the stats, many Opera users tell it to identify as IE6
(file - preferences - network or ctrl-alt-o)

--------
MH
Jul 20 '05 #13
On Fri, 19 Dec 2003 10:17:30 +0100, "MH" <no****@nowhere .no> wrote:
> Don't give a rat's ass about Opera or any other browser besides IE.
> The latest stats show IE has 95% of the market.


Do not believe the stats, many Opera users tell it to identify as IE6
(file - preferences - network or ctrl-alt-o)


Which is the default setting anyway.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #14
Thanks, Mark, for all of it.
Jul 20 '05 #15
William Starr Moake wrote:
Don't give a rat's ass about Opera or any other browser besides IE.
The latest stats show IE has 95% of the market. The other 5% are
computer geeks and I design for the general public, not geeks.


Correction, the stats probably show that 95% of hits claim to be IE. Opera,
as shipped, defaults to identifying itself as IE (due to idiotic sites that
do browser detection for dubious reasons).

IE is known to have bugs in its HTTP code which cause superfluous hits,
inflating the true number of IE's users even more. So nobody will really
know just how many users are using IE.

My mom uses Opera on her computer. I use Konqueror and occasionally Mozilla.
These are all Web browsers. (Personally, I refrain from even calling IE a
Web browser but for the moment I'll entertain those that do.) This is why
we have standards. It is not supposed to matter what Web browser is using,
and for good reason. Requiring specific software to access information was
barely state of the art for 1984, and is far below state of the art in
2004. If you really only care about PCs running Windows and users of IE,
why not just serve a Word document?

--
Shawn K. Quinn
Jul 20 '05 #16

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

Similar topics

11
15031
by: Jeff Thies | last post by:
I have a series of blocks that are float left that I need centered on the page. <div class="center" align="center"> <div style="width: 100 px;float: left">thumbnail 1</div> <div style="width: 100 px;float: left">thumbnail 2</div> <div style="width: 100 px;float: left">thumbnail 3</div> </div>
3
7354
by: Jonah Bishop | last post by:
I have a puzzling problem with centering text, and I'm hoping that someone here can help me out. First of all, let me state that I am using XHTML 1.0 Strict and CSS for all layout purposes (no tables). My website consists of a few, simple parts: a "container" DIV which is centered and 750 pixels wide, a "sidebar" DIV which can be found along the left side of the container, and a "content" DIV which fills up what's left of the right part of...
2
2237
by: Ryan W Sims | last post by:
I'm having trouble with centering in IE... http://www.ryanwsims.com/koh/ The image should center over the text. It does in Firebird, but not in IE for some reason. If you look at http://www.ryanwsims.com/sd.php everything's fine (i.e. centered)
3
4631
by: CMAR | last post by:
To center my <div>, I am currently using something like <div id="navcontainer" align="center"> This centers fine, but is deprecated code. I have seen these two solutions recommended. 1) body { text-align: center; min-width: 500px;
15
13500
by: red | last post by:
How do I center two side by side divs ? I've been writing css pages for a while but there's one thing tha still eludes me. I can center a div with margin auto. I can place two divs side by side with float. But I can't center two side by side divs. If I float them and give them auto margins, the auto margins are ignored. If I wrap the two floated divs in another div, the two divs have no
3
4199
by: John Pote | last post by:
1. Horizontal centering a <divin browser window. The current trend seems to be to place page content in a fixed width area in the middle of the browser window. How is this achieved? If I use a top level <divthen I can place it with CSS attribute 'left:', but this is a fixed offset. Is it possible to have a <divcentered in the browser window? 2. Verticle centering in <div>
5
4821
by: Markus Ernst | last post by:
Hello This is a test example: http://www.markusernst.ch/anthracite/ http://www.markusernst.ch/anthracite/living_divani.html After googling and experimenting for several hours, I ended up doing this demo with tables. The main problems are the vertical centering of the info area, and of the text inside the squares.
4
4066
by: SAL | last post by:
Hello, is there a way to menu control dynamically center itself horizontally on a page? I have placed a menu control in a panel control (no ajax) and would like it to center itself. Depending on whose logged in, the menu, or course, displays different items, sometimes just two items, other times many more. If all menu items are displaying, centering is not a problem but when only two items are displayed, the menu appears on the left hand...
1
2284
by: =?Utf-8?B?ZnJhbmt5?= | last post by:
Hello, I've created a table that has two rows that are span across three columns. The third row has three columns, each with an image. The last row is also span accross three columns. The span rows are centering their data. however, the row with three columns, each with images (myimages1-3) are not centering with the rest of the table. Any idea why? Thanks in advance!
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9028
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.