Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8484911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:29:59+00:00 2026-06-10T20:29:59+00:00

I am trying to modify/update a webmail script where i want to have two

  • 0

I am trying to modify/update a webmail script where i want to have two hyperlinks inside a li tag without the second link wrapping to the next line. I also want to have the whole <li> to be clickable, similar to what yahoo mail has.
I have searched on here and googled but can’t find anything that works.

this is what isnt working:

<div class="vertical">
<ul>
<li><a href="#">Folders</a></li>
<li><a href="#">Inbox</a></li>
<li><a href="#">Drafts</a></li>
<li><a href="#">Sent</a></li><br/>
<li><a href="#">Trash </a><a href="#">[empty]</a></li>
</ul>
</div>

This is the code i have so far including the css that i cant get it to work.

http://jsfiddle.net/z4gQC/33/

Thanks in advance for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:30:01+00:00Added an answer on June 10, 2026 at 8:30 pm

    See working example here: http://jsfiddle.net/pratik136/z4gQC/26/

    Change your CSS to:

    div.vertical
    {
        width:100%;
        height:80px;
    }
    div.vertical ul
    {
        list-style-type:none;
        margin:0;
        padding:0;
    }
    div.vertical li
    {
        float:left;
        width:200px;   
        background-color:#f3f3f3;
    }
    div.vertical a
    {
        display: inline-block; 
        width:50px;   
    }
    div.vertical a:link,div.vertical a:visited
    {
        font-weight:bold;
        color:#666666;
        text-align:left;
        padding:8px;
        text-decoration:none;
    }
    div.vertical li:hover,div.vertical a:active
    {
        background-color:#d4d4d4;
    }
    span 
    {
        display: table-cell;
        vertical-align: middle;
    }​
    

    Edit:

    OP requested the [empty] one to be right aligned.

    Fiddle: http://jsfiddle.net/pratik136/z4gQC/35/

    Add a class to <a href="#">[empty]</a> as

    <a href="#" class="right">[empty]</a>
    

    And add the following to your CSS:

    div.vertical a.right:link, div.vertical a.right:visited{
        text-align: right;
    }
    

    ​

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to modify the controls of a Panel, have it update, then
I'm trying to modify and update an old Greasemonkey script with the goal of
I have trying to run the below script to modify the timestamp in the
I'm trying to update (add/modify files) an existing JAR file, and this code (using
I'm trying to modify an svg tag with javascript to make it resizable, but
I am trying to modify the script below to click a button that looks
I'm trying to modify an object on a click. Here's what I have. <form>
I am trying to modify the content in my page without a reload. Currently
I am trying to modify model coming from View and then update my database
I'm trying to modify the two database files used by Google Drive to redirect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.