Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Align two buttons next to each other

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #147382
    stfarm
    Participant

    Help please, I can’t seem to align the two buttons next to each other. Any help is appreciated.
    <telerik:RadNotification ID="RadNotification1" runat="server"
    Position="Center" Width="381px"
    Height="100px"
    AutoCloseDelay="60000"
    LoadContentOn="PageLoad"
    OnCallbackUpdate="OnCallbackUpdate"
    OnClientShowing="OnClientShowing"
    OnClientHidden="OnClientHidden"
    Title="Session Timeout" TitleIcon="" Skin="Office2007" EnableRoundedCorners="true"
    ShowCloseButton="false">
    <ContentTemplate>
    <div class="infoIcon" style="width: 40px; float: left;">
    <img id="Img1" src="~/images/infoIcon.jpg" alt="info icon" runat="server"/>
    </div>
    <div style="width: 200px; float: left; margin-top: 6px;">
    Time remaining:&nbsp; <span id="timeLbl">60</span>
    </div>
    <div style="clear:both"></div>
    <div class="notificationContent">
    <div style="float:left;">
    <telerik:RadButton Skin="Windows7" ID="btnlogout" runat="server" Text="Logout Now"
    Style="margin-top: 10px;" AutoPostBack="false" OnClientClicked="gotoLogout">
    </telerik:RadButton>
    </div>
    <div style="float:right">
    <telerik:RadButton Skin="Windows7" ID="continueSession" runat="server" Text="Continue Your Session"
    Style="margin-top: 10px;" AutoPostBack="false" OnClientClicked="ContinueSession">
    </telerik:RadButton>
    </div>
    <div style="clear:both"></div>
    </div>
    </ContentTemplate>
    </telerik:RadNotification>

    #147389
    Paulie_D
    Member

    Can you put something in Codepen or JSfiddle?

    #147392
    stfarm
    Participant

    I tried, it does not seem to recognize the telerik buttons. I will see if I can use normal ones. Thanks for the tip.

    #147397
    Senff
    Participant
    <telerik:RadNotification ID="RadNotification1" runat="server"
    Position="Center" Width="381px"
    Height="100px"
    AutoCloseDelay="60000"
    LoadContentOn="PageLoad"
    OnCallbackUpdate="OnCallbackUpdate"
    OnClientShowing="OnClientShowing"
    OnClientHidden="OnClientHidden"
    Title="Session Timeout" TitleIcon="" Skin="Office2007" EnableRoundedCorners="true"
    ShowCloseButton="false">
    <ContentTemplate>
    <div class="infoIcon" style="width: 40px; float: left;">
    <img id="Img1" src="~/images/infoIcon.jpg" alt="info icon" runat="server"/>
    </div>
    <div style="width: 200px; float: left; margin-top: 6px;">
    Time remaining:  <span id="timeLbl">60</span>
    </div>
    <div style="clear:both"></div>
    <div class="notificationContent">
    <div style="float:left;">
    <telerik:RadButton Skin="Windows7" ID="btnlogout" runat="server" Text="Logout Now"
    Style="margin-top: 10px;" AutoPostBack="false" OnClientClicked="gotoLogout">
    </telerik:RadButton>
    </div>
    <div style="float:left">
    <telerik:RadButton Skin="Windows7" ID="continueSession" runat="server" Text="Continue Your Session"
    Style="margin-top: 10px;" AutoPostBack="false" OnClientClicked="ContinueSession">
    </telerik:RadButton>
    </div>
    <div style="clear:both"></div>
    </div>
    </ContentTemplate>
    </telerik:RadNotification>
    
    #147399
    stfarm
    Participant

    Thank you for the quick reply and help. They just dont seem to align.
    Here is what it looks like now.

    Image

    #147406
    Senff
    Participant

    We’d need to see the actual site and be able to see the underlying code, or else we won’t be able to help much further I’m afraid.

    #147409
    stfarm
    Participant

    Yeah, I can understand that. I will just use an old fashioned table for now. Thanks for all your help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.