Dynamically Arranging Image Icons (jpegs) in a 5 x 5 grid.

D

dejavue82

How would one best accomplish this in ASP.NET 2.0? I always thought
that a table would be best suited for this, however, these seem to be
SEO problems with this approach. Should I use CSS? And if so, how
would this work?

Thank you!
 
D

dejavue82

It said what the problem is: SEO
Tables don't play well with search engine spiders.

Considering this, I was just wondering how most of you would approad
this problem, thats all.
 
B

Bjorn Sagbakken

I have no idea what professionals would do, and I have no idea about your
problem, but here is what I would do to show a 5 x 5 grid of images:

I would use a repeater control with a table of 5 colums, the rows taking
care of itself. The I would build a class to take care of the images (either
straight image path or retrieved from a database). So just loop through your
data and populate the class, set the repeater datasource and databind ->
then you should see a nice grid of images.

I am still kind of unskilled, so this may be a silly way. But nevertheless;
I know this would work.

Bjorn
 
D

dejavue82

Hi Bjorn,

Indeed, this would be one way to do it. However, I ended up keeping
the design simple and used a simple Table object, and used the modulus
operator to create a new row for every multiple of 5.

Regards,

Jim Light
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top