CSS Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.Anti-spam check. Do not fill this in! ===Whitespace=== The whitespace between properties and selectors is ignored. This code snippet: <syntaxhighlight lang="CSS"> body{overflow:hidden;background:#000000;background-image:url(images/bg.gif);background-repeat:no-repeat;background-position:left top;} </syntaxhighlight> is functionally equivalent to this one: <syntaxhighlight lang="CSS"> body { overflow: hidden; background-color: #000000; background-image: url(images/bg.gif); background-repeat: no-repeat; background-position: left top; } </syntaxhighlight> ====Indentation==== {{Main|Indentation style}} One common way to format CSS for readability is to indent each property and give it its own line. In addition to formatting CSS for readability, shorthand properties can be used to write out the code faster, which also gets processed more quickly when being rendered:<ref name="Mozilla Developers">{{cite news |url=https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties |title=Shorthand properties |work=Tutorial |publisher=Mozilla Developers |date=2017-12-07 |access-date=2018-01-30 |archive-url=https://web.archive.org/web/20180130204516/https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties |archive-date=2018-01-30 |url-status=dead }}</ref> <syntaxhighlight lang="CSS"> body { overflow: hidden; background: #000 url(images/bg.gif) no-repeat left top; } </syntaxhighlight>Sometimes, multiple property values are indented onto their own line:<syntaxhighlight lang="css"> @font-face { font-family: 'Comic Sans'; font-size: 20px; src: url('first.example.com'), url('second.example.com'), url('third.example.com'), url('fourth.example.com'); } </syntaxhighlight> Summary: Please note that all contributions to Christianpedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Christianpedia:Copyrights for details). Do not submit copyrighted work without permission! Cancel Editing help (opens in new window) Discuss this page