improved CSS for IE

svn: r6588
This commit is contained in:
Matthew Flatt 2007-06-12 07:54:26 +00:00
parent 0474eb5dba
commit 06f925e50a
3 changed files with 11 additions and 6 deletions

View File

@ -77,7 +77,7 @@
(type "text/css") (type "text/css")
(href "scribble.css") (href "scribble.css")
(title "default")))) (title "default"))))
(body ,@(render-part d ht)))]) (body (div ((class "main")) ,@(render-part d ht))))])
(install-file scribble-css) (install-file scribble-css)
(xml:write-xml/content (xml:xexpr->xml xpr))))) (xml:write-xml/content (xml:xexpr->xml xpr)))))

View File

@ -2,11 +2,16 @@
body { body {
color: black; color: black;
background-color: #ffffff; background-color: #ffffff;
max-width: 35em; font-family: Times;
text-align: center;
width: 35em;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
padding-left: 0.5em; }
font-family: Times;
.main {
width: 35em;
text-align: left;
} }
.refpara { .refpara {

View File

@ -113,7 +113,7 @@ procedure to the arguments:
(avg '(1 2 3 4)) (avg '(1 2 3 4))
] ]
As a convenience, the @scheme[apply] produce accepts additional As a convenience, the @scheme[apply] procedure accepts additional
arguments between the procedure and the list. The additional arguments arguments between the procedure and the list. The additional arguments
are effectively @scheme[cons]ed onto the argument list: are effectively @scheme[cons]ed onto the argument list:
@ -126,7 +126,7 @@ are effectively @scheme[cons]ed onto the argument list:
The @scheme[apply] procedure supports only by-position arguments. To The @scheme[apply] procedure supports only by-position arguments. To
apply a procedure with keyword arguments, use the apply a procedure with keyword arguments, use the
@scheme[keyword-apply] procedure, which accepts a procedure to apply @scheme[keyword-apply] procedure, which accepts a procedure to apply
and two lists. The first list contains contains pairs, each matching a and two lists. The first list contains pairs, each matching a
keyword with its corresponding value. The second list contains keyword with its corresponding value. The second list contains
by-position procedure arguments, as for @scheme[apply]. by-position procedure arguments, as for @scheme[apply].