HighDots Forums  

CSS Layout for Images & Captions

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS Layout for Images & Captions in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
elbows2
 
Posts: n/a

Default CSS Layout for Images & Captions - 07-18-2004 , 06:22 PM






How do I create CSS elements allowing two images (photos) to be placed side by
side with their respective captions underneath them, also side by side.
Something like:

Img 1 Img 2
Cap 1 Cap 2

I have managed to do this in IE, but in other browsers (Firefox, Opera,
Mozilla) the captions either wind up run together or appear one below the other
under the left image. Something like:

Img 1 Img 2
Cap1Cap2

or

Img 1 Img2
Cap1
Cap2

The site supports the courses I teach, and having images side by side makes
things easier for students. A table is one solution, but the remainder of the
site is laid out using CSS and I?d like to find away around using tables. Using
layers is difficult because page lengths change as content is added during a
course.

Thanks for any and all suggestions!



Reply With Quote
  #2  
Old   
Kindler Chase
 
Posts: n/a

Default Re: CSS Layout for Images & Captions - 07-18-2004 , 07:38 PM






elbows2 wrote:
Quote:
How do I create CSS elements allowing two images (photos) to be
placed side by side with their respective captions underneath them,
also side by side. Something like:
snip
The site supports the courses I teach, and having images side by
side makes things easier for students. A table is one solution, but
the remainder of the site is laid out using CSS and I?d like to find
away around using tables. Using layers is difficult because page
lengths change as content is added during a course.

Thanks for any and all suggestions!
Personally, I think tables are just fine for image galleries. An
alternative to a table would be to use floated div's. Here's an article
that'll help out:
http://www.alistapart.com/articles/practicalcss/

--
kindler chase
http://www.ncubed.com
Home of SuperInvoice: The Online Invoicing Application.
Organize your billing process and impress your clients.

news://news.ncubed.com/support
n3 Support Group




Reply With Quote
  #3  
Old   
elbows2
 
Posts: n/a

Default Re: CSS Layout for Images & Captions - 07-19-2004 , 03:57 PM



My thanks for the reference to a very helpful article -- and for confirmation that my lurking suspicion regarding the continued usefulness of tables was not altogether misplaced.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.