473,761 Members | 7,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Format alternative Text

How can I do to format the text shown in alt="..."
Is it possible to define the size of the field?, colour of background, font, etc?
Thank you
Bettina
Jul 20 '05 #1
2 2739
On 13 Jun 2004 07:32:56 -0700, Bettina <be*****@coaste r.ch> wrote:
How can I do to format the text shown in alt="..."
Is it possible to define the size of the field?, colour of background,
font, etc?
Thank you
Bettina


IE might be the only browser that puts alt text in a popup tooltip. The
title attribute is what appears in the tooltip in all browsers. The alt
text can only be expected to appear in place of an unrendered image.

Bearing that in mind, yes, you can apply CSS to the img element which will
affect (in many browsers) the rendering of replacement alt text. Or you
can include the image within heading tags to get the text to be understood
and rendered as a heading.

"Size of the field" ... I'm not sure what you mean.
Jul 20 '05 #2
be*****@coaster .ch (Bettina) writes:
How can I do to format the text shown in alt="..."
Is it possible to define the size of the field?, colour of
background, font, etc?


With CSS, certainly. Not sure what you mean by 'size of the field',
but for the rest:

img {
font-family: sans-serif;
color: #c00;
background: #fff;
}

Browser support varies. It works fairly well in modern graphical
browsers with image-loading disabled, most text-mode browsers don't
support it, though. And it's meaningless in speech browsers,
obviously.

If you mean reformatting the thing that you get when hovering over an
image in IE, as far as I know that can't be reformatted. Furthermore
you shouldn't be using alt for that anyway, use alt for an alternative
and title for supplementary information like the hover.

--
Chris
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2754
by: c# newbie | last post by:
System.Web.Mail.MailFormat The enumerated values for MailFormat are: Html Text How can I send a multipart/alternative format message ?
6
7739
by: dyw55a | last post by:
How to implement mm/dd/yyyy format for textbox? I have text box with format mm/dd/yyyy. Now I want the cursor i generated whenever user highlight this textbox and whatever user inpu replace one of char in "mm/dd/yyyy" one at a time. I will be appreciated if anyone could give me some idea to implemen this through JavaScript. thanks,
4
1753
by: Jon | last post by:
There's an interesting interview with Gary Edwards, one of the leaders of the team developing the Open Document Format (used in StarOffice8, OpenOffice2, etc.) See: http://madpenguin.org/cms/html/62/5304.html One comment Gary made was particularly bold: "...OpenDocument is now before the ISO (International Standards Organization) board for ratification. From there, there is no doubt
2
1314
by: Raghavendra Mahuli | last post by:
Hello, I have a text file in which records are stored in a particular format. For ex: Node1( att1, att2, node2(attx)) I need to convert it to xml. I know xsl can be used to convert *xml to* some other format. But i need the reverse operation. Same thing in xml has to be transformed to something like(need not be
0
2341
by: Klaus Bonadt | last post by:
I would like to parse an email, which I receive from a pop3 account. While the subject and the sender's email address are probably easy to determine, the body seems to be more difficult because of multi-part messages in MIME format. I am interested only in the plain text. Do you know an easy way to retrieve plain text of the body from an email message? Maybe a class, which can be constructed using the whole message string as a parameter...
8
2702
by: rdemyan via AccessMonster.com | last post by:
I've converted my application from A2K format to A2003 format. I tried to follow Allen Browne's protocol in getting my app into A2003 (although I was unable to find informtion on the conversion process). Lots of decompiling and lots of compacting of the original application in A2000. Then the app was opened in A2003 and compacted, decompiled and compacted. Next I imported everything into a blank A2003 database. Then this db was...
0
2801
by: sachintandon | last post by:
Hello all, Thanks in advance for your help I have a problem in sending emails, my requirement is to send multipart alternative emails with attachments, I'm able to send text with attachments or HTML mails with attachments, but some mail clients are not able to display the html mails that is why I need to send multipart alternative emails, when I used multipart/alternative then I'm not able to send attachments and if I use the multipart/mixed...
2
1635
by: Muleskinner | last post by:
Hi forum, I use the following code to open the users default mail client with values set in reciever, subject and body fields: Dim msg As String = String.Format("mailto:{0}{1}", Uri.EscapeDataString("example@example.com"), "?") msg &= String.Format("subject={0}{1}", Uri.EscapeDataString("subject text"), "&") msg &= String.Format("body={0}", Uri.EscapeDataString("body text")) System.Diagnostics.Process.Start(msg)I've testet this with...
5
3770
by: The Pipe | last post by:
Hello I have a table that I need to export to a .asc file format. I have had several attempts at getting this to work but with no luck. Basically the file would need to have every record displayed on a separate line - If you like a CrLF delimited file. The unfortunate thing is that the file is to be then imported into a third party piece of software and as such I have no other alternative but to use this file format. Does anyone have...
0
9957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8780
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7332
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5373
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.