Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • urbanity & architecture
    • projects
    • website design
Blog Quickbits CSS Table Fixed Left Column

CSS Table Fixed Left Column

By Forrest Smith - Drempd.com

I wanted a nice table where the left column stays visible at all times. I kept trying to use a position of "fixed", which is of course incorrect, since that will keep it fixed on the page. What I was actually wanted was "static":

.smart-table{

   overflow: auto;



   td{

      width: 150px;

      min-width: 150px;   

   }

  .first-column{

      position: sticky;

      left: 0;

  }

Posted on July 14, 2022September 22, 2022 in Quickbits
  • Adventure

    • adventure
    • gravelgrinding
    • hiking
    • running
  • The Built Environment

    • architecture
    • urbanity
  • Locations

    • san diego
    • portland
  • Freelance Life

    • freelancing
    • productivity
  • Web Dev

    • css
    • entrepreneurship
    • git
    • handlebars
    • html
    • inkscape
    • photoshop
    • php
    • sass
    • web design
    • web development
    • saphire

drempd | san diego, ca


home contact

adventures san diego urbanity and architecture projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance