473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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 3358
harshmaul
490 Expert 256MB
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 Expert 4TB
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 Expert 256MB
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 Expert 4TB
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
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")%> ...
1
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. ...
8
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...
8
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...
0
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:...
8
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...
1
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,...
1
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...
3
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.