Bug 18151 - images not aligned horizontally in a row because of unclosed div in javascript
Summary: images not aligned horizontally in a row because of unclosed div in javascript
Status: RESOLVED DUPLICATE of bug 14939
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://fotoalbumy.azet.sk/
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-03-27 10:49 PDT by jasneet
Modified: 2008-04-22 19:27 PDT (History)
2 users (show)

See Also:


Attachments
screenshot (160.16 KB, image/jpeg)
2008-03-27 10:50 PDT, jasneet
no flags Details
reduction (1.04 KB, text/html)
2008-03-27 10:50 PDT, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-03-27 10:49:53 PDT
I Steps:
Go to 
http://fotoalbumy.azet.sk/
Click on any image to see album.
Or go directly to :
http://fotoalbumy.azet.sk/ludka521/its-my-live/?&i7=160447449

II Issue:
The album images are not horizontally aligned in a row rather they are aligned vertically as a column.

III Conclusion:
The images are being displayed through javascript by looping through the number of available images. The issue is caused by an unclosed div after the images.

for (i = 1; i <= 3; i++) {		
		out = out + '<li>';
		out += '<div style="width:120px;height:130px; border:1px solid red;">';
		out += '</div>';
	    out = out + '<div class="fotoInfo">';
		out = out + '</li>';
	}

out += '</div>'; is missing after out = out + '<div class="fotoInfo">';

IV Other browsers:
IE7: ok
FF3: ok
Opera9.24: ok

V Nightly tested: 31315
Comment 1 jasneet 2008-03-27 10:50:17 PDT
Created attachment 20127 [details]
screenshot
Comment 2 jasneet 2008-03-27 10:50:55 PDT
Created attachment 20128 [details]
reduction
Comment 3 mitz 2008-03-27 11:47:30 PDT
<rdar://problem/5814738> and probably a dupe in Bugzilla too.
Comment 4 mitz 2008-04-22 19:27:03 PDT

*** This bug has been marked as a duplicate of 14939 ***