How do I make DIVs expand to surround an image?

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

How do I make DIVs expand to surround an image?

Postby rnilsson » Sun 20 Feb, 2005 4:51 pm

Hi - I'm having issues with DIVs in FireFox....

It seems that DIVs expand width-wise to fit text just fine, but the same DIV won't expand to fit an image. These images display in IE nicely, and borders and background images fall into place to look like corner tabs, like in a photo album. In FireFox, the DIVs are all misaligned...

the page:

http://www.actalaska.org/recently_seen.htm

the style sheet:

http://www.actalaska.org/acthome.css

any suggestions on fixing the misaligned divs in FireFox are gratefully appreciated!

best -
UserAgent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
rnilsson
new member
new member
 
Posts: 1
Joined: Sun 20 Feb, 2005 4:38 pm

Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot], Yahoo [Bot]