Wikipedia:Reference desk/Archives/Computing/2019 August 10
Computing desk | ||
---|---|---|
< August 9 | << Jul | August | Sep >> | Current desk > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
August 10
editHTML tables
editSome time ago I spent a lot of time updating {{Routemap}}, but there's still an issue which has been irritating me for a while.
In HTML, is there a way to put a bunch of divs containing images in a row without allowing any line breaks between or within the divs, if the size of the content of the divs and the number of divs cannot be used?
Currently the Lua module uses nested tables for aligning images and preventing rows from wrapping. This is not very good for accessibility, though it's not that big of an issue (yet) since there are still various other ways that the diagrams are inaccessible. Jc86035 (talk) 17:23, 10 August 2019 (UTC)
- Did you try to set "display:inline-block"? Ruslik_Zero 09:36, 11 August 2019 (UTC)
- @Ruslik0: I've just tested that. While this does seem to work for the images, the main issue seems to be that text placement within diagrams seems to be consistently off and messes with the alignment of the images; you can see the effects in Template:Routemap/testcases (as well as the example diagrams in Template:Routemap/sandbox). Jc86035 (talk) 11:06, 11 August 2019 (UTC)
- There's also a strange (and seemingly unrelated) alignment issue for the infobox diagram between Mong Kok East and Hung Hom stations. Jc86035 (talk) 11:08, 11 August 2019 (UTC)
- Looking at the testcases I do not see anything wrong in them. You would better ask at Wikipedia:Village pump (technical). Ruslik_Zero 10:05, 14 August 2019 (UTC)