HighDots Forums  

Re: Welcome to 'ciwas',this is our FAQ for stylesheet authors v1.15

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


Discuss Re: Welcome to 'ciwas',this is our FAQ for stylesheet authors v1.15 in the Cascading Style Sheets forum.



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

Default Re: Welcome to 'ciwas',this is our FAQ for stylesheet authors v1.15 - 02-02-2004 , 08:43 AM






In article Jan Roland Eriksson wrote:

Long time last seen this. Are you really back?

Quote:
Maintainer: Jan Roland Eriksson <rex (AT) css (DOT) nu
CC'd to that address.

Quote:
ciwas stylesheet authoring FAQ v1.15
00: ===== T O C =====
....
Quote:
13: Where can I find the latest version of this FAQ ?
14: Is this FAQ available in other languages ?
15: Why there is too much whitespace or a line break? I can't find my
error.

A: Most likely because margin-collapsing. Vertical margins in normal flow
collapse. Including margins of parent and child element, unless there is
some padding or border inbetween.

Either remove all margins in spot, or have some border or padding in
between margins to stop collapsing.

16: How do I center something using CSS?

Horizontally:

- If what you want to center is block element (p div table etc.), set
margin:auto; of course, it needs to have limited width, as you can't
center thing that is as wide as content.

- If you want to center inline content, set text-align:center to *parent
element*.

More, including problems in some browsers at
http://dorward.me.uk/www/centre/

Vertically:

- If your content is inside table-cell, element with display:table-cell
use vertical-align:middle for it.

- If you want to center it compared to line box, use
vertical-align:middle for element you wish to center.

- If you want to center block element in block element, you can set some
fixed height and position:relative for parent, and
position:absolute;margin:auto;top:0;bottom:0 for child. Remember also use
min-height for parent if you use different units when setting height of
parent and child.

Vertical centering is is something that browsers don't get right.
Some more about vertical centering, including 3 more ways to do it, at:
http://www.iki.fi/lr/www/css/middle/

Quote:
02: ===== Q & A =====

Q: Why shouldn't I use fixed sized fonts ?

Suggested reading material...
http://css.nu/articles/font-analogy.html
http://www.xs4all.nl/~sbpoley/webmatters/fontsize.html

Quote:
04: ===== Q & A =====

Q: Why is my external stylesheet not working ?

A: There may be several different reasons behind that, but one very

Browser support for CSS varies and a good place to find out more
about what is or is not supported is "The Mastergrid"...
http://www.webreview.com/style/css1/...stergrid.shtml
It is not there anymore, I can't remember current place. Anyway, IIRC it
is very outdated

Quote:
06: ===== Q & A =====

Q: Why does Netscape lose my styles ?

A: Netscape 4.x has poor support for CSS. Having said that, the
following points should be noted.
http://www.xs4all.nl/~sbpoley/webmatters/netscape4.html

Quote:
Johannes Koch describes svereal methods that can be used to
isolate certain browsers from CSS rules that are supported less
than good...
http://pixels.pixelpark.com/~koch/hi...from_browsers/
Now here:
http://w3development.de/css/hide_css_from_browsers/

This is propably most up to date:
http://css-discuss.incutio.com/?page=CssHack

Quote:
09: ===== Q & A =====

Q: Why is it my ':hover' declaration for links does not work ?
Remember, that a:hover applies to all a elements, including <a
name=""></a>.

- I think it was quite up to date. Still missing: "How do I make 2(3,4,5)
column layout?" and "I made 2(3,4,5) column layout but can't get columns
as high?"


It is surprising how many of these are still frequently asked. And how
well this FAQ still answers them.


--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.



Reply With Quote
  #2  
Old   
Jan Roland Eriksson
 
Posts: n/a

Default Re: Welcome to 'ciwas',this is our FAQ for stylesheet authors v1.15 - 02-02-2004 , 10:27 AM






On Mon, 2 Feb 2004 15:43:21 +0200, Lauri Raittila
<lauri (AT) raittila (DOT) cjb.net> wrote:

Quote:
In article Jan Roland Eriksson wrote:

Long time last seen this. Are you really back?
I sure am. I moved back home to Sweden for last Christmas and have spent
January to get my self settled in at home again.

Quote:
It is surprising how many of these are still frequently asked. And how
well this FAQ still answers them.
Thanks; and another thanks for additional suggestions. I agree that the
FAQ-list is a bit dated at present but I have been doing other things
for the last year and a half and have not had much time available to
keep it updated.

Since October 2002 my time has been spent here...

<http://www.northamericanstainless.com>

....at the bottom of that picture there is Ohio River and the NAS harbour
installation. Straight above the harbour is a 400m long building that
did not exist in October 2002.

Today it is standing there, containing the worlds most modern hot
rolling mill for stainless steel wire and bars. All production
equipment, mechanical and electrical (3200 tons total) imported into the
US from Europe and installed on site under supervision of at times up to
some 40 supervisors of Swedish, Spanish and Italian origin.

My job was as "site manager" for the installation, supervision, operator
training and startup of all that imported equipment.

This new rolling mill is up and running now and my job is done. I will
find time to rework and update the FAQ-list from now on as I see it.

All the best to the NG...

--
Jan Roland Eriksson .. <rex (AT) css (DOT) nu> .. <http://css.nu>


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.