RenderOutput display problem

Login or register to post comments
1 reply [Last post]
Offline
Joined: 06/21/2010

File : QcontrolBase.class.php

Method: protected function RenderOutput

Problem:

if (!$this->blnDisplay)
$strStyle .= 'display:none;';
else if ($blnIsBlockElement)
$strStyle .= 'display:inline;';

Why inline and not block ?

sp
Offline
Joined: 05/20/2011

Do a search on blnIsBlockElement. blnIsBlockElement controls whether the wrapper is output as divs or spans. The wrapper includes items like labels and control specific error messages. The actual control itself will be inline within the wrapper.