gpt4 book ai didi

html - 将桌面版页面更改为移动版的不同样式

转载 作者:行者123 更新时间:2023-11-28 05:24:57 24 4
gpt4 key购买 nike

我很难弄清楚这一点。目前,正如您在下面看到的,我在图片下方有链接。

我希望当用户使用移动版网站时,这些链接位于内容下方而不是图片下方。

enter image description here

如有任何帮助,我们将不胜感激。

谢谢

更新

以下是页面的html。我使用的 css 来自 bootstrap:

<div class="row">
<aside class="col-lg-offset-1 col-lg-2 col-md-3 col-sm-3 col-xs-12">
<span class="editableObject editableComponent" style="display: block; width: 181px; float: none;"><span class="editableObjectContents" style="display: block; width: 181px; float: none;">
<p><img alt="About Us" height="220" src="/assets/Image/about-us.jpg" width="220"></p></span>
<ul class="editableObjectControl">
<li class="edit"><a href="/admin/?muraAction=cArch.edit&amp;contenthistid=4F3181C1-155D-0201-110389B72699E8CC&amp;siteid=Regal-en-us&amp;contentid=FB628EF2-155D-0201-11F363089D9B2CE8&amp;topid=00000000000000000000000000000000001&amp;type=Component&amp;moduleid=00000000000000000000000000000000003&amp;parentid=00000000000000000000000000000000003&amp;compactDisplay=true&amp;homeID=80EAE971-155D-0201-113C16061274FBBA" data-configurator="false" title="Edit" class="frontEndToolsModal"></a></li>
</ul>
</span><nav id="navStandard" class="mura-nav-standard well">
<ul class="nav nav-list">

<li class="first"><a href="/index.cfm/about-us/our-awards/">Our Awards</a></li>
<li><a href="/index.cfm/about-us/compliance-and-resources/">Compliance and Resources</a></li>
<li><a href="/index.cfm/about-us/our-contracted-hospitals/">Our Contracted Hospitals</a></li>
<li><a href="/index.cfm/about-us/our-health-plans/">Our Health Plans</a></li>
<li><a href="/index.cfm/about-us/our-leaders/">Our Leaders</a></li>
<li><a href="/index.cfm/about-us/our-mission-and-history/">Our Mission and History</a></li>
<li class="last"><a href="/index.cfm/about-us/our-organization-and-offices/">Our Organization and Offices</a></li> </ul> </nav>
</aside><!-- /.span -->
<section class="col-lg-8 col-md-9 col-sm-9 col-xs-12 content">
<nav class="hidden-xs"><ol itemscope="" itemtype="http://schema.org/BreadcrumbList" id="crumblist" class="mura-breadcrumb breadcrumb breadcrumb">
<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem" class="first"><a itemprop="item" href="/"><span itemprop="name">Home</span></a><meta itemprop="position" content="1"></li><li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem" class="last"><a itemprop="item" href="/index.cfm/about-us/"><span itemprop="name">About Us</span></a><meta itemprop="position" content="1"></li>
</ol></nav>
<h1 class="pageTitle"><div class="mura-editable inactive inline">
<label class="mura-editable-label">TITLE</label>
<div contenteditable="false" id="mura-editable-attribute-title" class="inactive mura-editable-attribute inline" data-attribute="title" data-type="text" data-required="true" data-message="" data-label="title">About Us</div>
</div></h1>
<div class="mura-editable inactive">
<label class="mura-editable-label">BODY</label>
<div contenteditable="false" id="mura-editable-attribute-body" class="inactive mura-editable-attribute" data-attribute="body" data-type="htmlEditor" data-required="false" data-message="" data-label="body"><p>Group has been providing quality, innovative healthcare to&nbsp;Los Angeles, Riverside, San Bernardino, Ventura and Orange Counties&nbsp;for more than 35 years.&nbsp; With the largest physician-owned network in Southern California, more than half a million people and their families have selected us to deliver their healthcare.</p>

<p>We have doctors in your community who speak your language and understand your culture. As a result of the high quality of care our doctors provide, we are a 4.5 STAR network as measured by the Centers for Medicare &amp; Medicaid Services.</p>

<p>At Regal Medical Group, we take a whole-health approach to help our patients improve physical, mental, and emotional well-being. We do this by offering value-added services like patient focused programs, health education classes, health fairs, and more!</p></div>
</div>
</section>
</div>

最佳答案

解决此问题的一种非常快速但不优雅的方法是将链接部分打印两次...一次在 visible-xs 中,另一次在 hidden-xs 中...

<div class="visible-xs">I am the same menu but visible only when extra small devices</div>
<div class="hidden-xs">I am the same menu but hidden only when extra small devices</div>

您发布的代码不清楚,但我假设您使用的是 twitter bootstrap

关于html - 将桌面版页面更改为移动版的不同样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38839424/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com