c0deM0nK424
Programmer
so basicaly i have two div columns, on a main page.
and in the first div ive got a php script that reads from a mysql database table, and outputs the records INSIDE that div accordingly.
I've used that overflow scroll property to ensure that the php output stays fixed inside that div and it works nicely. The alternatively was to implement paging inside the div itself, but thats currently beyond the scope of my expertise - that or im too lazy to break up all the code and re-implementing it heh
Not that I couldn't do it - but sometimes the simpler approach is often the best one.
The problem is - the php output is aligned against the left of the DIV box, formats nicely - but i'd like to implement some form of 'space' or 'margin' or padding even so that the php output isn't aligned so closely to the left.
any tips or ideas on how to go abouts doing this ?
and in the first div ive got a php script that reads from a mysql database table, and outputs the records INSIDE that div accordingly.
I've used that overflow scroll property to ensure that the php output stays fixed inside that div and it works nicely. The alternatively was to implement paging inside the div itself, but thats currently beyond the scope of my expertise - that or im too lazy to break up all the code and re-implementing it heh
Not that I couldn't do it - but sometimes the simpler approach is often the best one.
The problem is - the php output is aligned against the left of the DIV box, formats nicely - but i'd like to implement some form of 'space' or 'margin' or padding even so that the php output isn't aligned so closely to the left.
any tips or ideas on how to go abouts doing this ?