[personal profile] carisma_sensei posting in [community profile] style_system
The last layout i attempted to make for DW looked alright and worked fine for me... but then a user found some problems that i really couldn't solve. I wanted to ask for help, if you would be able to test the layout for me (on various browsers etc) and maybe even teach me how to solve that fhsdjkgh problem D: I would love to keep making layouts for DW (i'm not as good with DW coding as i am with Lj uhg), and since i couldn't solve this problem, i haven't really wanted to touch DW CSS or anything... so please, help?

Thank you!



Date: 2010-10-01 02:41 pm (UTC)
cesy: "Cesy" - An old-fashioned quill and ink (Default)
From: [personal profile] cesy
Have you managed to reproduce the user's problem, or did it only happen on their journal?

If you haven't managed to get the same problem, it might be worth asking them to try it on a spare journal (I have invite codes if needed), where they can leave it up in broken form for us to look at and investigate.

Date: 2010-10-01 04:31 pm (UTC)
zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)
From: [personal profile] zvi
You need to ask what the screen resolution is and how wide this user keeps her browser window. Also, what size font is the browser set to use?

Because some of this stuff is done with CSS positioning, it can sometimes get a funky alignment in a too small window. Or with a very large font.

Date: 2010-10-01 05:26 pm (UTC)
samsharessometimes: (Default)
From: [personal profile] samsharessometimes
It looks very nice on my journal, I don't see a problem with it except that the profile link covers the reading link. You can have a look if you like, I'll leave it up for a while so you can look but it's not my style :) . I'm using firefox and 1440 X 900 resolution and no other css.

ETA: on a closer look, it's not fine. My avatar is covering up part of the posts. I took a screenie:

http://img227.imageshack.us/img227/7504/stylebitmap.png

I'll keep working with it and see if there's anything more. I also posted in inconformista.
Edited Date: 2010-10-01 06:36 pm (UTC)

Date: 2010-10-02 04:25 am (UTC)
mmmag: A cotton cloud with drop shaped beads dangling below. (Default)
From: [personal profile] mmmag
Here's a visual of the Transmogrified layout structure that I just made:


In order to make room for the sidebar, you need to give a padding to #wrap that equals the width of the sidebar and the spacing you want between the sidebar and the content. Also, have #content & .module-section-two float to the same side you want the sidebar to be. Finally, give the sidebar a negative margin in the direction you want it, equal to the padding you gave #wrap.

You also need to give #content a width of 100% so that the other pages don't look odd.

For example, for your sidebar:
#wrap {padding-left: 200px}
#content {float: left; width: 100%;}
.module-section-two {float: left; width: 200px; margin-left: -200px;}

If you prefer to use absolute positioning, like I do:
#wrap {padding-left: 200px; position: relative;}
#content {width: 100%}
.module-section-two {position: absolute; top: 0; left: 0; width: 200px;}

When styling .module-section-two use .module-section-two .inner for padding and borders, since that affects if the sidebar displays properly. For #content (for padding and borders) use #entries instead, .tags-container in the tags page, #archive-year for year-at-a-glance archives and #archive-month for month-at-a-glance archives. [This only applies if you are using the first example. Different browsers interpret padding, margin and borders differently. On Firefox it might look fine, but be broken in Opera/etc. If you are using absolute positioning, you needn't worry much. I think...]

With all this said, I couldn't quickly make the first example work for you, but the second one does. The site uses the first example in the default Transmogrified layout, so it does work.

Sorry for writing too much. Hopefully this helps.
Edited (Adding more info.) Date: 2010-10-02 06:57 am (UTC)

Date: 2010-10-04 06:34 am (UTC)
mmmag: A cotton cloud with drop shaped beads dangling below. (Default)
From: [personal profile] mmmag
It looks good!

To separate the entries you can give a margin-bottom to .entry-wrapper or give a height to #content .separator-after. .separator-after is used in other places other than between entries, so it's best to specify.

If you need further help, let me know.

Also, if you are using Firefox I recommend the Web Developer add-on. It's the coolest thing ever, when it comes to CSS. I've been using it to help people out with css problems and to help myself as well.

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 5th, 2025 02:14 am
Powered by Dreamwidth Studios