/    Sign up×
Community /Pin to ProfileBookmark

Flow from bottom right to top left

Hi folks,

I’m trying to develop a layout where new elements added to a page appear at the bottom right, and other are added flow left and then up.

Currently, they flow left until the ‘row’ is filled, then that row is pushed up as it were. Excuse the poor explanation, I find these things are easier to demonstrate than describe.

The layout I have presently:

[URL=”http://creativeinterweb.co.uk/layouttest/layout.html”]Current layout[/URL]

Sample divs can be added by clicking the small ‘Add’ button on the bottom left.

The flow as it occurs now is illustrated in the attached currentlayout.gif image, the flow as I would like it is illustrated in the attached desiredlayout.gif image.

IE does something completely different as usual, but that aside, can anyone suggest how I might achieve this, or even if it is possible without calculating and applying positions in JS?

Many thanks,

Baps.

[upl-file uuid=07198431-d264-4a73-8c80-6c33320a2d07 size=4kB]currentlayout.gif[/upl-file]

[upl-file uuid=ea3dbc78-3d26-44ba-a10b-52a6a56b05af size=4kB]desiredlayout.gif[/upl-file]

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @Baps spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...