NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: olu on May 02, 2009, 09:11:20 AM

Title: where to change or set colour of hyperlink strings
Post by: olu on May 02, 2009, 09:11:20 AM
just a quick question where do i change the colour of hyperlink strings on browse and browse header string colour when sorting is enabled?
Title: Re: where to change or set colour of hyperlink strings
Post by: bshields on May 03, 2009, 02:34:14 AM
Using firebug check the CSS class of the hyperlink and add your desired value into your own custom CSS file.
Title: Re: where to change or set colour of hyperlink strings
Post by: olu on May 03, 2009, 08:23:24 AM
tried that but still cant find where in the css file to control the hyperlink colour
Title: Re: where to change or set colour of hyperlink strings
Post by: Bruce on May 03, 2009, 10:31:08 PM
Hi Olu,

What Bill said.
See the attached pic.

Use Firebug (www.getfirebug.com) to "Inspect" the header. The style being applied appears on the right.

So to override it, in your custom.css file add a different style called
a
and that style will apply rather than the default one.

Cheers
Bruce

Title: Re: where to change or set colour of hyperlink strings
Post by: Bruce on May 03, 2009, 10:40:38 PM
sorry - forgot attached pic.


[attachment deleted by admin]
Title: Re: where to change or set colour of hyperlink strings
Post by: olu on May 04, 2009, 06:43:13 AM
hi thanks bruce yes i was able to identify and change the colour globally but what if i want each hyperlink on different table to have diffrent colour? and also where do i change the sortup and down image like from sortup.png to up.gif or do i have to convert gif to png and call it same name?
Title: Re: where to change or set colour of hyperlink strings
Post by: Bruce on May 04, 2009, 07:51:38 AM
Hi Olu,

>> Thanks bruce yes i was able to identify and change the colour globally but what if i want each hyperlink on different table to have diffrent colour?

Well then we should all beat you up with a wet noodle until you cry like a baby... :)

but if you _really_ want to do this;
a) set the style for the browse to some new style (ie not BrowseTable)
b)  make your new style - called say OluBrowse
c) make the
.OluBrowse a {
}
style and put your settings in there.

>> and also where do i change the sortup and down image like from sortup.png to up.gif or do i have to convert gif to png and call it same name?

yes, convert it and use the same name.

Cheers
Bruce
Title: Re: where to change or set colour of hyperlink strings
Post by: olu on May 04, 2009, 08:29:17 AM
haha thanks bruce ;D
Title: Re: where to change or set colour of hyperlink strings
Post by: olu on May 04, 2009, 08:41:15 AM
just one more question to ask when i click on my sort header on my browse the browse width changes from my set width until i close browse and reopen any ideas please?
Title: Re: where to change or set colour of hyperlink strings
Post by: Bruce on May 04, 2009, 08:36:42 PM
Hi Olu,

I think that's an IE peculiarity you're describing - I've seen it to, but I don't think it can be changed. I'd need to see the effect to be sure, but it reminds me of IE behavior.

cheers
Bruce

Title: Re: where to change or set colour of hyperlink strings
Post by: olu on May 04, 2009, 11:36:36 PM
hi bruce yes you are right because everything seems to work fine in firefox anyway round this?