Jump to content

Recommended Posts

please refer to http://sudhakargolakaram.co.in/verticallist.html

 

my question is about the width of the link for each of the list items

 

the list items have different words so the width of the words are different, when the mouse moves on individual links the hyperlink cursor appears based on the length of each link, for this i have given

 

#list1 ul li a {

padding: 10px 0 20px 0;

}

 

however this is being ignored and

 

#list1 ul li {

padding: 10px 0 20px 0;

}

 

is being interpretted, in this case since i have links in the list items i guess #list1 ul li a{} should be interpretted correct or is

#list1 ul li {} only interpretted, ultimately what i want is the hyperlink cursor should appear based on the width of an individual link

 

please advice

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/192717-vertical-list/
Share on other sites

Here is a tutorial to show how to get the link to be the size of the largest list item (if that is what you meant).

 

http://css.maxdesign.com.au/listutorial/roll10.htm - the link is to the solution ...

 

to see how it is done from start to finish, use the link and go back 5 steps to here: http://css.maxdesign.com.au/listutorial/roll04.htm

Link to comment
https://forums.phpfreaks.com/topic/192717-vertical-list/#findComment-1015263
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.