Re: [WSG] CSS alignment issues

2004-12-26 Thread Bert Doorn
G'day
If you look at the homepage - http://www.e-oddie.com/ - I'm having problems
laying the content out. I'm trying to centre the image on the page both
horizontally and vertically. Then, within the panel, I'm trying to
vertically centre the text. Unfortunately I'm not achieving either and am
getting different results between IE6 and FF1.
 

vertical-align only applies to 'table-cell' elements and in some cases 
inline elements.  Putting vertical-align on a div has no effect (or is 
not supposed to)

You could trick Firefox and Opera 7.5 (and perhaps some Mac/Linux 
browsers Like Safari, Konqueror etc) by setting the html and body 
elements to 100% height, giving body a display:table and panelContainer 
a display of table-cell and vertical-align:middle.  Doesn't have 
vertical centering in MSIE but should still be usable otherwise.  I can 
email you a sample file off-list if you like.

Just  a couple of other comments if I may:
1. Have you thought about using a definition list instead of an 
unordered list with (seemingly misused) h1 and h2 elements?

2. I'd compress the background image.  Takes a long time to load on 
dial-up.  183kB for a background image is a ~bit~ much.  30-40k would be 
better and should be achievable without too much loss of quality.  

Regards
--
Bert Doorn, Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


[WSG] Site review

2004-12-26 Thread Bennie Shepherd
I've offered to redo this site http://www.g-e-t.me.uk/index.html
and have come up with this as a replacement 
http://bennieshepherd.com/garytaylor/index.html
Would like any comments on making the new version better. Thought this 
kid needed a xmas present. :o)

Happy Holidays,
Bennie
--
Get Firefox Browser
http://www.spreadfirefox.com/?q=affiliatesamp;id=6908amp;t=58
Bennie's MIDI Page
http://bennieshepherd.com/
Athens, Georgia, Relay For Life
http://www.athensrelay.net/
Montrose, Colorado, Relay For Life
http://montroserelay.com/
Grand Junction, Colorado, Relay For Life
http://grandjunctionrelay.org
LZ Friendly Veterans Org
http://lzfriendly.org
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] CSS alignment issues

2004-12-26 Thread David R
Bert Doorn wrote:
giving body a display:table and panelContainer
a display of table-cell and vertical-align:middle.  Doesn't have 
vertical centering in MSIE but should still be usable otherwise.  I can 
email you a sample file off-list if you like.
MSIE (all Windows versions, and possibly Mac too) doesn't support any of 
the display: table* properties

If it did... then we could just use display: table-cell for fluid 
columnar layouts

-David
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Site review

2004-12-26 Thread David R
Bennie Shepherd wrote:
Would like any comments on making the new version better.
Well, from a code-end viewpoint... I'd convert the nav-links into an 
unordered list (ulli)

Hmm, the code could be indented better, whilst this has no effect on the 
rendering, the code is easier to see and maintain

Not too sure about the font-style and lettering effect for the header 
though, but I'm more of a code person, than a designer

HTH
-David
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Site review

2004-12-26 Thread designer
Hi All,

- Original Message - 
From: Bennie Shepherd [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Sunday, December 26, 2004 9:34 AM
Subject: [WSG] Site review


 I've offered to redo this site http://www.g-e-t.me.uk/index.html
 and have come up with this as a replacement
 http://bennieshepherd.com/garytaylor/index.html
 Would like any comments on making the new version better. Thought this
 kid needed a xmas present. :o)

Very nice Bennie.  All you can do to finish the job is to apply the
transformation to the 'guestbook' and 'links' pages. Then you'll have a
simple but elegant site, very nicely done!

Bob McClelland,
Cornwall (U.K.)
www.gwelanmor-internet.co.uk

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] CSS alignment issues

2004-12-26 Thread designer
- Original Message - 
From: Tatham Oddie
To: wsg@webstandardsgroup.org
Sent: Sunday, December 26, 2004 7:36 AM
Subject: [WSG] CSS alignment issues


If you look at the homepage - http://www.e-oddie.com/ - I'm having problems
laying the content out. I'm trying to centre the image on the page both
horizontally and vertically. Then, within the panel, I'm trying to
vertically centre the text. Unfortunately I'm not achieving either and am
getting different results between IE6 and FF1.

--

If you use:

body, html {
 margin  : 0;
 padding  : 0;
 height  : 100%;
}
#layoutgrid{
 display  : table;
 height  : 100%;
 width  : 100%;
}
#layoutgrid td {
 vertical-align : middle;
 text-align  : center;
}

in your css, then:

table id=layoutgrid
  !-- table, as opposed to strict CSS, is needed for IE centering --
  tr
td 
  your own stuff goes here. A div, with the text inside and the
background image applied to this div, maybe? /td
  /tr
/table

in your markup, it'll work. Using that single cell table is the ONLY way I
know to get centered stuff in IE and FF without resorting to long-winded or
unreliable code.  It depends whether or not you can allow yourself the use
of a table!

HTH,

Bob McClelland,
Cornwall (U.K.)
www.gwelanmor-internet.co.uk

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] CSS alignment issues

2004-12-26 Thread Tatham Oddie
Bert,
Thanks for your help.
I managed to get the text centerred vertically within the panel in FF only,
however never managed to get the panel in the right place too. Also, even
though my subsites arew about to be covered in 'Get Firefox' warnings for IE
users, I need to be cross-browser compliant on my portal page.
If you could save a copy of the page and have a quick fiddle with the source
(the CSS is inline anyway for this page) that would be **extremely** well
appreciated. However, please don't feel pressured that this needs to happen.
As for the use of LI, H1, and H2 elements - I looked back on it and realised
that it probably was a stupid move. I only found out about DL a few weeks
ago and am taking sometime to get into the swing of using it. I've now
implemented this though and it's a much cleaner solution.
As for the background image - it's not finished yet, and I will optimize
more. Trust me, I know about dialup - I'm on it. I can't get broadband where
I am in the mountains west of Sydney.

Thanks,
Tatham

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bert Doorn
Sent: Sunday, 26 December 2004 8:25 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] CSS alignment issues

G'day

If you look at the homepage - http://www.e-oddie.com/ - I'm having problems
laying the content out. I'm trying to centre the image on the page both
horizontally and vertically. Then, within the panel, I'm trying to
vertically centre the text. Unfortunately I'm not achieving either and am
getting different results between IE6 and FF1.
  

vertical-align only applies to 'table-cell' elements and in some cases 
inline elements.  Putting vertical-align on a div has no effect (or is 
not supposed to)

You could trick Firefox and Opera 7.5 (and perhaps some Mac/Linux 
browsers Like Safari, Konqueror etc) by setting the html and body 
elements to 100% height, giving body a display:table and panelContainer 
a display of table-cell and vertical-align:middle.  Doesn't have 
vertical centering in MSIE but should still be usable otherwise.  I can 
email you a sample file off-list if you like.

Just  a couple of other comments if I may:

1. Have you thought about using a definition list instead of an 
unordered list with (seemingly misused) h1 and h2 elements?

2. I'd compress the background image.  Takes a long time to load on 
dial-up.  183kB for a background image is a ~bit~ much.  30-40k would be 
better and should be achievable without too much loss of quality.  

Regards
-- 
Bert Doorn, Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] CSS alignment issues

2004-12-26 Thread Tatham Oddie
Bob,
Thanks for your help here... I now finally have the page working how I want.
As for making the whole world FF-users, if you visit my site from any other
browser soon you will be redireted via this page:
http://www.e-oddie.com/sydneylife/GetFirefox.aspx
Hopefully that should get some more users switching.

Thanks again,
Tatham

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of designer
Sent: Sunday, 26 December 2004 11:32 PM
To: webstandards group
Subject: Re: [WSG] CSS alignment issues

Hi Tatham,

- Original Message - 
From: Tatham Oddie [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org; 'designer'
[EMAIL PROTECTED]
Sent: Sunday, December 26, 2004 12:03 PM
Subject: RE: [WSG] CSS alignment issues


 Bob,
 I really didn't want to use a table - otherwise I would have been able to
 say that there isn't a single table in the whole site. Now I'll just have
to
 talk about the sub-sites... Grr.
 Anyway, the code was a bit more complex than you posted as I had to center
 vertically the text and the block.
 I've updated the verion on http://www.e-oddie.com/ which works in IE, but
 not FF. I just can't seem to make that work. Must be having a complete
 blinder today - as I used to do everything with tables.
 Anyway, I'm telling all my users to get Firefox and I'm a Firefox user so
I
 need to work out this prob.
 Any ideas?

 Thanks,
 Tatham
---

After writing to you, I thought I'd better check out what I'd said [ :-) ]
so I knocked up this:

http://www.marscovista.fsnet.co.uk/gwelanmor/middle/centering.html

You can see how I've applied some 'content' with a background and some text,
the latter positioned with margins.  The CSS is embedded, for simplicity.
It works in FF, IE6, IE5.5, Opera  . . .

Until all the world becomes FF :-),  there emare/em times when you just
HAVE to use a table, albeit a tiny one . . .

HTH a bit more.

Bob McClelland,
Cornwall (U.K.)
www.gwelanmor-internet.co.uk

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] CSS alignment issues

2004-12-26 Thread Gary Menzel
Just a note.

The a two page article link takes you to a subscription page for the
NY Times.  I didn't subscribe - just because I usually dont subscribe
to things like that just to read a link from another page.  So it
could become counter-productive to the argument (even though it is not
really Firefox's fault).

Just a suggestion.

Regards,
Gary


On Mon, 27 Dec 2004 01:19:56 +1100, Tatham Oddie [EMAIL PROTECTED] wrote:
 Bob,
 Thanks for your help here... I now finally have the page working how I want.
 As for making the whole world FF-users, if you visit my site from any other
 browser soon you will be redireted via this page:
http://www.e-oddie.com/sydneylife/GetFirefox.aspx
 Hopefully that should get some more users switching.
 
 Thanks again,
 Tatham
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of designer
 Sent: Sunday, 26 December 2004 11:32 PM
 To: webstandards group
 Subject: Re: [WSG] CSS alignment issues
 
 Hi Tatham,
 
 - Original Message -
 From: Tatham Oddie [EMAIL PROTECTED]
 To: wsg@webstandardsgroup.org; 'designer'
 [EMAIL PROTECTED]
 Sent: Sunday, December 26, 2004 12:03 PM
 Subject: RE: [WSG] CSS alignment issues
 
  Bob,
  I really didn't want to use a table - otherwise I would have been able to
  say that there isn't a single table in the whole site. Now I'll just have
 to
  talk about the sub-sites... Grr.
  Anyway, the code was a bit more complex than you posted as I had to center
  vertically the text and the block.
  I've updated the verion on http://www.e-oddie.com/ which works in IE, but
  not FF. I just can't seem to make that work. Must be having a complete
  blinder today - as I used to do everything with tables.
  Anyway, I'm telling all my users to get Firefox and I'm a Firefox user so
 I
  need to work out this prob.
  Any ideas?
 
  Thanks,
  Tatham
 ---
 
 After writing to you, I thought I'd better check out what I'd said [ :-) ]
 so I knocked up this:
 
 http://www.marscovista.fsnet.co.uk/gwelanmor/middle/centering.html
 
 You can see how I've applied some 'content' with a background and some text,
 the latter positioned with margins.  The CSS is embedded, for simplicity.
 It works in FF, IE6, IE5.5, Opera  . . .
 
 Until all the world becomes FF :-),  there emare/em times when you just
 HAVE to use a table, albeit a tiny one . . .
 
 HTH a bit more.
 
 Bob McClelland,
 Cornwall (U.K.)
 www.gwelanmor-internet.co.uk
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 **
 **
 The discussion list for  http://webstandardsgroup.org/
 
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
 **
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] centering without hassle - was CSS alignment issues

2004-12-26 Thread designer
Hi Tatham (and all)

- Original Message - 
From: Tatham Oddie [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org; 'designer'
[EMAIL PROTECTED]
Sent: Sunday, December 26, 2004 2:19 PM
Subject: RE: [WSG] CSS alignment issues


 Bob,
 Thanks for your help here... I now finally have the page working how I
want.
 As for making the whole world FF-users, if you visit my site from any
other
 browser soon you will be redireted via this page:
 http://www.e-oddie.com/sydneylife/GetFirefox.aspx
 Hopefully that should get some more users switching.

 Thanks again,
 Tatham


I'm not trying to be 'clever' here, just helpful - but you don't need a
nested table at all. See my revised version of your page at:

http://www.marscovista.fsnet.co.uk/gwelanmor/middle/centering.html

this is xhtml 1 trans (I haven't tried strict)  and it validates. BTW, your
background really is huge - I compressed it in photoshop and it's now 39k.

This is becoming the Christmas teaser, eh? :-)

Bob McClelland,
Cornwall (U.K.)
www.gwelanmor-internet.co.uk



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Why style to IE?

2004-12-26 Thread Mordechai Peller
Something I've been thinking about: Why do people limit themselves to 
CSS which IE and handle? Lest I be misunderstood, please allow me to 
explain.

Most of IE's CSS failings can be simulated with JavaScript, so why not 
take advantage of it? For the most part, for those who wouldn't see the 
enhancements wouldn't matter for one of several reasons:

1. If they're using a audio browser, screen reader, or text browser, 
they won't see the styling anyway, so they're not a problem.

2. NN4.x and older are often fed either unstyled or lightly styled 
content, so it won't be a loss for them so long as you use proper object 
detection.

3. For those using a modern browse with JavaScript off it shouldn't 
matter since presumably their browser would be able to handle the pure CSS.

4. For IE with JavaScript blocked, as long as the page renders 
respectably, for this small segment does it really matter that they 
don't have all the bells and whistles?

5. For IE with JavaScript turned off, for the most part they are in the 
same boat as those with JavaScript blocked, except they're there by 
choice, so as long as accessibility isn't an issue, they shouldn't matter.

I've seen stats for JavaScript disabled reaching a high of around 
8%-12%. Included in these figures are people from all of the above 
groups, so I suspect that those of the fourth group (IE with JavaScript 
blocked), the only ones for whom this is even possibly an issue, are few 
and far between. While they shouldn't be ignored, there's no reason for 
them to hold us back either. Again, I'm not suggesting serving them a 
nonfunctional, nor even an unstyled page, but rather a page which is 
probably comparable to what they're getting now

I know there's a certain degree of revulsion to using JavaScript, but 
that's because it wasn't used properly. It's a very powerful language, 
and when combined with the DOM, and used responsibly, it can do many 
wonderful things.
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] CSS alignment issues

2004-12-26 Thread JohnyB
Take a look at 
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html ...

--
Jan Brasna :: alphanumeric.cz | webcore.cz | designlab.cz | janbrasna.com
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] CSS alignment issues

2004-12-26 Thread Gunlaug Sørtun
Tatham Oddie wrote:
... As for making the whole world FF-users, if you visit my site from
 any other browser soon you will be redireted via this page: 
http://www.e-oddie.com/sydneylife/GetFirefox.aspx Hopefully that 
should get some more users switching.
Be careful with that any other browser - redirect thing. It might
backfire...
Make sure you are a bit smarter than your writing indicates.
If standard-compliant browsers gets redirected, then your name will end
up on the wrong list.
Opera-/ Lynx-/ Mozilla-/ Firefox-/ Safari-user - in that order, with a
few more standard-compliant browsers on the sideline.
Sincerely
Georg
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] CSS alignment issues

2004-12-26 Thread Chris Stratford
Hey Tat,
Nice site.
One thing - don't do whats frowned upon - and design for only one browser.
Designing for just FireFox is the same as designing for just IE.
Except you are shooing yourself in 80% of your feet. (yeah, thats coz 
prob 80% of people use IE still)

I HATE when people have this on their website:
Designed for IE or Best viewed in IE etc...
Just make it work everywhere, and people will be happy no matter what.
Just a tip :)
Cheers
Tatham Oddie wrote:
Bert,
Thanks for your help.
I managed to get the text centerred vertically within the panel in FF only,
however never managed to get the panel in the right place too. Also, even
though my subsites arew about to be covered in 'Get Firefox' warnings for IE
users, I need to be cross-browser compliant on my portal page.
If you could save a copy of the page and have a quick fiddle with the source
(the CSS is inline anyway for this page) that would be **extremely** well
appreciated. However, please don't feel pressured that this needs to happen.
As for the use of LI, H1, and H2 elements - I looked back on it and realised
that it probably was a stupid move. I only found out about DL a few weeks
ago and am taking sometime to get into the swing of using it. I've now
implemented this though and it's a much cleaner solution.
As for the background image - it's not finished yet, and I will optimize
more. Trust me, I know about dialup - I'm on it. I can't get broadband where
I am in the mountains west of Sydney.
Thanks,
Tatham
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bert Doorn
Sent: Sunday, 26 December 2004 8:25 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] CSS alignment issues
G'day
 

If you look at the homepage - http://www.e-oddie.com/ - I'm having problems
laying the content out. I'm trying to centre the image on the page both
horizontally and vertically. Then, within the panel, I'm trying to
vertically centre the text. Unfortunately I'm not achieving either and am
getting different results between IE6 and FF1.
   

vertical-align only applies to 'table-cell' elements and in some cases 
inline elements.  Putting vertical-align on a div has no effect (or is 
not supposed to)

You could trick Firefox and Opera 7.5 (and perhaps some Mac/Linux 
browsers Like Safari, Konqueror etc) by setting the html and body 
elements to 100% height, giving body a display:table and panelContainer 
a display of table-cell and vertical-align:middle.  Doesn't have 
vertical centering in MSIE but should still be usable otherwise.  I can 
email you a sample file off-list if you like.

Just  a couple of other comments if I may:
1. Have you thought about using a definition list instead of an 
unordered list with (seemingly misused) h1 and h2 elements?

2. I'd compress the background image.  Takes a long time to load on 
dial-up.  183kB for a background image is a ~bit~ much.  30-40k would be 
better and should be achievable without too much loss of quality.  

Regards
 


--

Chris Stratford
[EMAIL PROTECTED]
http://www.neester.com


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] CSS alignment issues

2004-12-26 Thread David R
Tatham Oddie wrote
If you look at the homepage - http://www.e-oddie.com/ - I'm having problems
laying the content out. I'm trying to centre the image on the page both
horizontally and vertically. Then, within the panel, I'm trying to
vertically centre the text. Unfortunately I'm not achieving either and am
getting different results between IE6 and FF1.
Negative Margins to the rescue!
See if this helps:
http://www.wpdfd.com/editorial/thebox/deadcentre4.html
:)
-David
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


RE: [WSG] CSS alignment issues

2004-12-26 Thread Tatham Oddie
Gunlaug,

Not sure what you mean by: then your name will end up on the wrong list.
Besides that, I'm a reasonably active Firefox evangelist, not just a
standards evangelist. I'm tossing up on allowing other standards compliant
browsers and it will probably end up heading that way with your suggestion.
Obviously I won't redirect audio browsers (have a blind mate who uses the
site and helps me test accessability).
Would you be happy if I do this:
Opera:  'Get Firefox' button in page footers
Lynx:   'Get Firefox' button in page footers
Mozilla:'Get Firefox' button in page footers
Firefox:Nothing
Safari: 'Get Firefox' button in page footers
Other:  Forced redirect via GetFirefox.aspx

Tatham
www.e-oddie.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Gunlaug Sørtun
Sent: Monday, 27 December 2004 3:25 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] CSS alignment issues

Tatham Oddie wrote:
 ... As for making the whole world FF-users, if you visit my site from
  any other browser soon you will be redireted via this page: 
 http://www.e-oddie.com/sydneylife/GetFirefox.aspx Hopefully that 
 should get some more users switching.

Be careful with that any other browser - redirect thing. It might
backfire...

Make sure you are a bit smarter than your writing indicates.
If standard-compliant browsers gets redirected, then your name will end
up on the wrong list.

Opera-/ Lynx-/ Mozilla-/ Firefox-/ Safari-user - in that order, with a
few more standard-compliant browsers on the sideline.

Sincerely
Georg


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] CSS alignment issues

2004-12-26 Thread Iain Gardiner
Hi Tatham,

While I agree that more people should use better browsers (I have used
Firefox for a long time now), I think forcibly redirecting users away from
your content is at best sanctimonious and at worst odious.  It is of course
your choice but it's important to remember that other people have the
freedom of choice too.

If you design to Firefox to the point of having a layout totally broken in
anything else, I say let people see it broken and draw their own conclusions
about whether they should upgrade or not.

Just my two penn'orth.  :)

Iain

--
Iain Gardiner
http://www.firelightning.com


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tatham Oddie
Sent: 26 December 2004 23:10
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] CSS alignment issues


Gunlaug,

Not sure what you mean by: then your name will end up on the wrong list.
Besides that, I'm a reasonably active Firefox evangelist, not just a
standards evangelist. I'm tossing up on allowing other standards compliant
browsers and it will probably end up heading that way with your suggestion.
Obviously I won't redirect audio browsers (have a blind mate who uses the
site and helps me test accessability). Would you be happy if I do this:
Opera:  'Get Firefox' button in page footers
Lynx:   'Get Firefox' button in page footers
Mozilla:'Get Firefox' button in page footers
Firefox:Nothing
Safari: 'Get Firefox' button in page footers
Other:  Forced redirect via GetFirefox.aspx

Tatham
www.e-oddie.com


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] centering without hassle - was CSS alignment issues

2004-12-26 Thread Tatham Oddie
Bob,
Ok... you win. Page is now fixed.
Thanks for your help on this issue - this one page turned out more complex
than most of the entire redesign.

Thanks,
Tatham
www.e-oddie.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of designer
Sent: Monday, 27 December 2004 2:10 AM
To: wsg@webstandardsgroup.org
Subject: [WSG] centering without hassle - was CSS alignment issues

Hi Tatham (and all)

- Original Message - 
From: Tatham Oddie [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org; 'designer'
[EMAIL PROTECTED]
Sent: Sunday, December 26, 2004 2:19 PM
Subject: RE: [WSG] CSS alignment issues


 Bob,
 Thanks for your help here... I now finally have the page working how I
want.
 As for making the whole world FF-users, if you visit my site from any
other
 browser soon you will be redireted via this page:
 http://www.e-oddie.com/sydneylife/GetFirefox.aspx
 Hopefully that should get some more users switching.

 Thanks again,
 Tatham


I'm not trying to be 'clever' here, just helpful - but you don't need a
nested table at all. See my revised version of your page at:

http://www.marscovista.fsnet.co.uk/gwelanmor/middle/centering.html

this is xhtml 1 trans (I haven't tried strict)  and it validates. BTW, your
background really is huge - I compressed it in photoshop and it's now 39k.

This is becoming the Christmas teaser, eh? :-)

Bob McClelland,
Cornwall (U.K.)
www.gwelanmor-internet.co.uk



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] The Relative Position story and the browser Incompatibility

2004-12-26 Thread berry
(At the end of the email you will find the script to play with inside the
other browser to see if it has the same problem as describe below)

If mozilla is a child of  Netscape, the son makes a lot of progress since
his birth and some Netscape errors have been forgotten but they are still
their.  Do not think that Mozilla will work the same way as Netscape. Since
now their was not big difference between, mozilla and Netscape except  that
Netscape considers nodeText as an indenpend box( In javascript if you click
on a text, Netscape will not detect its parent as Mozilla and other browser
did) but this I afternoon I had a big surprise.

The Netscape 7.0 and IE 5.1 bug on Mac.

I discover today that Netscape doesn't know how to manage object with
position relative inside object with relative position wich contain or not
contain float element. The result is  unpredictable. The width is changing,
even if it has a fix size,  when you change de margin-left of the inside
element.
When you change de margin-top the position change depending if the float
box is present or not. If it present the margin is set the right way, if
not the object sart to move in an unpredictable manner.
Padding of the parent affect margin of  the child. The margin start working
at the moment we add the parent padding.
MarginTop of the parent and of the child  depends of the margin of  the
other child and parent. You are not able to set them independently.
Naturally, this will not happend I presume with FireFox.
Mac IE seems to react the right way but IE is not able to manage the
relative box wich is inside an other box if there is a float.  The float
have an impact on the size of the box except if we move it down from one or
more pixel.


The Mozilla 1.3 problem-  Firefox ?

In Mozilla 1.3  Relative element inside other relative element don't let us
change the margin-top of the child. All are inter-dependent.  Worst, The
size of  the child margin-top change the position of the parent if only the
size is greater than the parent.  Exemple If the parent have a margin-top
of 50px the child must have 55px to let the parent and all the child to
move down from 5px. Just the margin-top of the parent is changing. The
child stay at the top level of their parent. I presume that it has been
change in Firefox(let me know).
In IE mac there is no problem it works properly.

I presume the right behavior is that the margin don't dependent of their
parents margin isn't it?  (Taking off position relative change nothing).
Then what will we do if we start to manage complex pages?  The browsers are
still giving us headhache.

Berry

style type=text/css
#XOObjet0 { background-color: rgb(204,204,204); }

#XOObjet1 { background-color: black; margin-left: 10px; }

#XOObjet2 { background-color: rgb(204,195,51); margin-left: 0px; }

#XOObjet3 { margin-top:50px; padding-top:10px;  background-color:
rgb(255,195,51);  }

#XOObjet4 { background-color: blue;  margin-top:10px; margin-left:100px;}

#XOObjet5 { background-color: red; margin-top:30px;   }
/style


script type=text/javascript/script/head

body

div id=XOObjet1 style= position:absolute; height:200px; width:200px

   div id=XOObjet3 style= position:relative; height:100px; width:50px

   div id=XOObjet0 style=float:right;  height: 50px;  width:50px /div

  div id=XOObjet4 style=position:relative;  height:60px;  width:60px

  div id=XOObjet5 style=position: relative;  height: 20px;
width:20px /div

/div

   /div

   /div


/body/html









**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Content box not stretching as expected

2004-12-26 Thread Jonathan T. Sage
page is :

http://www.wooster.edu/ohiolightopera/NEW/index.php

browser is either firefox or IE6 (not tested yet in others, but should
be mostly ok).  this page displays as intended.  but:

http://www.wooster.edu/ohiolightopera/NEW/2005-schedule.php

that page does not.  ideally the content of the page should be truly
centered, but I have been unsuccsessful in making #content the full
width of the page.

any help would be wonderful, thanks much

~j


-- 
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] CSS alignment issues

2004-12-26 Thread Gunlaug Sørtun
Tatham Oddie wrote:
Not sure what you mean by: then your name will end up on the wrong 
list. Besides that, I'm a reasonably active Firefox evangelist, not 
just a standards evangelist. I'm tossing up on allowing other 
standards compliant browsers and it will probably end up heading that
 way with your suggestion. Obviously I won't redirect audio browsers
 (have a blind mate who uses the site and helps me test 
accessability).
Tatham,
How many buttons you have on your pages, and what browser(s) you
promote, is up to you. I'll have no problems whatsoever with that.
Personally, I'll use one that points here: http://browsehappy.com/ , and
leave the rest to the visitor(s).
If a web page doesn't work in some browser - then it doesn't work in
some browser. That doesn't bother me if it doesn't bother the creator /
owner. We have discussion-lists like WSG, css-d and others for those
cases - if needed and wanted.
Forced redirect ... is not a good idea. It doesn't promote anything, and
it is not very accessible either.
BTW: voice-alternatives are often built into or on top of ordinary
browser-solutions. The same with many other accessibility-options.
Browser-id's doesn't say much in many such cases.
I also have friends with need of accessibility-options, and they use all
kinds of solutions. My approach is to give them access, and improve on
things - if I can... within standards - if they exists...
The wrong list is a s/he don't care - don't bother - delete
everything list. I call it the house on fire list.
http://www.gunlaug.no/contents/molly_1_02.html
I think we all have one of those lists (somewhere), and it's so easy to
end up on one. It is just as easy to stay on the right lists, so why
complicate things when a simple button or something of that nature will
do? From there you can take your preferences to whatever heights you
might like, and visitors can agree or disagree with you all they like. I
think that's a more healthy, and much more standard-promoting, approach
than redirect.
CSS is fun - can I have another browser-bug, please...
Georg
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Content box not stretching as expected

2004-12-26 Thread Mordechai Peller
Jonathan T. Sage wrote:
ideally the content of the page should be truly
centered, but I have been unsuccsessful in making #content the full
width of the page.
In Firefox, #content{right:0} works, but it didn't seem to work in IE 
(which is what I unfortunately expected). The best solution, therefor, 
is not to used absolute positioning for everything; your layout is 
simple enough to easily work without it. Perhaps just position #linklist 
and give #content a left margin;

Also, the background color of your images and the content area didn't 
match. Ending the background image at the edge of the divider should 
solve that problem.

**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**