[personal profile] faevii posting in [community profile] style_system
I'm trying to create a layout by adding custom CSS to the Tabula Rasa style.

Does anybody happen to know which element I need to remove the margin from in order to get rid of the gap between the navigation strip and the header? I've tried everything I could think of already ...

Date: 2011-01-24 12:27 pm (UTC)
jana: [Naruto] Sakura (Default)
From: [personal profile] jana
You need to edit several classes:

body{margin: 0; padding:0; } --> removes some of the space between canvas and navigation strip

#canvas{margin: 0; padding: 0; overflow: hidden; } --> makes the whole canvas box 'visible', thereby 'removing' the space between header and navigation strip

#canvas .inner{margin: 0; padding: 0; overflow: hidden;} --> removes space between header and top of canvas box and and top of content box

Hope this works for you as well!

Profile

Dreamwidth style system discussion

May 2026

S M T W T F S
     12
345678 9
10111213141516
17181920212223
24252627282930
31      

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 19th, 2026 05:46 am
Powered by Dreamwidth Studios