Can someone give me a basic script example for arranging thumbnails on a page. I have always put them in tables that CSS is obviously better. Also, I like to put writing underneath the thumbnails as well, how do I get around that?
Thanks in advance
3 2205 Niheel 2,456
Recognized Expert Moderator Top Contributor
Are you looking for an automated script(php/cgi) or are you looking for a layout in CSS?
Just want to make sure before I post the answer.
There was no reply to this, but I am interested in the same question. I am using CSS and wanting to arrange thumbnails on a page. Most websites I look into use front page and so have tables with lots of specifications that seem over complicated. What I would like is to write something that took account of the number of thumbnails to be displayed and arranged them in rows and columns with nice spacing using rules that I implement, is this possible?
Many thanks for any help.
P.S. please keep it simple as I am very new to web design :o
You can apply a CSS class to every img tag, then use padding and margins for the spacings, if the images are generated dynamically from a dabase, it is even much easier and you only have to apply the class 1 time
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Ken |
last post by:
I am in the process of designing my first web-site, and am having a problem
with my picture gallery. My thumbnails are all different sizes, I would
like them to be one size. The manual does not address this situation.
Where did I go wrong?
|
by: Vagabond Software |
last post by:
I'm trying to display thumbnail images in a Listview that look more like the
Windows thumbnail view. Everything is working pretty good, but my
thumbnails are decidedly not like the Windows thumbnails.
View the following snapshot to compare the Windows thumbnails (top) to my
ListView thumbnails (bottom):
http://home.san.rr.com/vagabondia/images/tmp/sample.gif
It looks like the Windows thumbnails retain their proportion by, perhaps,
|
by: michael |
last post by:
Hi All,
I'm trying to achieve an "ideal" of arranging the thumbnails
on one of my sites using only styles and divs, rather than a
table. I'm well practised with Divs etc, but a solution that
works properly eludes me here. In particular there are two problems..
1). There are graphical glitches in both IE and Firefox/opera, some of
the time.
2). The thumbnails are not centrally aligned and even wrapping a div
|
by: JJ |
last post by:
I have a gallery-like application. (The gallery will be actually presented
in Flash, but the management (cms) of the images will be in asp.net. )
My question is, is it ok to create Thumbnail images on the fly by resizing
the original sending it to the output stream (i.e. Response.ContentType =
"image/jpeg"; Response.BinaryWrite(imageContent) ), or best to actually save
the thumbnails to disk.
Would this method result in a much slower...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |