Realmac Software

Welcome guest, please Login or Register

   

Blocks and text-align

Rank
Rank

Total Posts: 38

Joined Jan 2010

PM

 

I have a html block in my blocks-page
I wanted the text to align with the right margin of the box

#white-style
{
color:#999;
font-size: 9px;
text-align: right;
}

<span id=white-style> Text bla-bla-bla</span>

but it keep aligning with the left side

Ideally I wanted first half of the line to align with the left side and second half with the right, but this is also not working

#white-style-left
{
color:#999;
font-size: 9px;
text-align: left;
}

#white-style-right
{
color:#999;
font-size: 9px;
text-align: right;
}


<span id=white-style-left> Left text bla-bla-bla</span>  <span id=white-style-right> Right text bla-bla-bla</span>

——-

Is it not possible to set text-align in html blocks in blocks-pages?

Rank
Rank
Rank

Total Posts: 54

Joined Oct 2008

PM

 

I’ve done it with the old-school standard html tag i.e.

<p align="right">Text bla bla bla</p

maybe that will work for you?
Frank