Results 1 to 2 of 2
Thread: Image size 100 % - CSS HELP
-
09-11-2014, 07:08 AM #1
Image size 100 % - CSS HELP
Hi!
I try to do this:
I have an element, and i want the background image to be all over the background.
e.g.
<div id="mydiv">
</div>
#mydiv{width:100%; height:100%;background:url(images/image1.jpg) no-repeat; background-size:cover;}
If i want, to do this:
<div id="mydiv">
<img src="images/image1.jpg">
</div>
#mydiv{width:100%; height:100%;}
#mydiv img{}
How can i make the same effect, with the image, to be cover all over the div????
But, without background-size:cover. Is it possible???
-
12-20-2014, 01:25 PM #2
Re: Image size 100 % - CSS HELP
Do you have a specific dimmensions? Or the #mydiv element must be responsive?
Similar Threads
-
How To Reduce Size Of My Images
By kjo-compute in forum Web & Graphics DesignReplies: 14Last Post: 10-31-2018, 01:37 PM -
Size of your waist ?
By kilato in forum General TalkReplies: 10Last Post: 09-01-2014, 06:33 AM -
sim size smaller day by day
By George in forum Technology ForumReplies: 0Last Post: 08-22-2014, 05:02 PM -
Which Smartphone Has The Largest Screen Size
By jurlomindo in forum General TalkReplies: 1Last Post: 03-13-2013, 03:54 AM -
PHP Function To Get File Size
By vincentmic in forum PHPReplies: 3Last Post: 02-18-2013, 06:28 AM
Bookmarks