我可以在图像映射中为ALT文本设置更大的文本大小吗? [英] Can I have larger text size for the ALT text in an image map?

查看:75
本文介绍了我可以在图像映射中为ALT文本设置更大的文本大小吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用图像映射,但我希望鼠标悬停在链接上时弹出的文本更大。但是,在图像映射中,该文本是ALT标记中的内容,并且似乎并不关心CSS中的文本大小。有治疗方法吗? (在导航链接的单独文本区域之外,我已经计划这样做。)

谢谢!

(ps。我确实尝试过研究这个,并没有人提到文字大小,只是我已经知道的所有信息。)

I want to use an image map, but I want the text that pops up when the mouse mouse overs the link to be larger. However, in an image map, that text is what''s in the ALT tag, and doesn''t appear to care what the text size says in the CSS. Is there a cure for this? (Outside of a separate text only area of links for navigation, I''m already planning on doing this.)
Thanks!
(ps. I did try to research this, and no one mentions text size, just all the info I already knew.)

推荐答案

顺便说一句,我也使用了title属性,所以大多数浏览器会在图像映射上的鼠标上显示文本。

[HTML] alt =" A - L ARCADE Games! title =" A - L街机游戏! [/ HTML]

我想要标题信息和alt信息以更大的文字显示,如果可能的话。谢谢!
By the way, I am using a title attribute as well, so that most browsers will show text on a mouse over on the image map.
[HTML]alt="A - L ARCADE Games!" title="A - L Arcade Games!" [/HTML]
I''d like both the title info and the alt info to show in larger text, if its possible. Thanks!


4天后,我可以假设答案是,我们还没有听说过让文字变大的工作吗?

或是不是CSS表中的标签是我错过的CSS类文件?

我还没找到任何东西。大声笑我甚至没有找到alt标签和标题标签的CSS等价物,或者有警报按钮诅咒。 (诅咒是警报按钮不能更改为显示更大的文本,只是因为你想要它。)当然,解决这个问题的工作是一个弹出窗口,将自己伪装成一个警告按钮。 LOL

说真的,我相信我的谷歌搜索答案是徒劳的,因为我的搜索条件错了。哈哈:D
After 4 days, may I assume that the answer is, we''ve not heard of a work around to get the text larger?
Or, is it rather there''s a tag in the CSS sheet that is in the CSS classes file that I missed?
I''ve not found anything yet. LOL I''ve not even found where the alt tag and title tag have a CSS equivalent, or has the alert button curse. (The curse is that alert buttons can''t be changed to display larger text, just because you want it to.) Of course, the work around to that, is a pop-up window, disguising itself as an alert button. LOL
Seriously, I do believe that my google searching of the answer has been fruitless because I''ve got my search terms wrong. LOL :D


抱歉一定是错过了这个帖子。你愿意使用Javascript吗?我已经看到一些可能有效的CSS工作,但它们特别适合浏览器。但是,如果你愿意做一些Javascript,你可以在mouseover事件中弹出各种各样的东西。


Aric
Sorry must have missed this post somehow. Are you willing to use Javascript? I''ve seen some work arounds with CSS that may work but they are browser particular. However, if your willing to do some Javascript you can make all kinds of things popup on a mouseover event.


Aric


这篇关于我可以在图像映射中为ALT文本设置更大的文本大小吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆