Click here to get back home

Horizontal row of images...

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Horizontal row of images... cjl 06-20-2005
Posted by cjl on June 20, 2005, 10:04 am
Please log in for more thread options


Hey all:

Silly question.

I have four images (all the same size) that I am using as buttons,
and would like to align them in a horizontal row, contained in a div. I
can't seem to figure out the css or html to do this.

Help?

-CJL


Posted by Philip Ronan on June 20, 2005, 6:30 pm
Please log in for more thread options


"cjl" wrote:

> Hey all:
>
> Silly question.
>
> I have four images (all the same size) that I am using as buttons,
> and would like to align them in a horizontal row, contained in a div. I
> can't seem to figure out the css or html to do this.

<DIV> <IMG> <IMG> <IMG> <IMG> </DIV>?

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/



Posted by cjl on June 20, 2005, 11:02 am
Please log in for more thread options


That's what I thought, and tried, but all the images end up on top of
each other.

-cjl

Philip Ronan wrote:
> "cjl" wrote:
>
> > Hey all:
> >
> > Silly question.
> >
> > I have four images (all the same size) that I am using as buttons,
> > and would like to align them in a horizontal row, contained in a div. I
> > can't seem to figure out the css or html to do this.
>
> <DIV> <IMG> <IMG> <IMG> <IMG> </DIV>?
>
> --
> phil [dot] ronan @ virgin [dot] net
> http://vzone.virgin.net/phil.ronan/


Posted by David Dorward on June 20, 2005, 8:09 pm
Please log in for more thread options


cjl wrote:

Please do NOT top post:
http://www.allmyfaqs.com/faq.pl?How_to_post
http://www.faqs.org/rfcs/rfc1855.html

> That's what I thought, and tried, but all the images end up on top of
> each other.

With the given markup (which I've snipped as I'm not prepared to repair your
backwards quoting), the most likely reasons for that would be:

(a) You have somehow constrained the width
(b) The images are too wide to sit next to each other in the viewport
(c) You have used CSS to make the images display like blocks



--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Posted by Andy Dingley on June 21, 2005, 1:19 am
Please log in for more thread options



>That's what I thought, and tried, but all the images end up on top of
>each other.

Then post a link to your page, so that we can see too.

If you want to control the "column width" allocated for each image, then
consider using a table. Yes, a <table>


Similar ThreadsPosted
Is it possible to keep this on the same horizontal? February 15, 2008, 1:33 pm
Is horizontal scrolling okay? December 28, 2004, 2:52 pm
Horizontal scroll to nowhere---why? October 23, 2007, 11:38 pm
prevent horizontal scrolling February 5, 2008, 10:47 pm
Vertical and Horizontal Frames that Scroll Together October 7, 2004, 5:35 pm
Always turning off horizontal scrolling in an iframe January 23, 2005, 9:36 pm
Only Vertical Scroll bar no horizontal bars August 26, 2005, 3:44 am
question about horizontal scrollbar in frames August 11, 2006, 4:00 am
Horizontal CSS list, last entry right-aligned? April 11, 2008, 3:01 pm
images won't appear in IE January 3, 2005, 8:40 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap