NetTalk Central

Author Topic: NT5 and Rounded Header and Footer  (Read 3266 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NT5 and Rounded Header and Footer
« on: December 06, 2009, 07:07:08 AM »
Hi,
No matter what I choose, Rounded or Plain the Header and Footer appears allways plain.
See attached images.

One more thing: look at the space between the menu and the header line and the space between the header line and the first prompt, they dissapeared.
There were checks in the form template that dissapered too.
Now how can we add these blank lines between?

Thanks
Alberto

[attachment deleted by admin]
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT5 and Rounded Header and Footer
« Reply #1 on: December 07, 2009, 05:07:34 AM »
Which browser are you using?

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NT5 and Rounded Header and Footer
« Reply #2 on: December 07, 2009, 05:21:36 AM »
FB
Here goes an IE image...

THanks
Alberto

[attachment deleted by admin]
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT5 and Rounded Header and Footer
« Reply #3 on: December 07, 2009, 05:34:13 AM »
I've fixed the minor problem with the "rounded" border in FF etc.
Thanks for that. (Actually the fix may sort out some other things as well, but I'll keep you posted on that.)

In fact, you can apply the fix there. In the netWeb.clw file, search for Combine, and change the two IF statements so the code reads like this;

Code: [Select]
  code
  if not omitted(4)
    loc = clip(p_local)
    if loc[1] <> ' ' and loc <> ''
      return loc
    end
  End

  if not omitted(3)
    locdef = clip(p_override)
    if locdef[1] <> ' ' and locdef <> ''
      return left(locdef) & loc
    end
  end
  etc

Regarding the blank space after the menu:
I'm moving the generated code more an more to using CSS for layout as well as presentation. So, for example, to add a bottom margin to the chromeMenu, set the "style" for the chrome menu to be
'chromemenu nt-margin-bottom'

To give the menu rounded corners (in everything except IE) change it to
'chromemenu nt-margin-bottom ui-corner-all'

If you want there to be a small gap _above_ the menu (after the header) then you can either add 'nt-margin-bottom' to the header, or add 'nt-margin-top- to the menu. So, for example, the menu might become
'chromemenu nt-margin-bottom ui-corner-all nt-margin-top'

Cheers
Bruce