HTML Table overlapping DIV

/ Published in: CSS
Save to your folder(s)

Stop your html tables overlapping other elements to the right. Fix the table with a fixed layout. You may also have to set overflow:hidden and word-wrap:break-word

Copy this code and paste it in your HTML
  1. .errorMessages {
  2. overflow: hidden;
  3. table-layout: fixed;
  4. width: 565px;
  5. word-wrap: break-word;
  6. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.