G'day,

Thanks.

I can understand that in theory but I do not know how to put it into practice.

Robin Chapple

At 23/04/2011 05:34 PM, you wrote:
Hi
I think you have to create a div inside the body tag and assign the width attribute to it.

Manuel Molina

-----Mensaje original----- From: Robin Chapple
Sent: Saturday, April 23, 2011 8:45 AM
To: css-d@lists.css-discuss.org
Subject: [css-d] Using CSS to control width of page.

This is my first attempt at CSS for control of page display.
Previously I used tables and CSS for the text,

How do I set a width limit for anything that appears on a page.

I tried this which does not work:

body {
font-family:  Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #880000;
background: White;
valign:top;
width: 800px
}

Many thanks,

Robin Chapple


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

---------------------------------------------------------------------------------------------------
Texto añadido por Panda GP 2011:

Este mensaje NO ha sido clasificado como SPAM. Si se trata de un mensaje de correo no solicitado (SPAM), haz clic en el siguiente vínculo para reclasificarlo: http://localhost:6083/Panda?ID=pav_407&SPAM=true&path=C:\Windows\system32\config\systemprofile\AppData\Local\Panda%20Security\Panda%20Global%20Protection%202011\AntiSpam ---------------------------------------------------------------------------------------------------



______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to