Bug 18151

Summary: images not aligned horizontally in a row because of unclosed div in javascript
Product: WebKit Reporter: jasneet <jasneet>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jasneet, mitz
Priority: P2 Keywords: HasReduction
Version: 525.x (Safari 3.1)   
Hardware: PC   
OS: Windows XP   
URL: http://fotoalbumy.azet.sk/
Attachments:
Description Flags
screenshot
none
reduction none

jasneet
Reported 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
Attachments
screenshot (160.16 KB, image/jpeg)
2008-03-27 10:50 PDT, jasneet
no flags
reduction (1.04 KB, text/html)
2008-03-27 10:50 PDT, jasneet
no flags
jasneet
Comment 1 2008-03-27 10:50:17 PDT
Created attachment 20127 [details] screenshot
jasneet
Comment 2 2008-03-27 10:50:55 PDT
Created attachment 20128 [details] reduction
mitz
Comment 3 2008-03-27 11:47:30 PDT
<rdar://problem/5814738> and probably a dupe in Bugzilla too.
mitz
Comment 4 2008-04-22 19:27:03 PDT
*** This bug has been marked as a duplicate of 14939 ***
Note You need to log in before you can comment on or make changes to this bug.