![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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!
Thank you!
no subject
Date: 2010-10-01 02:41 pm (UTC)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.
no subject
Date: 2010-10-01 04:31 pm (UTC)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.
no subject
Date: 2010-10-01 05:26 pm (UTC)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.
no subject
Date: 2010-10-02 04:25 am (UTC)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.
no subject
Date: 2010-10-03 01:44 pm (UTC)no subject
Date: 2010-10-03 07:07 pm (UTC)I think i did everything else as you explained to me though, thanks for the help!
no subject
Date: 2010-10-04 06:34 am (UTC)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.