Articles

Affichage des articles du 2007

Feuilles de Styles en Cascade

CSS A CSS rule-set consists of a selector and a declaration block. The selector points to the HTML element you want to style. The declaration block contains one or more declarations separated by semicolons. Each declaration includes a CSS property name and a value, separated by a colon. A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces. In the following example all <p> elements will be center-aligned, with a red text color: <code> p { color: red; text-align: center; } </code> ===== CSS selectors ===== ==== The element Selector ==== The element selector selects elements based on the element name. <code> p { color: red; text-align: center; } </code> ==== The id Selector ==== The id selector uses the id attribute of an HTML element to select a specific element. The id of an element should be unique within a page, so the id selector is used to select one unique element! To select an element with a specific id

Base de Données SQL Server

Modification des options et reconfiguration forcée du serveur EXEC sp_configure 'show advanced options', 1 RECONFIGURE WITH OVERRIDE EXEC sp_configure 'xp_cmdshell', 1 RECONFIGURE WITH OVERRIDE Detection des verrous <code> select cmd, *  from sys.sysprocesses where blocked > 0 </code> ===== Liste des tables ===== <code>    SELECT       name     FROM        sysobjects     WHERE       type='U'     AND        name LIKE '%'     ORDER BY        name ASC </code> ===== Liste des vues, commençant par VRAT_ et order by nasme ASC ===== <code>    SELECT       name     FROM        sysobjects     WHERE       type='V'     AND        name LIKE 'VRAT_%'     ORDER BY        name </code> ===== Selectionne la structure d'une vue ===== <code> select     v.name, col.name NAME_COLUMN, typUser.name TYPE_COLUMN, col.max_length    from     sys.columns col     inner join sys.views v on col.object_id = v.object_id