- This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi guys,
Just wondering if it is possible to make [this](http://kos9.scompiler.ru/oceanic/cart.html) webshop table, out of data lists.
I’m trying to avoid those tables :p
It’s a table…why not use one?
Because data-lists are better! Well is it possible?
Ok, nevermind :) Thanks!
Plus data-list has been re-purposed in HTML5 so it doesn’t perform like a table.
One small question. How to get everything vertical centered in the table just as in the link. No matter how high the image is the input field and the text stays vertical centered. Can’t get this this same result.
With padding on <td>
.
In the link there is no padding used to keep it centered. Try removing the paddings in the example, it will still center vertically.
Hmmmm that’s odd… In the [Codepen](http://codepen.io/anon/full/EmAxo “codepen”) I just made the vertical center just works. Seems there might be something with my css then?!
The problem was in the reset.css : vertical-align:baseline