Inmagic Forums
Inmagic Forums
WebPublisher PRO
Field Label placement in web report formats|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Please could I clarify if there is any way in which I can have a report format for web use that places the field label to the left of the field box? There is no problem in doing this 'on screen' - and the format previews AND prieviews to HTML correctly with the label placed neatly to the left, and these can be aligned by right hand adjusting the label formatting and creating a fixed length for all labels. HOWEVER, when the report is viewed on the web, the label (although correctly formatted for font, size etc) always appears ABOVE each field and not to the left.
With our (very) old version of Webpublisher, the matter was resolved by adding a lot of HTML into the 'beginning text' and 'end text' areas - but this is clearly a lot less intuitive that using the report generator 'off the peg' - and it makes forms much harder to update. Originally I understood that this was a limitation of HTML itself, and that side by side boxes were only supported by defining tables (which is what we did in the past). This does not APPEAR to be the case with v11 WebPublisher Pro - as the same 'trick' in defining search screens now works like a dream. Can anyone advise? |
|||
|
Left labels have been supported in WebPublisher since version 4.1.
If your form is defined to use left labels, but you're not seeing them on the Web, one of the following is probably the case:
If you have Raw HTML in your form, you can force Cascading Style Sheets (CSS), which are used for left labels and other improved formatting, on by setting WebCSSOpt=2 in the [WebPublisher] section of DBTWPUB.INI, or set CS=2 in your query screen. If you have Treat Content Item as Inline Image in your form, you can either use a Picture Box instead (recommended) or force CSS on by using WebCSSOpt=2, etc. Note that if you force CSS on when your form includes Raw HTML or Inline Images, you may need to design your form carefully to prevent overlapping. |
||||
|
Thanks Lisa
I HAD thought left labels were OK - but was beginning to wonder. Clearly if I CAN avoid resorting to HTML fixes(only), this will be a lot slicker and easier to preview. Does this mean that if I use left labels there can be absolutely NO 'Raw HTML' ANYWHERE in any of the boxes? |
||||
|
I think perhaps, I have described the problem ambiguously.
I CAN get left labels in SEARCH screens without problem - but NOT with report forms (i.e. I am unable to use these to help with formatting search output. |
||||
|
Left labels are supported in both of the following places in recent versions of Inmagic products:
If you have any Raw HTML in your form, CSS is turned off, and you have to force it on (using WebCSSOpt=2) if you want left labels. |
||||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Inmagic Forums
Inmagic Forums
WebPublisher PRO
Field Label placement in web report formats
