Last post Dec 01, 2016 06:15 AM by anuj_koundal
Contributor
6467 Points
5803 Posts
Dec 01, 2016 03:42 AM|wmec|LINK
Hi, Can I have fixed width and length to picture file, to the following code
<div class="container" style="background:url('../pict/ID-10028343.jpg') no-repeat left top;">
7095 Points
1966 Posts
Dec 01, 2016 05:05 AM|anuj_koundal|LINK
<div class="container" style="background: url('Images/download.jpg') repeat left top; width: 500px; height: 600px;">
Dec 01, 2016 05:34 AM|wmec|LINK
I put this
<div class="container" style="background:url('../pict/ID-10028343.jpg') no-repeat left top; Height:780px; Width:1220px;">
but there is no improvement.
All-Star
18815 Points
3831 Posts
Dec 01, 2016 06:13 AM|Nan Yu|LINK
Hi wmec,
Try this :
<div class="container" style="background:url('../pict/ID-10028343.jpg') left top; Height:780px; Width:1220px;background-size: 100% 100%;">
Best Regards,
Nan Yu
Dec 01, 2016 06:15 AM|anuj_koundal|LINK
use: background-size: 100%; <div class="container" style="background: url('Images/download.jpg') no-repeat left top; width: 500px; height: 600px;border:1px solid red;background-size: 100%;">
Contributor
6467 Points
5803 Posts
Adjust line
Dec 01, 2016 03:42 AM|wmec|LINK
Hi,
Can I have fixed width and length to picture file, to the following code
Peter
Contributor
7095 Points
1966 Posts
Re: Adjust line
Dec 01, 2016 05:05 AM|anuj_koundal|LINK
Asp .Net Tutorials | www.codingfusion.com
Bank IFSC Codes
Ajax Control Toolkit
Contributor
6467 Points
5803 Posts
Re: Adjust line
Dec 01, 2016 05:34 AM|wmec|LINK
I put this
but there is no improvement.
Peter
All-Star
18815 Points
3831 Posts
Re: Adjust line
Dec 01, 2016 06:13 AM|Nan Yu|LINK
Hi wmec,
Try this :
Best Regards,
Nan Yu
Contributor
7095 Points
1966 Posts
Re: Adjust line
Dec 01, 2016 06:15 AM|anuj_koundal|LINK
Asp .Net Tutorials | www.codingfusion.com
Bank IFSC Codes
Ajax Control Toolkit