Rendering portal:OrganizationControl without line breaks: separators

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/13/2012 2:44:41 PM
Gravatar
Total Posts 4

Rendering portal:OrganizationControl without line breaks: separators

Hi, I am using the portal:OrganizationControl in the footer of a site, but I need the company name, address and phone number to show up on the same line.

This CSS did the trick:

div.addresswrap { display: inline; }

However, I also need to find a way to add a separator (a comma in my case) in between the street address and the city/state/zip and then also after the zip before the phone number.

I could of course put the commas in the actual values, but that solution isn't very neat.

Any ideas if this can be done?

Thanks,

SA.

7/15/2012 12:50:47 PM
Gravatar
Total Posts 18439

Re: Rendering portal:OrganizationControl without line breaks: separators

You can "probably" accomplish it using css after like this:

 

.org span[itemprop="streetAddress"]:after ,
.org span[itemprop="postalCode"]:after
{ content:", ";}
 
Hope that helps,
 
Joe
You must sign in to post in the forums. This thread is closed to new posts.