Click here to Skip to main content
15,747,059 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 .
Updated 16-Jan-13 20:03pm

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:[^],[^].

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.

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