TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shibly Sadik
NA
167
139.1k
responsive image in asp.net/css
Aug 8 2015 8:12 AM
I have a view in my MVC application as below:
<table cellspacing="10" class="table" style="font-size:12px">
@foreach (var item in Model)
{
<tr style="float:left">
<td>
<fieldset class="fieldset" style="float:left">
<img src="~/Images/@item.Image"
onclick='window.location="@Url.Action("AddToCart", "Cart", new { id = item.ID})"' />
</fieldset>
</td>
</tr>
}
</table>
Now i want to display two image in each row whatever the device screen size is..
like below:
image 1
image 2
image 3
image 4
How can i do this??
Reply
Answers (
4
)
how to Ajax ModalPopupExtender panel Scrollbar position
how to get column value in grid