[CLOSED] Z-index for LinkButton

  1. #1

    [CLOSED] Z-index for LinkButton

    I hav a linkbutton:

     <ext:LinkButton runat="server" ID="lButton" Icon="Calculator" Text=" ">
                                <Listeners>
                                    <Click Handler="alert('action');" />
                                </Listeners>
                            </ext:LinkButton>
    and want to bring it on top...


    Tried with Cls='upFront':

    .upFront {
                padding-top:3px; z-index: 100;
            }

    but nothing seems to be working.
    Last edited by Daniil; Apr 30, 2013 at 4:04 AM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi @deejayns,

    According to this
    http://www.w3schools.com/cssref/pr_pos_z-index.asp
    z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).

    I think a LinkButton has "position: static;" by default.

    You can try:
    .upFront {
        position:absolute;
        z-index: 100;
    }
    In this case you might need to position a LinkButton manually.

    Also I would use CtCls="upFront" instead of Cls="upFront".

Similar Threads

  1. Replies: 2
    Last Post: Apr 11, 2013, 2:57 PM
  2. [CLOSED] Linkbutton Tooltip in v2.0
    By jwf in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 30, 2012, 3:26 PM
  3. [CLOSED] underline LinkButton
    By majunior in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 03, 2011, 12:46 PM
  4. LinkButton Style
    By HzA in forum 1.x Help
    Replies: 0
    Last Post: Feb 08, 2011, 9:53 AM
  5. Replies: 0
    Last Post: May 22, 2009, 7:59 AM

Tags for this Thread

Posting Permissions