![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
(OK, I fumbled this one and posted it to the wrong comm, so this time I'm double checking to make sure it goes to the right location)
My question is this: I would like to style replies and IP address notifications for
mag7wallpapers.
Using Firebug I discovered that span.de is what I needed to style. I followed the instructions used on this web page but the result wasn't exactly what I was hoping for. The notice now covers the Post comment, Preview and More options buttons, and I can't figure out how to separate the two.
I would also like to lower the Quote button next to Subject, or move it up - make that whole area neater, because the elements are all over the place - if it can be done. And also, have the notice expand to the width of the textarea.
(click to enlarge)

Help?
Original css:
Edited css:
(Fingers crossed!)
My question is this: I would like to style replies and IP address notifications for
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Using Firebug I discovered that span.de is what I needed to style. I followed the instructions used on this web page but the result wasn't exactly what I was hoping for. The notice now covers the Post comment, Preview and More options buttons, and I can't figure out how to separate the two.
I would also like to lower the Quote button next to Subject, or move it up - make that whole area neater, because the elements are all over the place - if it can be done. And also, have the notice expand to the width of the textarea.
(click to enlarge)

Help?
Original css:
Edited css:
(Fingers crossed!)
Tags:
no subject
Date: 2010-12-30 04:25 am (UTC)span.de is actually pretty easy to style (check my journal's reply pages for my ideas on that) but I've never added an image to it before, and I'm not sure if you want the IP notice floating or fixed (floating might be another issue).
The quote button can probably be moved where you want it with CSS, but again, I can't really check until tomorrow...
no subject
Date: 2010-12-30 11:00 am (UTC)I've seen it styled and know it can be done, but couldn't think of a way to do it myself. I'll be back soon.
(While you're offline, I will try to see what happens if span.de is floated and whether that would have any influence on the problem.)
You are a genius! Floating the element fixed the issue. :) Now it's just a matter of aligning the reply elements.
Hi, I'm back... :)
Date: 2010-12-30 09:54 pm (UTC)Secondly, which page view are you applying your changes to, since I cannot see them at all?
I keep checking the reply page at this link: http://mag7wallpapers.dreamwidth.org/321.html?mode=reply ... but that is not showing me your warning image for the IP notice or any other styling.Ok, that actually *isn't* showing me any styling, but maybe the code has to be modified to work on that page as well....I see your styling on the entry view, though (I had forgotten to check that, whoops).
Are you trying to apply your new code to all page views that support replies or only a certain one that I haven't checked?You probably are trying to apply it to all page views, but let me know, before I offer any code...
Lastly, do you still want me to look at moving the Quote button, or is that sorted?
Re: Hi, I'm back... :)
Date: 2010-12-30 10:25 pm (UTC)Huh, look at that, it really isn't showing. Yes, I'd like it to be visible on all page views. And yes, I'd like to arrange everything in a neat line (the link you tried actually shows how I'd like it to look - From, then below that Subject, followed by Don't auto-format and Quote, then finally the textbox - if it's doable, of course.
Re: Hi, I'm back... :)
Date: 2010-12-30 11:37 pm (UTC)When I try to work with the existing HTML on the page-reply view, I wind up applying your IP image to all the bolded form options, and there is no way to undo that so it applies just to the IP notice, from what I can see. Also no way to move the quote button on that page, for the same reason.
On the entry page, though, you can move the quote button where you want it with this:
.page-entry #quotebuttonspan{display:block; position:absolute; margin-top: .3em; margin-left: 12em;}
Normally, with absolute positioning, you don't use margin-top or margin-left like I did: you use top and left, but the button moves too far out of view with those, and requires too high an amount of re-adjustment space to bring it back inline, so margin-top and margin-left are my workarounds for that little problem (telling you this just so you don't form bad habits thanks to my hacks).
Re: Hi, I'm back... :)
Date: 2010-12-30 11:44 pm (UTC)Just tried it, and it pushes the quote button straight on top of the subject line. I'll try changing the margin a bit to see if that will make a difference, and I might change margin-top and -left to just top and left to see what you meant by it being too far out of view.
If it doesn't work out, I might remove styling for this completely because I'd much rather have it align correctly than have pretty colors.
Re: Hi, I'm back... :)
Date: 2010-12-31 12:15 am (UTC)"If it doesn't work out, I might remove styling for this completely because I'd much rather have it align correctly than have pretty colors."
Just to be clear, the colors are only applying to your IP notice styling. If you want to toss the quote CSS you can still keep the IP (span.de) CSS; one won't affect the other.
Re: Hi, I'm back... :)
Date: 2010-12-31 12:23 am (UTC)Re: Hi, I'm back... :)
Date: 2010-12-31 12:33 am (UTC)Re: Hi, I'm back... :)
Date: 2010-12-31 12:41 am (UTC)Re: Hi, I'm back... :)
Date: 2010-12-31 12:42 am (UTC)600 x 400800 x 600, but I fixed that while I was looking by changing margin-left to13em14em...I can post screen caps, if you like, and/or look at yours if you want, to see what you're talking about...Re: Hi, I'm back... :)
Date: 2010-12-31 12:51 am (UTC)http://img217.imageshack.us/i/800x60020101230194726.jpg/ (800 x 600)
Re: Hi, I'm back... :)
Date: 2010-12-31 01:01 am (UTC)Here are my screencaps, at my original resolution:
http://img407.imageshack.us/img407/3172/replyonentry.png
http://img218.imageshack.us/img218/6172/replyoncomment.png
They're still holding at 1024x768, but fall apart at 800x600.
Re: Hi, I'm back... :)
Date: 2010-12-31 01:10 am (UTC).page-entry #quotebuttonspan{display:block; position:absolute; margin-top: .3em; margin-left: 14em;}
That code closes up that huge space you're going to have between the subjectbox and the quote button otherwise, and it opens up that same space when the viewport is small without pushing the quote button way, way out there into the page gutter.
Re: Hi, I'm back... :)
Date: 2010-12-31 01:17 am (UTC)Re: Hi, I'm back... :)
Date: 2010-12-31 01:47 am (UTC)If this was IE we were seeing such differences in, then I could instantly blame the fact that I use Vista if you use XP (because IE8 for XP and IE8 for Vista actually display some of the same style elements a bit differently), but since we're both in Firefox, I'm simply out of ideas.
2nd edit: Just checked my Fonts folder; I don't have "Lucida Grande" installed and that's your main font throughout; if you do, maybe that's the reason (assuming it's a wider/smaller font)? *feels clueless*
Re: Hi, I'm back... :)
Date: 2010-12-31 05:17 pm (UTC)If it helps any, I'm on an XP Acer laptop with SP3 installed, no Vista fonts, and mostly use Firefox, IE rarely if ever. I think it's best to just leave it, since we've gotten it to look the best we could. If we ever have an idea, we can always go back and try something else.
(And it just occurred to me, we're two people most likely on the opposite sides of the world, who have never met and who are trying to solve a problem one of us has. Isn't this just an awesome environment? \(^_^)/)
Re: Hi, I'm back... :)
Date: 2011-01-01 04:20 am (UTC)At least we tried!
I love your IP notice image and background color, BTW; that was a very creative way to code it. :)
Re: Hi, I'm back... :)
Date: 2011-01-01 03:44 pm (UTC)Yes, we did! And it's no big deal that I can't make it perfect, or fit each and every display. What's important is that it's functional. I kept the code, just changed the pixel values a bit, and I'm satisfied.
Thank you, though I can't take any credit for it; I found it at Lone Wolf Designs while I was googling for notice styling. I will have to come up with some way to use the other notices in the comm. :ponders: Perhaps to emphasize some of the rules? :off to fiddle some more:
[edited for html fail]
Re: Hi, I'm back... :)
Date: 2010-12-31 12:28 am (UTC)no subject
Date: 2010-12-30 11:49 am (UTC)no subject
Date: 2010-12-30 11:55 am (UTC)no subject
Date: 2010-12-30 10:06 pm (UTC)no subject
Date: 2010-12-30 10:20 pm (UTC)no subject
Date: 2010-12-30 10:02 pm (UTC)no subject
Date: 2010-12-30 10:09 pm (UTC)no subject
Date: 2010-12-30 10:22 pm (UTC)Edit: Yeah, actually, I do have it block displayed:
.de{display:block; padding: 4px; width: 98%; border: 1px solid #c3c0ba; margin-top: 1em!important;font-size: 80%;
background: #F3F5F2; color:#af230c;font-weight:bold; font-style:oblique;}
I've added so much code to the original layout I literally cannot recall all of it, but at least now that's cleared up. :)
no subject
Date: 2010-12-30 10:30 pm (UTC)And it looks pretty! I've always thought this should be more emphasized than it is.
(I've subscribed to CSS code BTW; I'm probably going to need it soon; I have a style I have no idea how to code...)
no subject
Date: 2010-12-30 10:40 pm (UTC)no subject
Date: 2010-12-30 10:45 pm (UTC)no subject
Date: 2010-12-30 11:27 pm (UTC)For instance, on LJ and DW, the CSS for our user icons is .ljuser, but there's also a span around them in many page views that you can style separately. In that case you would try something like span.ljuser {background: red}. If you just want to style the icon, then you'd leave off the span and write something like .ljuser {height: 13px}.
In other words (editing after realizing why this is confusing, and that my explanation was not terribly clear) in my example, .ljuser controls the user-icon image only, while span.ljuser can control the background for that image and the image itself, if you like. Hope that helps. :)
no subject
Date: 2010-12-30 10:35 pm (UTC)I seem to do that a lot lately. :)
I just replaced float with block, and you're right, it does look much better. I'll go read other replies now.