Development

Changeset 11780

You must first sign up to be able to contribute.

Changeset 11780

Show
Ignore:
Timestamp:
09/25/08 14:31:35 (2 months ago)
Author:
halfer
Message:

Add CSS, improve MySQL instructions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/tutorial/my-first-project.txt

    r11742 r11780  
    123123and then create the database with the command line or a web interface (as described in 
    124124the [model chapter](http://www.symfony-project.org/book/1_1/08-Inside-the-Model-Layer)). 
     125Then, open `sf_sandbox/config/databases.yml` and set 'phptype' to 'mysql', and 'database' 
     126to the name of your MySQL database. 
    125127 
    126128>**Caution** 
     
    194196      } 
    195197    } 
     198 
     199Lastly, add the following CSS to `sf_sandbox\web\css\main.css`: 
     200 
     201    body, td 
     202    { 
     203        font-family: Arial, Verdana, sans-serif; 
     204        font-size: 12px; 
     205    } 
     206         
     207    td { margin: 4px; padding: 4px; } 
    196208 
    197209Now, feel free to create some new posts to make the blog look less empty. 
     
    231243 
    232244    [php] 
    233     <div id="container" style="width:600px;margin:0 auto;border:1px solid grey;padding:10px"> 
     245    <div id="container" style="width:700px;margin:0 auto;border:1px solid grey;padding:10px"> 
    234246      <div id="navigation" style="display:inline;float:right"> 
    235247        <ul>