Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery mobile 在jquery mobile中方向改变时,如何将标题向左放置_Jquery Mobile - Fatal编程技术网

Jquery mobile 在jquery mobile中方向改变时,如何将标题向左放置

Jquery mobile 在jquery mobile中方向改变时,如何将标题向左放置,jquery-mobile,Jquery Mobile,当方向更改为横向模式时,我想将标题放在左侧,并将整个标题放在左侧。 我怎样才能做到这一点 感谢您宝贵的时间。使用CSS中的媒体查询来实现这一点。代码示例: @media screen and (orientation:portrait) { /* Use CSS here to align header to top */ } @media screen and (orientation:landscape) { /* Use CSS here to align header to le

当方向更改为横向模式时,我想将标题放在左侧,并将整个标题放在左侧。 我怎样才能做到这一点


感谢您宝贵的时间。

使用CSS中的媒体查询来实现这一点。代码示例:

@media screen and (orientation:portrait) {
  /* Use CSS here to align header to top */
}

@media screen and (orientation:landscape) {
 /* Use CSS here to align header to left */
}

你能详细说明你想做什么吗?这是平板电脑还是手机?你说Header是什么意思?您能给出一些示例代码,说明您尝试过什么和/或使用了类似的东西吗?