Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Center Forum Posts.

Talk:Center Forum Posts: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
Line 1: Line 1:
Would anything like this, setting the '''max wide''', be possible for 'source' 'webpages'.
And could it possibly be something like. I would me trilled (but I am far from a CSS writing expert)
Except for your first test, the unit to use together with max-width is the EM
unit, the most import unit in web design. Most browsers use 12pt=16px=1em as
default font-size. If we want short lines, let us say 500px wide, we just have
to set max-width to 31em (496px) or 32em (512px). If needed, different
max-widths can be used on the same page, or even max-width and wall-to-wall.
Browsers like Mozilla and Opera support the MAX-WIDTH property. MSIE does not
support max-width yet but that is not a problem. It is easy to make a JavaScript
for MSIE that simulates all the great virtues of max-width. This JavaScript is
necessary anyway to accommodate old versions of MSIE the GREAT DAY a new version
of IE has implemented max-width.
Source: http://markmail.org/message/oqf62b6tni65mp7w
Subject: Max-width and flexible design Actions...
From: Jesper Tverskov (jesp...@mail.tele.dk)
And more on the subject!
http://www.smackthemouse.com/20031007
http://www.456bereastreet.com/archive/200803/specify_a_maximum_width_for_embased_layouts/
----
Urs, its not a breadcrumb, it's a navigation bar! :-) [[User:SamuliK|SamuliK]] 6 December 2005 07:05 (WST)
Urs, its not a breadcrumb, it's a navigation bar! :-) [[User:SamuliK|SamuliK]] 6 December 2005 07:05 (WST)



Revision as of 12:07, 15 May 2009

Would anything like this, setting the max wide, be possible for 'source' 'webpages'. And could it possibly be something like. I would me trilled (but I am far from a CSS writing expert)

Except for your first test, the unit to use together with max-width is the EM unit, the most import unit in web design. Most browsers use 12pt=16px=1em as default font-size. If we want short lines, let us say 500px wide, we just have to set max-width to 31em (496px) or 32em (512px). If needed, different max-widths can be used on the same page, or even max-width and wall-to-wall. Browsers like Mozilla and Opera support the MAX-WIDTH property. MSIE does not support max-width yet but that is not a problem. It is easy to make a JavaScript for MSIE that simulates all the great virtues of max-width. This JavaScript is necessary anyway to accommodate old versions of MSIE the GREAT DAY a new version of IE has implemented max-width.

Source: http://markmail.org/message/oqf62b6tni65mp7w Subject: Max-width and flexible design Actions... From: Jesper Tverskov (jesp...@mail.tele.dk)

And more on the subject!

http://www.smackthemouse.com/20031007

http://www.456bereastreet.com/archive/200803/specify_a_maximum_width_for_embased_layouts/



Urs, its not a breadcrumb, it's a navigation bar! :-) Samuli Karevaara 6 December 2005 07:05 (WST)

Samuli, thank you. Right, the div is called navbar. --Urs Hunkler 6 December 2005 07:30 (WST)

I changed the image. --Urs Hunkler 6 December 2005 08:07 (WST)