So this is the first time I have been here and I hope that I am tagging this right mods, but if I am not I am sorry in advance
What I want to do is resize the Reply, Parent, Thread Links because they are really super small. The layout that I have is from
minty_peach. I tried asking various other people how to do it and they keep on recommending the same thing
(
Read more... )
Comments 16
.commentbox div[style*="smaller"] {font-size:10pt !important}
Reply
Reply
Reply
Reply
A look on the HTML code of the site in question will show you this simplified pullout:
(Links for Reply, Parent,Thread, Link)
Flexible Square puts for some reason the CSS instructions directly into the div element of the links. Such inline styles
take precedence over external and internal (= LJ CSS box) style sheets. The second issue is that said div element isn't
named width a class and/or id. .commentbox div[style*="smaller"] {font-size:10pt !important} solves both problems.
addresses just the div element with the inline style.
e.g. [width] would adress all(!) html elements which contain a htlm(!) width information: images, tables,
certain divs, et al.
Reply
thank you do much for this though! :D i am going to add this post to memories~ ^^
at least i understand the * now though. that had me baffled. so basically the asterisk just means anything inside of style="******here*******"?
i have been messing with it and kinda figured it out... but just from copying your code... yea only with the code you have given... is it possible for you to give me another example? (you can make something up, doesn't need to be lj related) just so i can absorb it better?
(as in.... other ways to use it? if you knwo what i can google or have links you can just link me if you dont feel like explaining XD)
Reply
I made a small html file for testing. Copy the code, insert it in a text editor,
save the file "xxx.html" and open it with your favored browser. Play around and enjoy :)
... )
Reply
Reply
Leave a comment