Priyadarshi Kunal
Priyadarshi Kunal

Reputation: 578

How to increase width of my header to match the whole page width?

I have a webpage that has width more than 100%. The page is a datatable having many rows and I don't want to introduce an inner scroll-bar. Now I want to have my header expand width same as my overflowing table. How do I do that?

enter image description here

Please note that my header is 100% wide. I want to be more and matching the data-table width which is not hard coded.

Upvotes: 0

Views: 108

Answers (1)

NoobEditor
NoobEditor

Reputation: 15871

set this in your style sheet

html,body{
  width:100%; /* your remedy here */
  height:100%; /* your remedy here */
  margin:0 /* default set */
  padding:0; /* default set */
}

Upvotes: 1

Related Questions