Changeset 7516
- Timestamp:
- 03/26/2008 03:34:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r7496 r7516 369 369 $captiontag = tag_escape($captiontag); 370 370 $columns = intval($columns); 371 $itemwidth = $columns > 0 ? floor(100/$columns) : 100; 371 372 372 373 $output = apply_filters('gallery_style', " … … 379 380 margin-top: 10px; 380 381 text-align: center; 381 width: 33%; }382 width: {$itemwidth}%; } 382 383 .gallery img { 383 384 border: 2px solid #cfcfcf;
Note: See TracChangeset
for help on using the changeset viewer.