[wp-trac] [WordPress Trac] #7419: inline-style in

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 28 06:14:10 GMT 2008


#7419: inline-style in
---------------------+------------------------------------------------------
 Reporter:  Bueltge  |       Owner:  anonymous                
     Type:  defect   |      Status:  new                      
 Priority:  high     |   Milestone:  2.7                      
Component:  General  |     Version:                           
 Severity:  normal   |    Keywords:  style, css, inline, valid
---------------------+------------------------------------------------------
 Please write style-code optional and not in the html-code, please i the
 head of the page. man y people hope, you change this for version 2.7

 '''wp-includes/media.php'''
 {{{
 $output = apply_filters('gallery_style', "
          <style type='text/css'>
              .gallery {
                  margin: auto;
              }
              .gallery-item {
                  float: left;
                  margin-top: 10px;
                  text-align: center;
                  width: {$itemwidth}%;
             }
              .gallery img {
                  border: 2px solid #cfcfcf;
              }
              .gallery-caption {
                  margin-left: 0;

              }
          </style>
          <!-- see gallery_shortcode() in wp-includes/media.php -->
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7419>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list