Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Cell padding or spacing with AHTML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Cell padding or spacing with AHTML
 Login/Join
 
Platinum Member
posted
I found an old post on this subject, but seeing as that was with 7.6.8, and I'm using 7.7.03, I was hoping there is now a better answer for adding cell padding in an AHTML report.

I can't believe it would really be made so that the only option is to have the columns mashed together with no space in between, and no way to add padding either through the report painter or custom stylesheets.

A logical solution would be to add padding in CSS, but apparently
TYPE=DATA, CLASS='mydataclass',
doesn't actually apply the class, and there's no way select all the data cells since it's not given a class automatically (I've tried using an attribute selector, but unfortunately since the page loads in Quirks Mode, it won't recognize the rule (in IE8, which unfortunately most of my users are on)

Can anyone help? I'm at the end of my rope!

This message has been edited. Last edited by: Kerry,



Prod: 8.2.0.4 OS:Windows 10 Output:AHTML, Excel 2007+

The life of a designer is a life of fight against the ugliness.
 
Posts: 141 | Location: North Carolina | Registered: August 10, 2012Report This Post
Expert
posted Hide Post
As you had a workaround for the previous problem of the "ugly arrows", why not just extend that?

I added the following to the td[id^="I0r"] section and the padding was OK (ish?).

padding-left: 10px !important;
padding-right: 10px !important;

As I mentioned in your other post, IE8 (for me) doesn't load in quirks mode. All I am running for this test is -

SET CSSURL = '/approot/focalpoint/ahtml_style.css'
TABLE FILE IBISAMP/CAR
  SUM RCOST
      DCOST
   BY COUNTRY
   BY CAR
   BY MODEL
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET STYLE *
TYPE=TITLE, CLASS='columntitle', $
ENDSTYLE
END
-RUN

The CSS that I have is basically what you posted earlier.

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Just worth mentioning(?), but as the output of AHTML is not per the "normal" WF output, HTMLCSS setting is unlikely to come into play.

Normally, HTMLCSS=ON will cause the inline styling to be removed to a <style> section whereas HTMLCSS=OFF (default setting) gives the inline styling that many may hate.

Also, as AHTML is so different (necessarily so) the normal effect that a css class will have when specified as TYPE=DATA, CLASS=somecssstyle, $ will be nullified owing to the JS that is executed in building the active content. As this includes styling you can see why the !important attribute becomes so .... well, important to ensure that subsequent styling does not trump the initial styling that you set within the WF code.

I hope this helps you understand a little more but I am guessing that you are well versed in HTML and CSS anyway and have probably already pulled the AHTML output "to bits".

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Okay, thanks very much for testing that. I'm really wondering now it is about my reports that are triggering Quirks mode since I'm running the same OS, WF, and browser as you. This may be the point at which I open up a case with IBI.



Prod: 8.2.0.4 OS:Windows 10 Output:AHTML, Excel 2007+

The life of a designer is a life of fight against the ugliness.
 
Posts: 141 | Location: North Carolina | Registered: August 10, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Cell padding or spacing with AHTML

Copyright © 1996-2020 Information Builders