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

This widget could not be displayed.
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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

399 views 4 6
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