NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Koen Tjoa on December 15, 2011, 04:19:08 AM
-
Hi All,
I converted my application from NT5 to NT6. The appearance of the header and the menu (double-drop) is changed a bit. The characters in the header are smaller and the menu is missing its border. As far as I can see the CSS files have been changed a bit:
- Smaller characters: In NT5 the class .nt-site-header (styles\netweb.css) has a property font-size: 3em; which is missing the NT6 version of the file. I guess we are supposed to use <h1> or something like that now.
- Missing border in menu. The class .nt-menu-div (styles\jquery-nt-menu.css) has a also changed.
- The property border: 0 solid #CCCCCC; is changed to border: 1px solid #CCCCCC;
- And margin-bottom: 0.5em; is changed to margin: 4px;
These two changes make of course that there is no border anymore around the menu. Is there any special reason why this is changed what I am overseeing? Or if it is just a matter of taste? In case of the latter, is there a way to get that border back with the available classes? (The menu is placed outside the header-div). I tried the setting Include CSS from NetTalk 4, but that didn’t make a difference.
Cheers,
Koen
-
Hi Koen,
Headers changed somewhat in NT6. Bruce did a writeup on what changed at http://www.capesoft.com/docs/NetTalk6/NetWebHeader.htm
Skip
-
Hi Skip,
I have read that and followed the instructions, but unfortunate there are some changes in the CSS files I didn’t expect. I tried what would happen if the option Include CSS from NetTalk 4 is ticked, but that makes no difference. Maybe I have to accept that the border around the menu is considered old-fashioned. But the way the menu buttons placed now, makes them a bit floating. But the way the menu buttons placed now, makes them a bit floating.
Regards,
Koen
-
Hi Koen,
you most certainly don't have to accept anything. The CSS that ships is just a default - you have complete control over what the end result looks like.
If you have followed the suggestions I wrote about in the upgrade doc, and you're not happy with the results, then you're free to add any css you like to it. I've noticed a reluctance of some people to dabble in CSS, which surprises me somewhat because it's so trivial to do. If you haven't yet, watch the webinar on CSS - and start from there. And if you're not sure you can always post a screen-shot here to ask for help.
cheers
Bruce
-
Hi Bruce,
Thanks, creating my own CSS files won’t be a problem.
Cheers,
Koen