Forum Moderators: not2easy

Message Too Old, No Replies

can you use CSS to set status bar text?

         

inferno

7:57 am on Dec 24, 2005 (gmt 0)

10+ Year Member



ive always used the trick in dreamweaver, but is there a way to set the status bar text for every page on a site using css?

Robin_reala

8:40 am on Dec 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, that's a Javascript trick. CSS only influences items within the viewport.

Well, unless you're styling the browser chrome with CSS like Firefox, but that's a different thing entirely :)

Arno_Adams

12:33 pm on Dec 24, 2005 (gmt 0)

10+ Year Member



Hi,

it's bad practise to use the status bar for your messages. People expect to see an URL there, not your info.

If you want to add extra info to a link, use the title attribute or use css to change their appearance. (external links, other protocols, per filetype etc)

HTH, AA

createErrorMsg

2:58 pm on Dec 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



styling the browser chrome with CSS like Firefox

Um...like IE, yes? ;)

cEM

Robin_reala

3:08 pm on Dec 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



IE doesn't use CSS to style the chrome does it?

createErrorMsg

6:46 pm on Dec 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh, I see. You're referring to FF's userChrome.css [mozilla.org] file, correct?

I was talking about IE's proprietary scrollbar properties [msdn.microsoft.com] (which I personally abhor) that allow page authors to control the look of the user's browser chrome.

Robin_reala

10:21 pm on Dec 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ah, OK. What I was actually referring to was the entire user interface in Firefox, which is built using XUL. XUL is an XML language that uses CSS for styling (like inside the viewport). For example, the XML specifies which elements exist in the page, and the CSS specifies their layou and how they should look. Most of this thoug hisn't standard CSS and relies on Mozilla extensions. As long as they don't leak into public sites this is OK in my book. userChrome.css is an 'overrides' file which lets the user make changes to the UAs appearence without having to edit the main files.

Of course I might be wrong about all this, I've not ever tried to hack XUL.