HighDots Forums  

Problem with conditional ie5 stylesheet

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Problem with conditional ie5 stylesheet in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
andrew
 
Posts: n/a

Default Problem with conditional ie5 stylesheet - 08-02-2007 , 08:45 PM






Hi,

I have written a brief conditional stylesheet to center the main div
of:

http://people.aapt.net.au/~adjlstrong/dapper.html

in ie5. It works well but tables are _still_ aligned left in ie5. The
css is:

http://people.aapt.net.au/~adjlstrong/ie5.css

or placed here:

body { text-align: center;}
#content { width:90%; text-align: left; }
table {margin-left: auto; margin-right: auto;text-align: center;}
td {text-align: left;}

It is a small but irritating problem that I would be grateful to have
solution for! I suspect that I am missing something small but
important.

Andrew

--
"The band! the speckled band!" whispered Holmes.

Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-02-2007 , 08:55 PM






In article <slrnfb5256.bvh.andrew (AT) ilium (DOT) invalid>,
andrew <andrew (AT) ilium (DOT) invalid> wrote:

Quote:
Hi,

I have written a brief conditional stylesheet to center the main div
of:

http://people.aapt.net.au/~adjlstrong/dapper.html

in ie5. It works well but tables are _still_ aligned left in ie5. The
css is:

http://people.aapt.net.au/~adjlstrong/ie5.css

or placed here:

body { text-align: center;}
#content { width:90%; text-align: left; }
table {margin-left: auto; margin-right: auto;text-align: center;}
td {text-align: left;}

It is a small but irritating problem that I would be grateful to have
solution for! I suspect that I am missing something small but
important.

Andrew
I have not got IE5 but perhaps adding "width:32.5em;" to the
table css might help? Let me know if it works.

(btw missing space in table summary: "Type of equipmentand costs
for the Dapper computer")

--
dorayme


Reply With Quote
  #3  
Old   
BootNic
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 01:39 AM



Quote:
andrew <andrew (AT) ilium (DOT) invalid> wrote:
news: slrnfb5256.bvh.andrew (AT) ilium (DOT) invalid
Hi,

I have written a brief conditional stylesheet to center the main div
of:

http://people.aapt.net.au/~adjlstrong/dapper.html

in ie5. It works well but tables are _still_ aligned left in ie5. The
css is:

http://people.aapt.net.au/~adjlstrong/ie5.css

or placed here:

body { text-align: center;}
#content { width:90%; text-align: left; }
table {margin-left: auto; margin-right: auto;text-align: center;}
td {text-align: left;}

It is a small but irritating problem that I would be grateful to have
solution for! I suspect that I am missing something small but
important.
margin:auto for lte IE 6 does not work.

If you really want to support lte IE 6:
<!--[if lte IE 6]>
<center>
<![endif]-->
<table summary="" style="margin:auto;width:50%;border:solid 1px
green;">
<tbody>
<tr>
<td>table</td>
</tr>
</tbody>
</table>
<!--[if lte IE 6]>
</center>
<![endif]-->

--
BootNic Friday, August 03, 2007 2:38 AM

Optimism and humor are the grease and glue of life. Without both of
them we would never have survived our captivity.
*Philip Butler, Vietnam POW*





Reply With Quote
  #4  
Old   
Bergamot
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 08:59 AM



andrew wrote:
Quote:
http://people.aapt.net.au/~adjlstrong/dapper.html

tables are _still_ aligned left in ie5.
Both Win and Mac IE 5.x are dead browsers with a minuscule share of the
market. Why waste time trying to get them to render comparably to better
browsers? As long as the content is still usable, the rest isn't that
important. Don't lose any sleep over minor cosmetic differences.

--
Berg


Reply With Quote
  #5  
Old   
Windsun
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 10:32 AM



Why bother with IE5?

It has like 1/3 of 1% at most of the browsers.

.................................................. .................................................
"andrew" <andrew (AT) ilium (DOT) invalid> wrote

Quote:
Hi,


Reply With Quote
  #6  
Old   
andrew
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 05:04 PM



On 2007-08-03, Bergamot <bergamot (AT) visi (DOT) com> wrote:
Quote:
andrew wrote:

http://people.aapt.net.au/~adjlstrong/dapper.html

tables are _still_ aligned left in ie5.

Both Win and Mac IE 5.x are dead browsers with a minuscule share of the
market. Why waste time trying to get them to render comparably to better
browsers? As long as the content is still usable, the rest isn't that
important. Don't lose any sleep over minor cosmetic differences.
After thinking about it overnight, my favourite strategy, I can see
that you are of course perfectly correct :-) In fact the content _is_
perfectly usable in ie5 and the simple conditional css makes it a
little prettier _without_ further tweaking. And of course the page(s)
are meant for content not beauty.

Thanks for your advice,

Andrew

--
"The band! the speckled band!" whispered Holmes.


Reply With Quote
  #7  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 05:59 PM



In article <slrnfb79je.4uj.andrew (AT) ilium (DOT) invalid>,
andrew <andrew (AT) ilium (DOT) invalid> wrote:

Quote:
On 2007-08-03, Bergamot <bergamot (AT) visi (DOT) com> wrote:
andrew wrote:

http://people.aapt.net.au/~adjlstrong/dapper.html

tables are _still_ aligned left in ie5.

Both Win and Mac IE 5.x are dead browsers with a minuscule share of the
market. Why waste time trying to get them to render comparably to better
browsers? As long as the content is still usable, the rest isn't that
important. Don't lose any sleep over minor cosmetic differences.

After thinking about it overnight, my favourite strategy, I can see
that you are of course perfectly correct :-) In fact the content _is_
perfectly usable in ie5 and the simple conditional css makes it a
little prettier _without_ further tweaking. And of course the page(s)
are meant for content not beauty.

Thanks for your advice,
God help me Andrew! Or God bless your innocence. I'll think hard
on the difference deep into tonight.

Bergamot is a cold hearted bastard who always looks at the main
chance, the way ahead, the majority, the main game. Follow not
such lights, my son. Bend to listen to the little people, the
sick and the poor, the lonely, the uninfluential individuals.
Like Mac IE, Netscape 4, Win IE 3 and so on. How the hell would
you feel if you were those browsers and just ignored completely?

No, I say unto you, bend down and attend to them as if they were
thy children...

--
dorayme


Reply With Quote
  #8  
Old   
Bergamot
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 06:09 PM



dorayme wrote:
Quote:
Bergamot is a cold hearted bastard who always looks at the main
chance, the way ahead, the majority, the main game.
You don't know me at all.

Quote:
Mac IE, Netscape 4, Win IE 3 and so on. How the hell would
you feel if you were those browsers and just ignored completely?
If you paid attention, you'd notice what I said about being usable
regardless of cosmetic differences. How is that being ignored? Besides,
you can be assured that anybody still using those browsers has already
run into plenty of unusable sites. It isn't likely to be one of mine,
though.

--
Berg


Reply With Quote
  #9  
Old   
dorayme
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-03-2007 , 07:58 PM



In article <5hhqvnF3k84ffU1 (AT) mid (DOT) individual.net>,
Bergamot <bergamot (AT) visi (DOT) com> wrote:

Quote:
dorayme wrote:

Bergamot is a kindly helpful soul who thinks nothing
is too much trouble when it involves helping folks.

You don't know me at all.

Mac IE, Netscape 4, Win IE 3 and so on. How the hell would
you feel if you were those browsers and just ignored completely?

If you paid attention, you'd notice what I said about being usable
regardless of cosmetic differences. How is that being ignored? Besides,
you can be assured that anybody still using those browsers has already
run into plenty of unusable sites. It isn't likely to be one of mine,
though.
If you paid attention and got to know a little bit about cultures
beyond your shores, to read the bible in Flash format, and see
more movies and relaxed a certain wooden severity, you would not
reply thus. Don't you ever take a break from didactic discourse?
It is fine saying what you said to Mr Obviously Nice Guy Andrew.

Are you really saying that it is no big deal if something like a
table is not perfectly centred in a little used browser
considering it still appears with integrity. Well, you could
knock me down with a feather!

Do you simply not see how an old largely unused browser might
feel at being so sidelined by an author who refuses to put on a
bit of a show, a few bells and whistles _just for it_? Have you
never walked along and seen a weeping MacIE5 or WinIE5?

The other day I came across them both, huddled together for
comfort. Do you realise, in the slightest possible way, the sad
circumstances that are required to bring such an unlikely
gathering between two former proud individuals who would not
dream of seeking each other out for comfort? This is what I am
talking about when I talk about your heartlessness.

Relax Bergamot.

--
dorayme


Reply With Quote
  #10  
Old   
BobaBird
 
Posts: n/a

Default Re: Problem with conditional ie5 stylesheet - 08-04-2007 , 09:00 PM



On Sat, 04 Aug 2007 10:58:15 +1000, dorayme
<doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

Quote:
Do you simply not see how an old largely unused browser might
feel at being so sidelined by an author who refuses to put on a
bit of a show, a few bells and whistles _just for it_? Have you
never walked along and seen a weeping MacIE5 or WinIE5?
I hear there are some lonely orphaned border sides looking for
a browser to call home.
--

Charles


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.