Jump to content

DIV tag - bottom alignment


Recommended Posts

Is there way to have the text marked "Is there a way I can have this text aligned to the bottom?" aligned to the bottom?

<html><head><title>HTML Div Tag</title></head><body><div style="width:100%">  <div style="background-color:pink;">  <h1>My Sample Page</h1>  </div>  <div style="background-color:pink;                 height:200px;width:310px;float:left;">      Left Side      <div style="background-color:pink;float:left; textalign:bottom;">	    <center>	        Is there a way I can have this text aligned to the bottom?	    </center>  	  </div>  </div>  <div style="background-color:pink;                 height:200px;width:310px;float:right;">	Right Side  </div>  <div style="background-color:pink;                   height:200px;width:310px;float:center;">  	Middle ...More Stuff  </div>  <div style="background-color:yellow;clear:both">  <center>      Footer  </center>  </div></div></body></html></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...