Ulixava Posted June 15, 2012 Share Posted June 15, 2012 Is it possible using CSS to get many small boxes on the screen on different positions using some sort of loop or something? Just like you would do with a forum how you know there is normally a huge amount of posts (And lots of rectangles where the text is written). Is this possible using CSS? If not, how would I do this? There is a real big pain in the butt to type each "rectangle" in manually... Thanks, Alex Quote Link to comment https://forums.phpfreaks.com/topic/264240-create-many-small-boxes-looping-downwards/ Share on other sites More sharing options...
kicken Posted June 15, 2012 Share Posted June 15, 2012 You can use CSS to define the styles of each rectangle. Like with a forum all the posts just share a similar class which sets their style properties like colors, sizes, etc. You'd have to use something else to generate the actual elements in the HTML though, that is not CSS's job. CSS only does styling. Quote Link to comment https://forums.phpfreaks.com/topic/264240-create-many-small-boxes-looping-downwards/#findComment-1354186 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.