<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Aubrière asso &#187; Tous les messages</title>
		<atom:link href="https://www.aubriereinfo.com/forums/forum/coding/css/feed/" rel="self" type="application/rss+xml" />
		<link>https://www.aubriereinfo.com/forums/forum/coding/css/feed/</link>
		<description></description>
		<pubDate>Sat, 18 Apr 2026 09:19:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.4-5380</generator>
		<language>fr-FR</language>

		
		
					
				<item>
					<guid>https://www.aubriereinfo.com/forums/topic/css-how-to/#post-219</guid>
					<title><![CDATA[CSS How To&#8230;]]></title>
					<link>https://www.aubriereinfo.com/forums/topic/css-how-to/#post-219</link>
					<pubDate>Thu, 08 May 2014 16:20:30 +0000</pubDate>
					<dc:creator>aubriere</dc:creator>

					<description>
						<![CDATA[
						<p>When a browser reads a style sheet, it will format the document according to it.</p>
<p>Three Ways to Insert CSS<br />
There are three ways of inserting a style sheet:</p>
<p>External style sheet<br />
Internal style sheet<br />
Inline style<br />
External Style Sheet<br />
An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the head section:</p>
<p>An external style sheet can be written in any text editor. The file should not contain any html tags. Your style sheet should be saved with a .css extension. An example of a style sheet file is shown below:<br />
[css]<br />
hr {color:sienna;}<br />
p {margin-left:20px;}<br />
body {background-image:url(&quot;images/background.gif&quot;);}<br />
[/css]<br />
Note Do not add a space between the property value and the unit (such as margin-left:20 px). The correct way is: margin-left:20px</p>
<p>Internal Style Sheet<br />
An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section of an HTML page, by using the</p>
<p>&nbsp;</p>
<p>Inline Styles<br />
An inline style loses many of the advantages of style sheets by mixing content with presentation. Use this method sparingly!</p>
<p>To use inline styles you use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example shows how to change the color and the left margin of a paragraph:</p>
<p style="color: sienna; margin-left: 20px;">This is a paragraph.</p>
<p>Multiple Style Sheets<br />
If some properties have been set for the same selector in different style sheets, the values will be inherited from the more specific style sheet.</p>
<p>For example, an external style sheet has these properties for the h3 selector:<br />
[css]<br />
h3{<br />
color:red;<br />
text-align:left;<br />
font-size:8pt;<br />
}<br />
[/css]<br />
And an internal style sheet has these properties for the h3 selector:<br />
[css]<br />
h3{<br />
text-align:right;<br />
font-size:20pt;<br />
}<br />
[/css]<br />
If the page with the internal style sheet also links to the external style sheet the properties for h3 will be:<br />
[css]<br />
color:red;<br />
text-align:right;<br />
font-size:20pt;<br />
[/css]<br />
The color is inherited from the external style sheet and the text-alignment and the font-size is replaced by the internal style sheet.</p>
<p>Multiple Styles Will Cascade into One<br />
Styles can be specified:</p>
<p>inside an HTML element<br />
inside the head section of an HTML page<br />
in an external CSS file<br />
Tip: Even multiple external style sheets can be referenced inside a single HTML document.</p>
<p>Cascading order</p>
<p>What style will be used when there is more than one style specified for an HTML element?</p>
<p>Generally speaking we can say that all the styles will &laquo;&nbsp;cascade&nbsp;&raquo; into a new &laquo;&nbsp;virtual&nbsp;&raquo; style sheet by the following rules, where number four has the highest priority:</p>
<p>Browser default<br />
External style sheet<br />
Internal style sheet (in the head section)<br />
Inline style (inside an HTML element)<br />
So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style defined inside thetag, or in an external style sheet, or in a browser (a default value).</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://www.aubriereinfo.com/forums/topic/css-syntax/#post-218</guid>
					<title><![CDATA[R&eacute;pondre &agrave;: CSS syntax]]></title>
					<link>https://www.aubriereinfo.com/forums/topic/css-syntax/#post-218</link>
					<pubDate>Thu, 08 May 2014 16:15:14 +0000</pubDate>
					<dc:creator>aubriere</dc:creator>

					<description>
						<![CDATA[
						<p>Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://www.aubriereinfo.com/forums/topic/css-syntax/#post-217</guid>
					<title><![CDATA[R&eacute;pondre &agrave;: CSS syntax]]></title>
					<link>https://www.aubriereinfo.com/forums/topic/css-syntax/#post-217</link>
					<pubDate>Thu, 08 May 2014 16:14:36 +0000</pubDate>
					<dc:creator>aubriere</dc:creator>

					<description>
						<![CDATA[
						<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. </p>
<p>Et harum quidem rerum facilis est et expedita distinctio.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://www.aubriereinfo.com/forums/topic/css-selectors/#post-214</guid>
					<title><![CDATA[CSS Selectors]]></title>
					<link>https://www.aubriereinfo.com/forums/topic/css-selectors/#post-214</link>
					<pubDate>Thu, 08 May 2014 16:09:24 +0000</pubDate>
					<dc:creator>aubriere</dc:creator>

					<description>
						<![CDATA[
						<p>CSS selectors allow you to select and manipulate HTML element(s).</p>
<p>CSS selectors are used to &laquo;&nbsp;find&nbsp;&raquo; (or select) HTML elements based on their id, classes, types, attributes, values of attributes and much more.</p>
<p>The element Selector<br />
The element selector selects elements based on the element name.</p>
<p>You can select all
<p> elements on a page like this: (all </p>
<p> elements will be center-aligned, with a red text color)</p>
<pre>
p{
text-align:center;
color:red;
}
</pre></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://www.aubriereinfo.com/forums/topic/css-syntax/#post-211</guid>
					<title><![CDATA[CSS syntax]]></title>
					<link>https://www.aubriereinfo.com/forums/topic/css-syntax/#post-211</link>
					<pubDate>Thu, 08 May 2014 16:06:54 +0000</pubDate>
					<dc:creator>aubriere</dc:creator>

					<description>
						<![CDATA[
						<p>CSS Syntax<br />
A CSS rule set consists of a selector and a declaration block:</p>
<p>CSS selector</p>
<p>The selector points to the HTML element you want to style.</p>
<p>The declaration block contains one or more declarations separated by semicolons.</p>
<p>Each declaration includes a property name and a value, separated by a colon.</p>
<p>CSS Example<br />
A CSS declaration always ends with a semicolon, and declaration groups are surrounded by curly brackets:</p>
<pre>p {color:red;text-align:center;}</pre>
<p>To make the CSS more readable, you can put one declaration on each line, like this:</p>
<p>Example</p>
<pre>
p{
color:red;
text-align:center;
}
</pre>
<p>Try it yourself »</p>
<p>CSS Comments<br />
Comments are used to explain your code, and may help you when you edit the source code at a later date. Comments are ignored by browsers.</p>
<p>A CSS comment starts with /* and ends with */. Comments can also span multiple lines:</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://www.aubriereinfo.com/forums/topic/introduction/#post-209</guid>
					<title><![CDATA[Introduction]]></title>
					<link>https://www.aubriereinfo.com/forums/topic/introduction/#post-209</link>
					<pubDate>Thu, 08 May 2014 16:04:36 +0000</pubDate>
					<dc:creator>aubriere</dc:creator>

					<description>
						<![CDATA[
						<p>What You Should Already Know<br />
Before you continue you should have a basic understanding of the following:</p>
<p>HTML / XHTML<br />
If you want to study these subjects first, find the tutorials on our Home page.</p>
<p>What is CSS?<br />
CSS stands for Cascading Style Sheets<br />
Styles define how to display HTML elements<br />
Styles were added to HTML 4.0 to solve a problem<br />
External Style Sheets can save a lot of work<br />
External Style Sheets are stored in CSS files<br />
CSS Demo<br />
An HTML document can be displayed with different styles: See how it works</p>
<p>Styles Solved a Big Problem<br />
HTML was never intended to contain tags for formatting a document.</p>
<p>HTML was intended to define the content of a document, like:</p>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<p>When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.</p>
<p>To solve this problem, the World Wide Web Consortium (W3C) created CSS.</p>
<p>In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.</p>
<p>All browsers support CSS today.</p>
<p>CSS Saves a Lot of Work!<br />
CSS defines HOW HTML elements are to be displayed.</p>
<p>Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!</font></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

