52 coaches online • Server time: 12:05
Forum Chat
Log in
Recent Forum Topics goto Post DOTP Season 4goto Post Skittles' Centu...goto Post Secret League Americ...
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
jdm



Joined: Nov 30, 2011

Post   Posted: Oct 16, 2016 - 11:02 Reply with quote Back to top

Hi,

I'm trying to line up 3 floating boxes, one left, one centre and one right. The left and centre are on the same line but the right box is always a line below.

Any help would be appreciated as I'm sure it's something simple I'm missing.

Code:
[block=automargin floatleft blackborder border2 width=200px bg=#ccc]Text[/block]\
\
[block=automargin floatcenter blackborder border2 width=200px bg=#ccc]Text[/block]\
\
[block=automargin floatright blackborder border2 width=200px bg=#ccc]Text[/block]


Example is here

_________________
Image


Last edited by jdm on Oct 16, 2016 - 13:09; edited 1 time in total
DeZigma



Joined: Aug 21, 2011

Post   Posted: Oct 16, 2016 - 12:31 Reply with quote Back to top

[bbcode][block=automargin floatleft blackborder border2 width=200px bg=#ccc]Text[/block]\
\
[block=automargin floatright blackborder border2 width=200px bg=#ccc]Text[/block]\
[block=automargin floataligne blackborder border2 width=200px bg=#ccc]Text[/block][/bbcode]


This should work. First left then right than aligne

_________________
Image
jdm



Joined: Nov 30, 2011

Post   Posted: Oct 16, 2016 - 12:33 Reply with quote Back to top

Seems so obvious now /not

Thanks DeZigma, that did the trick Very Happy

_________________
Image
Wreckage



Joined: Aug 15, 2004

Post   Posted: Oct 16, 2016 - 12:38 Reply with quote Back to top

floataligne?
Balle2000



Joined: Sep 25, 2008

Post   Posted: Oct 16, 2016 - 15:06 Reply with quote Back to top

Wreckage wrote:
floataligne?

Yeah. In my experience floataligne is not a thing. Just remove it.

DeZigma's code works because the floating blocks (right & left)) comes before the middle one. In the 1st example the middle block comes before the one with floatright, forcing it to float below the fixed middle block.

Anyway, it's spelled "align" Smile
jdm



Joined: Nov 30, 2011

Post   Posted: Oct 16, 2016 - 16:22 Reply with quote Back to top

Removed all the floataligne, float aligne and float-a-line and nothing changed in the layout so b2k appears to be correct Smile

Thanks all

_________________
Image
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic