Opened 10 years ago

Closed 7 months ago

Last modified 7 months ago

#1349 closed defect (fixed)

<IMG ...> vspace hsapce deprecated in HTML 4.01 / XHTML

Reported by: guest Owned by: gogo
Priority: normal Milestone: 2.0
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

Hi,

in Xinha there is the possibility to enter a value for vspace, hspace to have a spacing arround a image.

When Xinha is used in frameworks, which are producing XHTML, like the Zikula CMS, the vspace, hspace attribute will be ignored.

Instead of vspace, hspace it should be margin-left, margin-right, ... used.

Links:
http://www.w3schools.com/tags/tag_img.asp

Change History (2)

comment:1 Changed 8 years ago by gogo

  • Milestone changed from 0.96 to 2.0

comment:2 Changed 7 months ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

images_use_hspace_vspace = false in MFM config

        with (xinha_config.MootoolsFileManager)
        { 
          <?php 
            require_once('/path/to/xinha/contrib/php-xinha.php');
            xinha_pass_to_php_backend
            (       
              array
              (
                'images_dir' => '/home/your/directory',
                'images_url' => '/directory',
                'allow_images_upload' => true,
                'images_use_hspace_vspace' => false
              )
            )
          ?>
        }
Last edited 7 months ago by gogo (previous) (diff)
Note: See TracTickets for help on using tickets.