View Single Post
Old 04-04-2012, 07:50 PM   PM User | #1
aaronhockey_09
Regular Coder

 
Join Date: Dec 2010
Posts: 411
Thanks: 21
Thanked 55 Times in 55 Posts
aaronhockey_09 is an unknown quantity at this point
Thumbs down Background Image Re-Size Depending on Window Size

Hey guys, so i am working on a site right now for mobile.
And all of the comments are wrapped in a Div like so

Code:
<div class="comment">
      <div class="comment_top"></div>
      <div class="comment_middle">
            <p>All of the comment info goes in here</p>
      </div>
      <div class="comment_bottom"></div>
</div>
The div's, comment_top, comment_middle, comment_bottom all have background images with specific widths right now.

Is there a way to make these Background Images re-size with the size of the window ( phone screen ). And not have a specific width.

If you have a smart phone you can go to www.stage.1cp.ca/discover/sort/recent

And view the comment area, right now because the width is specific, the right side is always cut off.
aaronhockey_09 is offline   Reply With Quote