Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS dl dt dd instead of tables

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #40339
    joepk
    Participant

    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

    #112045
    Paulie_D
    Member

    It’s a table…why not use one?

    #112047
    joepk
    Participant

    Because data-lists are better! Well is it possible?

    #112051
    joepk
    Participant

    Ok, nevermind :) Thanks!

    #112053
    Paulie_D
    Member

    Plus data-list has been re-purposed in HTML5 so it doesn’t perform like a table.

    #112060
    joepk
    Participant

    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.

    #112062
    Kitty Giraudel
    Participant

    With padding on <td>.

    #112069
    joepk
    Participant

    In the link there is no padding used to keep it centered. Try removing the paddings in the example, it will still center vertically.

    #112071
    Paulie_D
    Member
    #112074
    joepk
    Participant

    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?!

    #112157
    joepk
    Participant

    The problem was in the reset.css : vertical-align:baseline

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘CSS’ is closed to new topics and replies.