CSS Code to Solve Div Alignment Problems
I was having problems aligning data inside a div container but I could not see what was causing this issue.
I originally thought it was to do with padding, margins and then div alignments and then came up with this useful code to help fault find my divs.
Paste the following code into the div tag in your HTML page:
style=”display:inline-block; border: 3px solid purple;
This will show a bright border for the DIV so you can more easily fault find any problems.
Enjoy