A quick quezzie (hopefully) (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


yogaboy -> A quick quezzie (hopefully) (8/30/2005 9:51:04)

Hello peeps,

Does anyone know how to affect the size of the TITLE attribute of HREFs? When I use it, it comes out as one long line and gets cut off if it reaches the edge of the DIV it's in.

Any ideas what I can do?




Tailslide -> RE: A quick quezzie (hopefully) (8/30/2005 10:27:52)

Iain

Could you give us an example URL as this isn't a problem I've come up against before. My understanding is that a title tag is good for around 60 characters which should be long enough for most things.





yogaboy -> RE: A quick quezzie (hopefully) (8/30/2005 10:36:23)

Sorry, no can do, as it's on my development server and won't go live for a couple of weeks.

I've seen it done elsewhere, entire paragraphs with carriage returns - the whole caboodle![:)]




caz -> RE: A quick quezzie (hopefully) (8/30/2005 10:49:51)

You have probably seen this done with CSS and with an image map? If that's so have a look at Stu Nicholl's tutorial here

It will give a lead on using the title tag in the way that you want to.




Tailslide -> RE: A quick quezzie (hopefully) (8/30/2005 10:52:51)

quote:

ORIGINAL: yogaboy

Sorry, no can do, as it's on my development server and won't go live for a couple of weeks.

I've seen it done elsewhere, entire paragraphs with carriage returns - the whole caboodle![:)]


Firefox/Moz to my knowledge will only do titles in a straight line (I stand to be corrected on that!). You can set up a <span> so that it looks like a tool tip i.e. it's hidden normally until you hover the link and the span will be visible then and styled like a tooltip - below the link, in a yellow box or whatever. Here's the link: http://www.communitymx.com/content/article.cfm?cid=4E2C0&print=true

Or you can do a similar thing with a JS script by Brothercake which will show titles on focus rather than just on hover etc (got this on my site) so you can see the title tag when tabbing - and this is also styleable.




yogaboy -> RE: A quick quezzie (hopefully) (8/30/2005 11:05:27)

Thanks Tailslide, that is exactly what I was looking for - a non javascript answer to my tooltip problem!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625