小编Abd*_*afa的帖子

css max-height 似乎不适用于 IE Edge 浏览器

我正在尝试在页面上创建一个浮动 div,它似乎在除 IE 和 Edge 之外的所有浏览器上都能完美运行。我试图用谷歌搜索它,看看是否有人可以解决,但找不到。这是您在 Chrome 中尝试然后在 Edge 或 IE 中尝试的小提琴 - https://jsfiddle.net/ov02Lkja/

HTML -

<div id="tracking-products-container" style="display: table;">
  <div class="tracking-products-inner">
    <div class="tracking-products-wrapper">
      <table>
        <thead>
          <tr>
            <th>
              <input class="check-all-tracking-products" type="checkbox">
            </th>
            <th>Item</th>
            <th>&nbsp;</th>
            <th>Quantity Shipped</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>
              <input name="tracking_products[]" type="checkbox" value="54">
            </td>
            <td></td>
            <td class="cell-name">Something</td>
            <td>
              <input name="tracking_quantity[54]" type="number" value="384">
            </td>
          </tr>
          <tr>
        </tbody>
      </table>
    </div>
    <div class="tracking-products-bottom"><a class="button button-primary" id="tracking-products-save">Select Products</a></div>
  </div>
</div>
Run Code Online (Sandbox Code Playgroud)

CSS -

.tracking-content .tracking-products {
  margin-top: 10px;
  background: #e1e1e1;
  width: 100%;
  table-layout: …
Run Code Online (Sandbox Code Playgroud)

html css internet-explorer microsoft-edge

4
推荐指数
1
解决办法
5504
查看次数

下一个按钮将焦点带到下一个UITextField?

我有三个UITextFields,我需要第一个选项卡到第二个时候点击下一个,第二个选项卡到第三个时候点击下一个.最后是第三个隐藏键盘.作为一个侧面问题,用户可以通过点击所有文本字段上屏幕上的任何其他位置来隐藏键盘吗?

这是我的代码:

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController


-(void) procrastinationNotificationSwitchOnOrOff {

    if (_procrastinationNotificationSwitch.on) {
        _notificationOnOffLabel.text = @"Procrastination Notification On";
        self.notificationStatus = @"NOTIFICATION ON";
        NSLog(self.notificationStatus);
    }
    else {
        _notificationOnOffLabel.text = @"Procrastination Notification Off";
        self.notificationStatus = @"NOTIFICATION OFF";
        NSLog(self.notificationStatus);
    }
}


-(void) presentMessage:(NSString *)message {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Class Stuff" message:message delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
    [alert show];

}

-(void) notificationStatus:(NSString *)stat {
   NSString *status = [NSString stringWithFormat:@"%@", stat];

}

-(IBAction)addButton:(id)sender {


    NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init];
    dateFormatter.timeZone = …
Run Code Online (Sandbox Code Playgroud)

objective-c uitextfield ios

2
推荐指数
1
解决办法
1531
查看次数