Click here to Skip to main content
15,904,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends

How to design master page using division instead of table in asp.net ? I used table so far so guide me how to use briefly...


Thanks
Vikyas
Posted

It's depends your requirement, what type of design you want then make a design on that way. For information sharing some link make review there
how-to-create-master-pages-with-aspnet-4/[^]
http://odetocode.com/articles/450.aspx[^]
 
Share this answer
 
Comments
vikyas26 27-Aug-14 9:17am    
How to align the div element to different size ? Ex: I want to display Image,login details,some content all in single row,guide me how to align the div ? in css what should I use either % or px or em ?
[no name] 27-Aug-14 9:40am    
See in the following way
<div style="float: left; height: 100px; width: 49%; background-color: aliceblue;">
</div>
<div style="float: left; height: 100px; width: 49%; background-color: aquamarine;">
</div>
i will design as my perspective you can modify your own as needed

Step1: Use the nested div and try to make pseudo code of the design
Step2: Divide the Section as Header,Section And Footer

Step 3:now use
XML
<div>
<div>header</div>
<div>content</div>
<div>footer</div>
</div>


Step: you can add nested div inside as per your requirement and same it is like table

assume tr as div

thanks

some Links:
<a href="http://mrbool.com/understanding-the-div-tag-in-html/25263">
 
Share this answer
 
v2
Comments
vikyas26 27-Aug-14 9:17am    
How to align the div element to different size ? Ex: I want to display Image,login details,some content all in single row,guide me how to align the div ? in css what should I use either % or px or em ?
See YOu Have To Do As Below
..
XML
<div Style="align:left">
<div>image</div>
<div>login</div>
<div>someother</div>
</div>


..
by this it will Come In single row only...
Conclusion:Align Left the main div All the other content Will come is Same row
..
Thnaks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900