<%@ Page Language="C#" MasterPageFile="~/mstr1.Master" AutoEventWireup="true" CodeBehind="Gallery.aspx.cs" Inherits="CarGallery.Gallery" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">

    <div style="width:50%;min-width:1000px;height:auto;margin-left:2%;margin-top:2%;margin-bottom:2%;border-radius:20px;background-image:url(img/bg2.png);background-size:100% 100%">
            <center>
                <br />
                <div style="width:92%;height:40px;margin-top:1%;border-radius:20px;background-image:url(img/bg2.png);background-size:100% 100%">
                        <div style="padding-top:10px;font-size:20px;color:black;">Gallery</div>
                     </div>
                <br />
            <div style="margin-top:15px;margin-bottom:15px;margin-left:15px;margin-right:15px">
                

                <asp:DataList id="dtList" style="padding:15px 15px 15px 15px;margin-bottom:10px"
                    RepeatDirection="Horizontal"
                    RepeatLayout="Table"
                    RepeatColumns="4" runat="server">
                <HeaderStyle>
                </HeaderStyle>
                <AlternatingItemStyle>
                </AlternatingItemStyle>
                <ItemTemplate>
                    &nbsp;&nbsp;&nbsp;
                    <div>
                           
                        <div style="margin-left:20px;margin-right:20px">

                            <a href='<%# Eval("postUrl") %>' rel="gal" title='<%# Eval("title") %>'><img alt='<%# Eval("title") %>' style="border-radius:20px" src='<%# Eval("thumbUrl") %>'></a></div>
                           <div>
                            <div style="text-align:center;margin-left:20px;margin-right:20px"><%# Eval("title") %></div>
                            </div>
                        <br />
                        
                        
                       </div>
                    
                </ItemTemplate>
                </asp:DataList>



            </div>
                <br />
            </center>
</div>

</asp:Content>
