[personal profile] inner_v0ice posting in [community profile] style_system
Hi, all!
I know absolutely nothing about CSS (I'm sure you all love to hear that phrase...XD), and in a fit of insanity decided to make a CSS layout anyway, by engaging in extreme amounts of trial-and-error. You can see the layout on my journal now; it's basically Transmogrified with some superficial changes. (stylesheet, in case it helps)

I think I've finally reached the limit of what I can do with trial-and-error, so I turn to you kind folks now for help!


1) I managed to move the userpics down into the box with the text of the entry, but I don't know how to make the entry text wrap around the userpic instead of the userpic overlapping it.

Here's how the code for the userpic currently looks:

.entry-title, .comment-title { margin: 0; }
.has-userpic .entry-title, .has-userpic .comment-title { margin-right: 120px; }
.entry .userpic a, .comment .userpic a { right: 10px; left: auto; }
.entry .userpic a, .comment .userpic a {
display: table-cell;
position: absolute;
top: 10px;
width: 114px;
height: 114px;
text-align: center;
vertical-align: middle;
padding: 7px;
}
.entry .userpic img, .comment .userpic img {
border: none;
}


OLD PROBLEM SOLVED, NEW PROBLEM ACQUIRED:
changing the userpic from position: absolute to float: right gets the text to wrap around the userpic--thanks, [personal profile] sam_gardener!--but the userpic is now oddly low:



adding a float: left to the entry title like so:
.has-userpic .entry-title, .has-userpic .comment-title {float: left; margin-right: 120px; }
lets the userpic move up but the date & name of the poster interact with the two floating elements in a variety of bizarre ways:




...Halp?

Thanks in advance for any and all help that you can offer! ♥

Date: 2010-09-13 02:39 pm (UTC)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
From: [personal profile] matgb
Despite knowing it's clockwise from top, I can never remember it when I'm actually coding, several of my styles end up with margin-top, margin-left, etc just because I can't get it wrong. Waste of code bandwidth, but at least it's right...

But yeah, that works, I should've twigged the absolute issue, that's exactly what I did wrong initially, but it was a year ago.

Date: 2010-09-13 05:45 pm (UTC)
sam_gardener: The catbus from My Neighbor Totoro. (Default)
From: [personal profile] sam_gardener
Yeah, I have difficulty remembering things from a day ago, never mind a year. :)

Profile

Dreamwidth style system discussion

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 30th, 2025 12:26 pm
Powered by Dreamwidth Studios