Ie developer toolbar, see overridden styles? - internet-explorer-6

Im using the Ie developer toolbar for IE6. By selecting an element I can see the CSS being applied to it. Is there a way of seeing other overridden styles the way you can with firebug?
Thanks

I don't know about the developer toolbar, but DebugBar will show you all CSS rules applied to the element you are looking for, even if it is overridden by another one.

Related

Set the browser's tab background color with browser extension/addon

Is there any way of setting the browser's tab background color (not the favicon image) and text color with the help of an browser extension/addon.
I've searched the internet to and fro and found nothing in the APIs. So I think it is not possible. But maybe someone has a solution for that.
What I want to achieve is to tint the colors of TYPO3 tabs according to the application context (Development, Production/Staging, Staging). I managed to set the top-bar color in the TYPO3 backend depending in the application context, so the logic works well. What I'd like to have now is a way of tinting the tab.
You are right: there's nothing in Firefox or Chrome API that allows you to color individual tabs easily. But there are some workaround ideas..
Colorful Tabs uses theme override to style individual tabs, including (by default) based on domain, using the browser.theme API that only Firefox supports. However, after trying it out, it might not fit your requirements: in current Firefox version it only affects the color of the currently selected tab (and the address bar), not providing you with a good overview.
Some other extensions for Firefox, for example TST Colored Tabs use sidebar tab representation that duplicates the tab bar, with possible enhancements. Also not ideal, and also Firefox-specific.
For Chrome, there's a Chrome-specific API tabGroups that can add color outline to tabs, but only by adding them to a group. You can have many groups, but it's still going to be ugly if your tabs are interspersed or moved around.
So let me propose an out of the box solution: use a custom favicon per application context instead of trying to change how the tab UI looks. That would be always visible in the tabs strip without any code on the browser's part. You could also override favicons from extension code if there's no easy way to do it on the application side.

Setting italic in RichtText

I am displaying richtext on my web page. and have added an italic text, but it does no show as italic, just normal text.
when I look in developer tool it looks like the xsp.css is setting font-style to inherit but I can't decide what it inherits from.
how can I find out what is causing the italic to not being set correctly?
I created an empty database with a form and an xpage and seem to get the same problem
the result is the same in Chrome, Firefox and IE
In Developer Tools go to the second tab on the right called Computed. Here you can find "font-style" and see what style sheets are used to compute the styling.
Here's an example from an XPages app that uses the OneUI theme:

Customizing portal's navigation bar

I want to customize the navigation bar in my theme. I searched for the CSS file that styles the navigation bar in the css directory but I couldn't find it.
In the nagivation.vm file, the navigation is declared as follows:
<nav class="$nav_css_class" id="navigation">
and using firebug I found out that the class is
sort-pages modify-pages.
I appreciate your help.
Thanks
The css file is called css/navigation.css. However, best practice is to do all modifications in _diffs/css/custom.css - this file is loaded last and all settings in there will override those in navigation.css and any other files. As a side effect, you'll have all of your settings neatly separated from Liferay's and are in a better position during updates.
custom.css is supposed to be empty in all themes that are meant for extension. If you start with the classic theme, you'll see that custom.css in there is not empty - this means, that the classic theme is not meant to be extended. Technically you can still do so of course, but Liferay might change this theme without notice in future versions and you'll end up upgrading then.

Is it possible to make a tooltip appear on a DotNetNuke menu?

I am running DNN 5.x and the XDMediaBlue skin in horizontal menu full mode. Is there any way to have a tooltip appear for menu items?
I would look at jQuery one of the tooltip plugins should be able to do this - not exactly sure how the tooltip info might be loaded in practice but i think it could be done without a lot of work maybe loading a json array of info after the page loads that the tooltip plugin could use
Here is one link to get you started - http://craigsworks.com/projects/simpletip/ and here is google to find a bunch of these - http://www.google.com/search?q=jquery+tooltip&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

ModalPopupExtender adding scrollbars in SharePoint

Whenever I show a ModalPopupExtender on my Sharepoint site, the popup shown creates both horizontal and vertical scrollbars. If you scroll all the way to the end of the page, the scrollbar refreshes, and there is more page to scroll through. Basically, I think the popup is setting its bounds beyond the end of the page. Has anyone run into this? Searching Google, it seems this may be a known problem, but I haven't found a good solution that doesn't include recompiling AJAX, which my boss will not allow.
Hacky answer would be to grab the IE Developer Toolbar, find the tag that has the scrollbar, and alter your CSS file to add the overflow:hidden property to it.
I assume the TargetControl is of sufficient size to hold everything you put in it? If so, try:
Set CSS overflow:hidden;
If the target control is a Panel, set scrollbars="none". Otherwise, put it in a panel and try it.

Resources