Click to See Complete Forum and Search --> : change title


Alidad
08-07-2008, 09:10 PM
hi, does anyone know how i can change title background color!

currently they set default to blue in IE, how can i write code in php to change title background color to Red!

AM

NogDog
08-07-2008, 09:18 PM
If you're talking about the <title> text that most browsers display at the top of the window, that is a Windows setting totally outside the control of your PHP script (or HTML or JavaScript, for that matter). If you're talking about something else, then I need a more detailed explanation.

dagon
08-07-2008, 09:18 PM
thats a css issue not a php one

background-color: #f00

Alidad
08-07-2008, 09:30 PM
thanks for your response, I'm sorry for not clear, i'm trying to change color title in css, i have tried everything i could and is not working or showing.

Can anyone give me sample code in css with <title> code then combine, becuse i have tried everything and still not working.

Please help thanks.

AM

NogDog
08-07-2008, 09:33 PM
Again, if you are referring to the browser title bar value set by the HTML <title> tag, its display characteristics are outside of the web page's control; it is part of the browser, and it's colors are controlled by your PC's operating system, not by the web document.

nrg_alpha
08-07-2008, 10:41 PM
I'm confused by the use of the word 'title'..

The closest thing I can think of (and this is not for IE, but rather Firefox or Opera) is to open a new tab, and enter 'about:config' in the url field. This will bring up that browser's list of attributes you can modify... There is a search window that you can enter key words like 'background' or 'color'.. you should be able to trackdown and modify your browser's defaut charactistics.. but just so you know, this will not override webpage CSS declarations.

If you are refering to the 'title' that appears in a tab when you visit a website, as Nog has mentioned, this is not modified through the browser.. this is a windows thing (which is completely different).

Cheers,

NRG