![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
img src="test_img.jpg" style="clip: rect(10px 10px 10px 10px)" alt="alt" The 'clip' property applies to elements that have a 'overflow' property with a value other than 'visible'. 'overflow' Value: visible | hidden | scroll | auto | inherit Initial: visible |
#3
| |||
| |||
|
|
*Jeff Thies* <nospam (AT) nospam (DOT) net>: img src="test_img.jpg" style="clip: rect(10px 10px 10px 10px)" alt="alt" | The 'clip' property applies to elements that have a 'overflow' property | with a value other than 'visible'. |
#4
| |||
| |||
|
|
P.S.: Inline styles are evil. |
#5
| |||
| |||
|
|
On Wed, 29 Oct 2003 14:35:01 +0100, Christoph Paeper P.S.: Inline styles are evil. "Not often appropriate", I'd grant you, but evil? |
#6
| |||
| |||
|
|
One practical con is that Opera keeps inline styles even in user mode. Although that is (or was?) a browser bug |
#7
| |||
| |||
|
|
*Stephen Poley* <sbpoley (AT) xs4all (DOT) nl>: On Wed, 29 Oct 2003 14:35:01 +0100, Christoph Paeper P.S.: Inline styles are evil. "Not often appropriate", I'd grant you, but evil? Show me _one_ valid use case that isn't quick'n'dirty CSS testing. |
|
One practical con is that Opera keeps inline styles even in user mode. Although that is (or was?) a browser bug, it's one more reason not to use the 'style' attribute. |
#8
| ||||
| ||||
|
|
On Fri, 31 Oct 2003 01:47:33 +0100, Christoph Paeper *Stephen Poley* <sbpoley (AT) xs4all (DOT) nl>: On Wed, 29 Oct 2003 14:35:01 +0100, Christoph Paeper P.S.: Inline styles are evil. "Not often appropriate", I'd grant you, but evil? |

|
Show me _one_ valid use case that isn't quick'n'dirty CSS testing. Any style which is appropriate to one particular place on one particular page. |
|
For example where an em of bottom margin on one particular element makes the page look more attractive, |
|
Or a page discussing colour combinations, which gives a few examples. |
#9
| |||
| |||
|
|
*Stephen Poley* <sbpoley (AT) xs4all (DOT) nl>: On Fri, 31 Oct 2003 01:47:33 +0100, Christoph Paeper *Stephen Poley* <sbpoley (AT) xs4all (DOT) nl>: On Wed, 29 Oct 2003 14:35:01 +0100, Christoph Paeper P.S.: Inline styles are evil. "Not often appropriate", I'd grant you, but evil? Now the educational worth of my initial comment is diminishing due to this discussion. ![]() "Evil" may be exaggregating, but "considered harmful" is considered harmful |
|
and "I don't like them" very subjective. |
![]() |
| Thread Tools | |
| Display Modes | |
| |