Html 一条线上的NAPW

Html 一条线上的NAPW,html,css,Html,Css,我正试图在我的网站上的一行显示: <div itemscope itemtype="http://schema.org/LocalBusiness"> <span itemprop="name">My Business Name</span> <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> <span itempr

我正试图在我的网站上的一行显示:

<div itemscope itemtype="http://schema.org/LocalBusiness">
   <span itemprop="name">My Business Name</span>
   <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
     <span itemprop="streetAddress">My Road</span>
     <span itemprop="addressLocality">My Town</span>,
     <span itemprop="addressRegion">My City</span>
     <span itemprop="postalCode">My Postcode</span>
   </div>
   Phone: <span itemprop="telephone">My Telephone</span>
</div>
我希望它显示为:

My Business Name, My Road, My Town, My City, My Postcode, My Telephone Number
有什么想法吗?

只需添加显示:内联块;到

CSS


或显示:内联:。结果是相同的。抱歉,完成编码新手:div.itemscope{display:inline block;}不工作?需要设置类或id…itemscope不是类或id。例如:div.yourclass{display:inline block;},我编辑我的答案。
My Business Name, My Road, My Town, My City, My Postcode, My Telephone Number
div.yourclass{
    display: inline-block;
}