• in what php i can find this ? it must be changed to <p align=”center”> otherwise its not working can anyone help me ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter delz

    (@delz)

    when i change this line

    $r .= “\n\t\t<td style=’text-align: center;’><input name=’updatemeta’ type=’submit’ tabindex=’6′ value='”.attribute_escape(__( ‘Update’ )).”‘ class=’add:the-list:meta-{$entry[‘meta_id’]}::_ajax_nonce=$update_nonce updatemeta’ />
    “;

    in wordpress\wp-admin\includes\template.php

    to the old from 2.3.3

    $r .= “\n\t\t<td align=’center’><input name=’updatemeta’ type=’submit’ class=’updatemeta’ tabindex=’6′ value='”.attribute_escape(__( ‘Update’ )).”‘ />
    “;

    it still post <p style=”text-align: center;”>test</p>

    ?? i need help pls

    Thread Starter delz

    (@delz)

    ,,,,,,,,,,,,,,,

    Why do you want to change to align=center? In XHTML align is a deprecated attribute and if you want to be standards compliant styling should be done with css, preferrably external and not inline though.

    to be honest you shouldn’t have any style attributes in your markup because it’s bad coding practice. This kind of work should be done with CSS.

    Thread Starter delz

    (@delz)

    because making posts center not working in this 2.51 thing

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘<p style=”text-align: center;”></p>’ is closed to new replies.