Layout problem in Confluence 5 Admin screens

Hello people,

I'm experiencing a weird layout problem when I develop my own web sections within the Confluence administration: the left main navigation shifts down with the my body content.

I attached two screenshots:

1) The default layout of the administration console (which is perfectly fine)
2) My own admin action which makes the navigation shift down

The screens show the Chrome devtools with a <br class="clear"> tag marked. In the screen with the layout problem, if I shift that <br> tag up one div level, the problem is solved. But I'm not sure how to fix this (I'm currently putting a <br class="clear"> with JavaScript one level higher at the end of <div id="admin-content"> which is an ugly workaround I would like to get rid of.

Any help's appreciated!

Regards,
Felix Grund [Scandio GmbH]

1 answer

0 votes
Sean Curtis Atlassian Team Apr 02, 2013

Why are you even clearing that? Can you not just remove that entirely?

Also if you do need to clear floats I'd recommend using the micro-clearfix technique instead of adding an element like that <br>

http://nicolasgallagher.com/micro-clearfix-hack/

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,084 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you