NetTalk Central

Author Topic: where to change or set colour of hyperlink strings  (Read 6393 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
where to change or set colour of hyperlink strings
« 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?

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: where to change or set colour of hyperlink strings
« Reply #1 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.

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: where to change or set colour of hyperlink strings
« Reply #2 on: May 03, 2009, 08:23:24 AM »
tried that but still cant find where in the css file to control the hyperlink colour

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: where to change or set colour of hyperlink strings
« Reply #3 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


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: where to change or set colour of hyperlink strings
« Reply #4 on: May 03, 2009, 10:40:38 PM »
sorry - forgot attached pic.


[attachment deleted by admin]

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: where to change or set colour of hyperlink strings
« Reply #5 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?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: where to change or set colour of hyperlink strings
« Reply #6 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

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: where to change or set colour of hyperlink strings
« Reply #7 on: May 04, 2009, 08:29:17 AM »
haha thanks bruce ;D

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: where to change or set colour of hyperlink strings
« Reply #8 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?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: where to change or set colour of hyperlink strings
« Reply #9 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


olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: where to change or set colour of hyperlink strings
« Reply #10 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?