Click here to Skip to main content
16,015,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have td inside the div and set the top,left position stored in database and also get from the db but not fix the position properly.please help me .
Posted
Updated 16-Jan-13 20:03pm
v3

1 solution

It's all about the CSS properties margin-left, margin-top, padding-left, padding-top or their combinations.

The bunch of related concepts you need to understand is called CSS box model.
You can read how they work here:
http://www.w3.org/TR/CSS2/box.html[^],
http://www.w3schools.com/css/css_boxmodel.asp[^].

You can probably get a good idea how it all works at once, if you simply look at the picture shown in the second page referenced above.

—SA
 
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