![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
In article <13j5b6j72c0ahfc (AT) corp (DOT) supernews.com>, mbstevens <NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote: Nik Coughlin wrote: I believe that this is the minimum amount of markup necessary to achieve this effect Would love to be proven wrong.Is the effect worth the internal complexity? Depends on how you count it. It only has to be done once by the author, and from then on it can give multiple pleasure. On principle, this may well be worth it. |
|
Forcing markup like this: div class="hr"><div><div><hr></div></div></div is just unsemantic, even though it is technically valid. This is yet another issue. But, given that there are limitations in browser implementations of some css where this sort of thing can be more easily done in a kosher manner, it is very severe to never fall to temptation. Perhaps it is an area where a little individual choice might be allowable. |
#12
| |||
| |||
|
|
dorayme wrote: In article <13j5b6j72c0ahfc (AT) corp (DOT) supernews.com>, mbstevens <NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote: Nik Coughlin wrote: I believe that this is the minimum amount of markup necessary to achieve this effect Would love to be proven wrong.Is the effect worth the internal complexity? Depends on how you count it. It only has to be done once by the author, and from then on it can give multiple pleasure. On principle, this may well be worth it. I'll have to trust others reports that it gives them pleasure. Like the often seen attempts at rounded box corners, it looks mid-90s kitschy to me, but as you say below, individual choice might be allowable. |
#13
| |||
| |||
|
|
I believe that this is the minimum amount of markup necessary to achieve this effect Would love to be proven wrong.Is the effect worth the internal complexity? Depends on how you count it. It only has to be done once by the author, and from then on it can give multiple pleasure. On principle, this may well be worth it. |
|
Forcing markup like this: div class="hr"><div><div><hr></div></div></div is just unsemantic, even though it is technically valid. This is yet another issue. But, given that there are limitations in browser implementations of some css where this sort of thing can be more easily done in a kosher manner, it is very severe to never fall to temptation. Perhaps it is an area where a little individual choice might be allowable. |
#14
| |||
| |||
|
|
Also, this universal selector rule * { margin: 0; padding: 0; } is a clear sign of over-declaring, over-defining. The use of the universal selector is very rarely recommendable and is discouraged by many CSS gurus. |
|
By removing all margin and padding on all elements, you are later force to add them back almost everywhere (for almost all elements like p, li, headings, etc) instead of relying on browser default declarations. I personally never do that and I certainly do not encourage that practice because it invariably lead to over-declaring, over-defining. |
#15
| |||
| |||
|
|
I am halfway through writing a tutorial on image slicing for fluid CSS layouts, I would love some feedback on what I've done up until this point: http://nrkn.com/index.html |
#16
| |||
| |||
|
|
Forcing markup like this: div class="hr"><div><div><hr></div></div></div is just unsemantic, even though it is technically valid. |
#17
| |||
| |||
|
|
Web Page Development: Best Practices Classitis and Divitishttp://developer.apple.com/internet/webcontent/bestwebdev.html |
#18
| |||
| |||
|
|
In article <13j5f4djrkk9213 (AT) corp (DOT) supernews.com>, mbstevens <NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote: dorayme wrote: In article <13j5b6j72c0ahfc (AT) corp (DOT) supernews.com>, mbstevens <NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote: Nik Coughlin wrote: I believe that this is the minimum amount of markup necessary to achieve this effect Would love to be proven wrong.Is the effect worth the internal complexity? Depends on how you count it. It only has to be done once by the author, and from then on it can give multiple pleasure. On principle, this may well be worth it. I'll have to trust others reports that it gives them pleasure. Like the often seen attempts at rounded box corners, it looks mid-90s kitschy to me, but as you say below, individual choice might be allowable. One has to abstract from the individual implementations. The argument might be on a higher level, namely, are all designs that stretch and bend and flex various things that cannot be so easily done 'purely', to be ruled out of order on grounds of a semantic ideal, is semantic purity in web matters such a very strong and clear concept that it can bear the weight of such strictness? So weighty and poignant are these questions that I urge a humbleness before them, a patience from rushing to judgement. |
#19
| |||
| |||
|
|
On Nov 7, 11:44 pm, "Nik Coughlin" <nrkn.... (AT) gmail (DOT) com> wrote: I am halfway through writing a tutorial on image slicing for fluid CSS layouts, I would love some feedback on what I've done up until this point: http://nrkn.com/index.html Nice tutorial, I like the layered header idea. Of course you make the assumption that the header graphic has something on the right and left, but the middle can be expanded. But when the header can be handled like that, this is a nice plan. |
#20
| |||
| |||
|
|
dorayme wrote: In article <13j5f4djrkk9213 (AT) corp (DOT) supernews.com>, mbstevens <NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote: dorayme wrote: In article <13j5b6j72c0ahfc (AT) corp (DOT) supernews.com>, mbstevens <NOXwebmasterx (AT) xmbstevensx (DOT) com> wrote: Nik Coughlin wrote: I believe that this is the minimum amount of markup necessary to achieve this effect Would love to be proven wrong.Is the effect worth the internal complexity? Depends on how you count it. It only has to be done once by the author, and from then on it can give multiple pleasure. On principle, this may well be worth it. I see a kind of smooth scale from pure semantic markup to clog dancing monkeys. Different people place different points along that scale where you should just control yourself, or switch over to Flash or Java Applets. I would resist using the kind of code here because I would not want to maintain it, and I just find its appearance unneeded aesthetically. Of course you have to occasionally give in to clients. (This is also my answer to Andy's reply.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |