Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

aligning an image at the bottom of the page with relative position

$
0
0

I am trying to align my image at the bottom of the page while keeping the position relative and not absolute what I have is:

<body id="body1" runat="server" 
     style="background-color:#FFF8F8; padding:0px; margin:0px; min-height:100%; width:100%; position:absolute; top:0; bottom:0; right:0; left:0;"><form id="form1" runat="server" style=" position:absolute;padding:0px; margin:0px; width:100%; top:0; bottom:0; right:0; left:0;" >  <div  style=" position:absolute;padding:0px; margin:0px; width:100%; top:0; bottom:0; right:0; left:0;"><h1 style=" text-align:center; ">Create your account</h1><center>
there is some code here           </center>  <center>
there is some code here</center>   <br/><center >
there is some code here</center><div style="vertical-align:bottom; padding-bottom:0px; margin-bottom:0px; text-align:center"><asp:Image ID="Image5" runat="server" AlternateText="LOGO" 
              ImageUrl="FashionWebsiteDesignImgs/logo2.png"
                       style="width:885px; height:69px; position:relative; margin-bottom:0px; padding-bottom:0px; bottom:0px;left: 0px;" /> </div></div></form></body>

the image keeps showing at about 100px from the bottom it's like there are some margins or.. preventing it from being placed at the bottom;

any Help plz;


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>