![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
On 07/24/09 07:47 pm, Samuel van Laere wrote: Would you be so kind to re-critque it again? The website is: http://www.fietsennaarlourdes.be/ .... It seems a bit odd, and unnecessary, to use a list element for gallery layout. |
#12
| |||
| |||
|
|
On 07/24/09 07:47 pm, Samuel van Laere wrote: Would you be so kind to re-critque it again? The website is: http://www.fietsennaarlourdes.be/ Most of the images extend beyond the <p> boundaries. To prevent that the width of the <p> element must be set to each image's width plus any border /margin/padding. It seems a bit odd, and unnecessary, to use a list element for gallery layout. |
#13
| |||
| |||
|
|
http://www.fietsennaarlourdes.be/ ... It seems a bit odd, and unnecessary, to use a list element for gallery layout. Odd in the sense of statistically unusual for web designers or more than this? Odd in that it is a peculiar way to markup an image+caption. |
|
Unnecessary in the sense of there is shorter markup, more directly meaningful markup? Unnecessary as in unneeded, superfluous, extraneous, gratuitous. What |
#14
| |||
| |||
|
|
On 07/25/09 04:02 pm, dorayme wrote: http://www.fietsennaarlourdes.be/ ... It seems a bit odd, and unnecessary, to use a list element for gallery layout. Odd in the sense of statistically unusual for web designers or more than this? Odd in that it is a peculiar way to markup an image+caption. |
|
Unnecessary in the sense of there is shorter markup, more directly meaningful markup? Unnecessary as in unneeded, superfluous, extraneous, gratuitous. What does using a list bring to the display of an image+caption? It could be argued that it is a list of image+caption's, but then a paragraph could be a list of words. |
#15
| |||
| |||
|
|
In article <Z6GdnccLOeHdWvHXnZ2dnUVZ_h-dnZ2d (AT) giganews (DOT) com>, Jim Moe <jmm-list.AXSPAMGN (AT) sohnen-moe (DOT) com> wrote: On 07/25/09 04:02 pm, dorayme wrote: http://www.fietsennaarlourdes.be/ ... It seems a bit odd, and unnecessary, to use a list element for gallery layout. Odd in the sense of statistically unusual for web designers or more than this? Odd in that it is a peculiar way to markup an image+caption. Peculiar does not quite float my boat as an explanation of odd! <g Unnecessary in the sense of there is shorter markup, more directly meaningful markup? Unnecessary as in unneeded, superfluous, extraneous, gratuitous. What does using a list bring to the display of an image+caption? It could be argued that it is a list of image+caption's, but then a paragraph could be a list of words. Sounds to me like saying to the milkman, "Hey, why did you deliver the milk in bottles. These bottles are unneeded, superfl...?" without saying what he should be bringing the milk in... If the OP had used the semantically nothing <div> as containers for the pics and captions, would this be better? |
#16
| |||
| |||
|
|
I haven't had any complaints about the markup from users including screenreader users. The main goal was a accessible website and for that the markup works just fine. Don't fix it if is aint broken right? |
#17
| |||
| |||
|
|
Unnecessary in the sense of there is shorter markup, more directly meaningful markup? Unnecessary as in unneeded, superfluous, extraneous, gratuitous. What does using a list bring to the display of an image+caption? It could be argued that it is a list of image+caption's, but then a paragraph could be a list of words. Sounds to me like saying to the milkman, "Hey, why did you deliver the milk in bottles. These bottles are unneeded, superfl...?" without saying what he should be bringing the milk in... To continue the metaphor, it is asking why the milkman delivered the |
|
If the OP had used the semantically nothing <div> as containers for the pics and captions, would this be better? IMO, yes. |
#18
| |||
| |||
|
|
On 07/26/09 04:13 pm, dorayme wrote: Unnecessary in the sense of there is shorter markup, more directly meaningful markup? Unnecessary as in unneeded, superfluous, extraneous, gratuitous. What does using a list bring to the display of an image+caption? It could be argued that it is a list of image+caption's, but then a paragraph could be a list of words. Sounds to me like saying to the milkman, "Hey, why did you deliver the milk in bottles. These bottles are unneeded, superfl...?" without saying what he should be bringing the milk in... To continue the metaphor, it is asking why the milkman delivered the bottles of milk each with their own nose cozy. |
|
If the OP had used the semantically nothing <div> as containers for the pics and captions, would this be better? IMO, yes. What semantic value does <ul> bring to an image+caption that <div> does not? The stylesheet has to defeat most of the default characteristics of a list in addition to the desired presentation. |
|
Below, the <div> styles <img> with a float:left. The "caption" style sets the background color, border, and text styles. (There may be a way to have the <div> size itself to the image content and cause the caption to wrap at the image's width; I have not found it.) div class="img-caption-left" style="width: 500px;" p><img src="..." height="221" width="500" alt=""></p p class="caption">Meaningful info</p /div vs. ul id="fotoalbum" li><img src="..." height="221" width="500" alt="" span>Meaningful info</span /li /ul |
#19
| |||
| |||
|
|
What semantic value does <ul> bring to an image+caption that <div> does not? The stylesheet has to defeat most of the default characteristics of a list in addition to the desired presentation. Your argument seems based on a misreading of the actual markup, at least the one I am looking at right now. Apologies in advance if it has been change since you last saw it. No, I do not believe I did. I showed two markup versions that presented |
|
Who knows, maybe for users who are interested in the number of pictures listed rather than looking at them, the pics being in lists carries more appropriate information. They are interested in them as items in a collection. A list really. At the very least, it is not inappropriate. I simply do not see a set, or collection, of pictures as a list. |
|
Below, the <div> styles <img> with a float:left. The "caption" style sets the background color, border, and text styles. div class="img-caption-left" style="width: 500px;" p><img src="..." height="221" width="500" alt=""></p p class="caption">Meaningful info</p /div vs. ul id="fotoalbum" li><img src="..." height="221" width="500" alt="" span>Meaningful info</span /li /ul This is not the situation I see. Not at all. Your DIVS would be competing with LIs, not ULs and LIs. I agree with your sentiments if your representation were the case. The OP, to repeat, has the whole gallery - <ul id="fotoalbum"> - as a list The OP has used <ul> where I used a <div>, and a <li> and a <span> where |
#20
| ||||
| ||||
|
|
On 07/27/09 03:20 am, dorayme wrote: What semantic value does <ul> bring to an image+caption that <div> does not? The stylesheet has to defeat most of the default characteristics of a list in addition to the desired presentation. Your argument seems based on a misreading of the actual markup, at least the one I am looking at right now. Apologies in advance if it has been change since you last saw it. No, I do not believe I did. I showed two markup versions that presented a single image, both with a lot of the cruft removed to highlight the markup. |
|
Have you looked at the page with the styles disabled? |
|
Below, the <div> styles <img> with a float:left. The "caption" style sets the background color, border, and text styles. div class="img-caption-left" style="width: 500px;" p><img src="..." height="221" width="500" alt=""></p p class="caption">Meaningful info</p /div vs. ul id="fotoalbum" li><img src="..." height="221" width="500" alt="" span>Meaningful info</span /li /ul This is not the situation I see. Not at all. Your DIVS would be competing with LIs, not ULs and LIs. I agree with your sentiments if your representation were the case. The OP, to repeat, has the whole gallery - <ul id="fotoalbum"> - as a list The OP has used <ul> where I used a <div>, and a <li> and a <span> where I used a <p>. |
|
Since most of the list-ness aspects of a list have been removed by style rules, what is the point of using a list? |
![]() |
| Thread Tools | |
| Display Modes | |
| |