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

Home Forums CSS [Solved] Override min-height on mobile CSS

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #203993

    Hi Guys
    I’ve had to set a min-height: 362px for some floated elements to stop them ‘staggering’ across the page on a desktop.
    (Some contain just 1 line of text, others 5 or 6 lines)

    On the mobile however, I am happy for them to just enclose the content as they are all displayed down the page (no need for floating)

    How can I override min-height:362px in the mobile section?

    I’ve tried height:auto, min-height:auto and neither are working for me.

    Any ideas?




    min-height:0 …

    Sorry, didn’t even think of it.

    Where can I delete this post?


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