Can anyone help us with an algorithm to randomly display elements which has different height and width units in a asp.net page

Recommended Answers

All 3 Replies

what type of elements you want to display ? you can use javascript and jquery for this purpose. Please be more specific about your issue.

Elements which has some contents.These contents may be images,some visual elements like graphs,charts etc.For ex: when building a dashboard app, elements with different dimension (say 11,21,34 etc which indicates widthheight)has to be randomly distributed in a page without any empty space between them.ex:www.rediff.com

    This is not a trivial question. Is it the intent of the web page to render properly on smart phones, tablets, laptops and computer screens? It's possibler to render the page with either server-side (i.e. C# or VB) or at the client, using Javascript with any of several popular libraries. Can you be a bit more specific about what you are trying to accomplish? Knowing where you are headed may be more important than trying to draft code at this stage.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.