Welcome to WebmasterWorld Guest from 23.20.110.176

Forum Moderators: not2easy

Message Too Old, No Replies

How do I change the styling on an image's title?

<img src="image.gif" title="how do I style this?">

     
8:03 pm on Oct 8, 2009 (gmt 0)

Full Member

10+ Year Member

joined:June 27, 2001
posts:234
votes: 0


Say I have an image...

<img src="image.gif" title="stuff about the image">

When you hover over this image, "stuff about the image" appears. How do I change the styling of this stuff?

Like the title's background, font, font color, width, stuff like that.

It seems like it should be really simple and obvious, but I can't seem to figure it out.

Any help would be appreciated.

8:56 pm on Oct 8, 2009 (gmt 0)

Preferred Member

5+ Year Member

joined:May 29, 2007
posts: 578
votes: 0


Hi Perfection,

Although there's no easy way to implement what you want (across browsers), there are solutions, in threads right here on WebmasterWorld, often with invaluable input from SuzyUK :)

For starters, I suggest you make sure your caffeine level is at an optimum and then try Google: Results 1 - 34 of 34 from webmasterworld.com for "Pure CSS Popups" [google.com]

2:01 am on Oct 11, 2009 (gmt 0)

Full Member

10+ Year Member

joined:June 27, 2001
posts:234
votes: 0


Thanks for the info. It's much more of a big deal than I thought, but I'll give it a shot.

Thanks again.

5:07 pm on Oct 11, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 29, 2003
posts: 1676
votes: 0


CSS is not the 'Alpha and Omega' of presentation. In addition to Pure CSS Popups, there are also many solutions based on JS that work cross-broswer, work right 'out of the box', are very compact in code, and have a significant range of funcutionality. Probably 95%+ of your users will have JS enabled. Keep your options open.

Tables were hacked every which way to make pages do what authors wanted. CSS has seen the same. There is nothing wrong with that. Just don't forget that the designer's toolbox has all kinds of useful stuff in it.