473,698 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to wrap up a link text when displayed in colum format

2 New Member
I have a requirement to display the link in colum format in IE browser. The link text is associated with an image (double arrow). Since the text of the link is large enough to set in one of the column width the text and the image are messed up.

When I tried removing half of the link text then it is properly displayed. For example, from the link text "Give as much detail as possible" if I remove "as possible" the link text will become "Give as much detail" and after removing the some part of text it is properly displayed along with an image. But I need to display the link with complete text. This link is present under text message which is incorporated with <ul> and <li>, there are no <span> or <div> tags for this link. Is there any way to wrap up the link text?

Please let me know your inputs to handle this scenario.

Thanks in advance.
Feb 25 '08 #1
4 3388
harshmaul
490 Recognized Expert Contributor
Hi, if you want to wrap the link text, set the width of the a attribute to a fixed width, or the li element...

Expand|Select|Wrap|Line Numbers
  1. <li style="width:100px"><a href="http://www.google.com">click here for more details</a></li>
Expand|Select|Wrap|Line Numbers
  1. <li><a style="width:100px" href="http://www.google.com">click here for more details</a></li>
Feb 25 '08 #2
ronverdonk
4,258 Recognized Expert Specialist
Or put a break in the middle of the text, e.g.
Expand|Select|Wrap|Line Numbers
  1. <li><a href="http://www.google.com">click here for<br>more details</a></li>
Ronald
Feb 25 '08 #3
harshmaul
490 Recognized Expert Contributor
D'OH, forgot the fundementals!! I was straight in there with the most complex solution i could think of ;)
Feb 25 '08 #4
ronverdonk
4,258 Recognized Expert Specialist
D'OH, forgot the fundementals!! I was straight in there with the most complex solution i could think of ;)
We think so complicated that we never look for the simple.

Ronald
Feb 25 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1906
by: JimJones | last post by:
Hey, I don't really know much about ASP but I need some help modifying the way a field is currently displayed. Currently the ASP code inside my page is simply: <%=rs.Fields("Notes")%> This is fine for displaying the text, but the text contains links which are
1
7047
by: Margaret Asami | last post by:
I have 2 frames, one frame is a table of content with a bunch of links, and the other frame houses the contents. I want to be able to change the color of the link text when the user clicks on it. I tried this: var name = document.links.text; name.fontcolor("yellow"); but didn't work, probably because "name" is a copy, not a reference to the link object property right ? Can anyone help ? Thanks a bunch in advance!!
8
6546
by: Stevio | last post by:
This is perhaps a bit off topic for this group, but I am using Internet Explorer 6 and I have noticed recently that when I hold the mouse over an image the Alt text is not displayed like it used to be. Does anyone know why this is and how I can fix it so that the Alt text is displayed? Thanks, Stephen
8
41592
by: Orloff | last post by:
Hi, on most (all?) browsers, when you put the pointer on a <a href="..." title="popup text">this is a link</a> without clicking on the link, there is a popup caption with the "popup text". I would like to achieve the same with some text that is not a link. I realized that I could simply make it <a title="popup text">this is just some text</a>
0
387
by: Kathryn | last post by:
Hello, I am trying to read an xml file into a web page via asp.net. I am current using an rss format and reading it directly into a DataSet with the following command: ds.ReadXml("xmlfilepath\xmlfile.xml", XmlReadMode.Auto) Here is an example of an element in the xml file: <item> <title>Newark Valley Fathers Day Challenge</title>
8
3660
by: FUGATO | last post by:
I need to help in my assignment. I need to wrap a text with the following indications: 1.If you have reached the end of the line (number of characters on this line >= 40) AND you have reached the end of the current word, start a new line and reset the number of characters on the line to 0. The end of a word will be denoted by one of these: blank space, '\n', '.', ',' or ';'. #include <stdio.h> #include <ctype.h>
1
5758
by: duzhidian | last post by:
Hello: I just want to use a two columns web. If I put sidebar on the right, it there is a list, it's fine. If it is a paragraph, the width will not work? Why? In the following example, width is 200 px, but the contents is much long than that.
1
3069
by: bussasrinivas | last post by:
How to wrap up text shown with a table cell after a certain length intervals ? -------------------------------------------------------------------------------- I have a requirement to wrap a text shown within a table after every 12 characters here is what I have <td width="76"> This is a text that needs to be wrapped after every 12 characters.This is a text that needs to be wrapped after every 12 characters.This is a text that needs to...
3
2369
by: jinkala | last post by:
hi frnds, i am working on MS Access. can u tell me how to wrap the text in tables. when ever text lenth crosses its cell length then text is trimming.can u tell me how to wrap the text.tell me is there any property to wrap the text in access tables.
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
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...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
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
5862
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
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
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
2007
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.