Stephen Kortz wrote:
> I am a bit confused about: style. Take the following statement: <body
> style="margin-top; 200px"> From my reading, I understand that this
> html element, "style" has been deprecated. Is this true or have I
> misinterpreted the information?
Inline styles are not deprecated, but should be avoided since we usually
want to keep styles separated from source-code/content.
Note that inline style has the highest specificity there is, and can in
very rare cases "save the day".
> Second, how would I go about replacing this html version of "style"
> into a proper CSS rule to use in my document?
From your example:
body {
margin-top: 200px;
}
...should be it.
(oh, and your example wouldn't work at all, since there is an ';'
instead of an ':' in there.)
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/