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 8720697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:05:43+00:00 2026-06-13T07:05:43+00:00

Kind of a newbie question, I guess, but nevertheless: I’m implementing a Bootstrap split

  • 0

Kind of a newbie question, I guess, but nevertheless:

I’m implementing a Bootstrap split button, working from their example:

<div class="btn-group">
  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
    Action
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

In my code, the dropdown links are working fine; my question is how to assign an action to the main part of the button — the part made up of the “Action” text. I’m currently replacing “Action” with the same kind of <a> tag I’m using in the “dropdown menu links” section; this works fine except for some color and text-decoration styles that can easily be handled by some css. I’m just trying to make sure that this is the proper way to do it, since it’s not explicitly covered in the Bootstrap doc site (at least that I’ve found).

Anyway: is this the right thing?

  • 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-13T07:05:44+00:00Added an answer on June 13, 2026 at 7:05 am

    I would do something like this (I think this is what you described, anyway):

    <div class="btn-group">
      <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
        <a href="someaction">Action</a>
        <span class="caret"></span>
      </a>
      <ul class="dropdown-menu">
        <!-- dropdown menu links -->
      </ul>
    </div>
    

    It’s not going to get much better than that without JavaScript.

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

Sidebar

Related Questions

This is a kind of newbie question, but I couldn't find a solution. I
this is kind of a newbie question, sorry but...if a model has no controllers,
Well it's kind of a newbie question but I think lots of people have
I kind of have a newbie question. I've done some testing, but I didn't
Kind of a newbie question here but I promise it is really hard to
I'm kind of a newbie to objective programming, so sorry for the dumb question.
I am kind of newbie on C++, and working on a simple program on
Hi I am a newbie in these kind of stuff but here's what i
Kind of a follow up to a question from yesterday. I have a hash
This is kind of a newbie question. I am new to ORM and I

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.