css - background color gets cut in smaller resolution -
hi having problem stretching background color. fits larger resolution perfectly. when resolution goes below width of 1254px, background not stretch. content inside container remains perfect.
heres site. kindly resize browser below 1254px , check, find white space on right side.
www.origininteractive.in/projects/stars11
heres html code view-source:http://www.origininteractive.in/projects/stars11/
heres css code
http://www.origininteractive.in/projects/stars11/css/style.css
thank you
the reason main_body & it's children have static width, header & footer container have 100% width. width main_body 1237px, when resize below 1237px top container width of body main_body container keep width of 1237px scroll shown.
to rid of change styles main_body & it's children percent based width,
or give body min-width:1242px; prevent body going below 1242px. (5px more cause inner container streching main_body '1242px').
Comments
Post a Comment