Previous Message
Next Message

table to CSS

Sent by Mike on 29 September 2004 17:05


At 03:44 PM 9/29/2004 +0100, Alex Robinson wrote:
>http://www.fu2k.org/alex/css/cssjunk/AmericanHistory.html
>
>A diverting enough way to while away a couple of minutes.
>
>NB. I've styled the html and body element to create the outer "table". You 
>might want to use a wrapper div instead. The net result should be the same.
>
>I've fudged the table-style coloring of the borders with very approximate 
>colours. You might want to refine these colours - or just use solid ones.

WOW!

But - a coupla questions:
----------

Is this preferable to what I used? Should I use it in all my headers?
Yours:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Mine:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
----------

What is this for: /* <![CDATA[ */
-------
I could not find out any web info on styling the html element:

html
         {
         background: #ffffff;
         margin: 2em;
         }
--------------

What is this for: /* ]]> */

Many thanks,
-Mike



______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: