?

Log in

No account? Create an account

Previous Entry | Next Entry

A couple of quick questions from a CSS amateur:

1) I've been experimenting with Expressive for a new layout (yes, it's fugly right now), and I was wondering what CSS I would need to center the userpic in the profile section of the gamma sidebar?

2) Similarly, what CSS would I use to center the calendar in the gamma sidebar?

As you can see, the text in the sidebar is center-aligned, it's just the default usericon and calendar which I don't know how to move. (Just in case, my theme layer is here.)

Thanks in advance! :)

Comments

( 4 comments — Leave a comment )
butindreams
Oct. 22nd, 2006 07:13 am (UTC)
did you ever happen to figure out how to center your userpic (and calendar) in the sidebar? 'cause I would LOVE to do that, and can't figure it out with css so far.

also, how did you get your links list centered? the only thing I could get was the profile text...
natterfly
Oct. 22nd, 2006 01:28 pm (UTC)
Hey, yeah I did finally get it to work, after messing around with it for ages. You can see it here as I don't currently have it up. My CSS is here.

Looking through, I think this is how I did it, and it may not be the best or easiest way... but it works.

Centering the userpic - I've got:
.about-me-widget div.user-pic {float:none;}
.profile-list {text-align:center;}

Centering the calendar -
.calendar-widget {font-weight: normal; text-align: center;}
.calendar-widget table {float:none; font-size: xx-small; width:100%;}

Centering the links list -
.typelist-widget {text-align: center;}

I also have .widget-content {text-align:center;}, but I think that's just for my tags cloud, which you don't have. If the above doesn't work, try adding that line too.

I hope that works, it's been nearly a month since I did it and I've pretty much forgotten what it was that I fiddled with. If it doesn't, let me know and I'll take another look at my theme layer. :)
butindreams
Oct. 22nd, 2006 06:08 pm (UTC)
Thanks so much! I was dreading sorting through 5 different style sheets to find out what to override... and I never would've guessed that the userpic was floated.
natterfly
Oct. 22nd, 2006 01:30 pm (UTC)
Oops, I didn't scroll down your layout and missed that you do actually have a tag cloud. ;)
( 4 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars