css: #editor { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .theme-Code{ float:right; position:relative; top:-50px; } .page .content-Base h2 Editing #{params[:filename]} .theme-Code p style="display:inline-block; margin-right:10px" Theme: select id="theme" size="1" onchange="setTheme();" onkeyup="setTheme();" optgroup label="Bright" option value="ace/theme/chrome" Chrome option value="ace/theme/clouds" Clouds option value="ace/theme/crimson_editor" Crimson Editor option value="ace/theme/dawn" Dawn option value="ace/theme/dreamweaver" Dreamweaver option value="ace/theme/eclipse" Eclipse option value="ace/theme/github" GitHub option value="ace/theme/solarized_light" Solarized Light option value="ace/theme/textmate" TextMate option value="ace/theme/tomorrow" Tomorrow option value="ace/theme/xcode" XCode optgroup label="Dark" option value="ace/theme/ambiance" Ambiance option value="ace/theme/chaos" Chaos option value="ace/theme/clouds_midnight" Clouds Midnight option value="ace/theme/cobalt" Cobalt option value="ace/theme/idle_fingers" idleFingers option value="ace/theme/kr_theme" krTheme option value="ace/theme/merbivore" Merbivore option value="ace/theme/merbivore_soft" Merbivore Soft option value="ace/theme/mono_industrial" Mono Industrial option value="ace/theme/monokai" Monokai option value="ace/theme/pastel_on_dark" Pastel on dark option value="ace/theme/solarized_dark" selected="selected" Solarized Dark option value="ace/theme/terminal" Terminal option value="ace/theme/tomorrow_night" Tomorrow Night option value="ace/theme/tomorrow_night_blue" Tomorrow Night Blue option value="ace/theme/tomorrow_night_bright" Tomorrow Night Bright option value="ace/theme/tomorrow_night_eighties" Tomorrow Night 80s option value="ace/theme/twilight" Twilight option value="ace/theme/vibrant_ink" Vibrant Ink