You also have to set the width:
Qt Code:
  1. border: 1px solid #000;
To copy to clipboard, switch view to plain text mode