Thursday, 15 April 2010

html - items inside div not resizing -



html - items inside div not resizing -

i'm having great deal of problem in getting items within specific div resize within div, depending on div's width (which width:100%).

i've tried using display:inline-block doesn't seem work. there has work? have div wrapper width:100% , div container within specific width.

the background of div within of those, has background image, need automatically resize according width. site resizes downwards mobile friendly, i'm getting issue background image beingness huge still.

the link page in question, here - link page

the below code, bunch of divs mentioned above:

#content-home { float: left; min-width: 100%; padding: 40px 0px; } .home_container { margin: 0 auto; width: 320px; }

hope guys can help out @ all! warning, it's wordpress site css issue. i'm not sure if there javascript or jquery function, able handle idea?

thanks!

mark

it seems problem you're mixing % , px units calculating widths. seek using % both widths.

if isn't problem, seek using "width" instead of "min-width". seems "min-width" property might issue.

html image-resizing css

No comments:

Post a Comment