Topic: css background note |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: raht cheah |
posted 08-22-2005 04:52
.top p {background:transparent url('bg.gif') no-repeat top right;} |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-22-2005 08:48 |
Maniac (V) Inmate From: raht cheah |
posted 08-22-2005 09:34 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-23-2005 03:37 |
Maniac (V) Inmate From: Cell 666 |
posted 08-23-2005 18:51 |
Maniac (V) Inmate From: under the bed |
posted 08-23-2005 19:03
Of course being anal about it, and being correct about it don't always go hand in hand |
Maniac (V) Inmate From: raht cheah |
posted 08-23-2005 22:01
code: body { color : black; }
|
Paranoid (IV) Inmate From: Florida |
posted 08-23-2005 23:31
Nowadays I do this: code: body { color: black; }
code: body { color: black; } |
Bipolar (III) Inmate From: Kansas City, MO , USA |
posted 08-24-2005 00:02 |
Bipolar (III) Inmate From: f(x) |
posted 08-24-2005 01:03
If it's inline: code: body{ color:black; }
code: body{ color:black; }
|
Maniac (V) Inmate From: under the bed |
posted 08-24-2005 03:56
code: body { color:#000; } |
Bipolar (III) Inmate From: New England |
posted 08-24-2005 04:48
code: body { color: #000; }
|
Maniac (V) Inmate From: raht cheah |
posted 08-24-2005 04:53 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-24-2005 06:24
code: body { color: #000; }
|
Maniac (V) Inmate From: raht cheah |
posted 08-24-2005 06:31 |
Bipolar (III) Inmate From: New England |
posted 08-24-2005 07:11 |
Maniac (V) Inmate From: raht cheah |
posted 08-24-2005 08:43 |
Paranoid (IV) Inmate From: London |
posted 08-24-2005 12:43
I'm the same as reisio's first example, it just seems to make sense as most of the time I'll apply more than one property to a selector, if they're all on one line then they're harder to read and edit. |
Maniac (V) Inmate From: under the bed |
posted 08-24-2005 14:06
Oops, my spacing didn't go through the right way - I set it up just like briggl has it. I tab over one tab for the brackets, so if the selector is longer than one tab length, I add a carriage return, so all of my brackets are always vertically aligned, along with the left edge of all the attributes. |