Colours for visualizing, not my fault if you go blind. :B
(may 23, reworked link section. USE BBCODE INSTEAD OF FILTERED HTML )
Remember to put your CSS under the cut!
Set your Input Format to BBCode!
Write all CSS in one line!
You don't need to credit me for anything.
CSS Templates
The easiest way yo use these templates is to change #ffffff hex colours and replace background images.
Experiment with the colours to see what is what.
simplest and easiest to edit; lacking refinement
simple, easy to edit; slight transparency effects
refined, transparency effects, right-aligned sidebar; code for 'normal' sidebar in comments (page 2)
3 Versions. refined, heavy page altering, lots of transparency
This Blog
This blog is only useful to you when you have any
pre-knowledge of CSS!
Otherwise you will not gain much from it. This blog shows the "names" of different parts through different colours.
If you want to understand CSS, check out
* {CSS Basics} How Do I CSS?
BLOG CODE
Colours for Sidebar Links
OUTSIDE (RED & PINK)
body
(includes: #logo #header #header-region #center .sidebar .menu .item-list
anything pink and red here)
#logo
#header
#header-region
(includes: .menu)
#center
(includes .sidebar .menu .item-list)
.sidebar
(includes: .menu .item-list)
.menu
.item-list
INSIDE (BLUE)
#wrapper #container #center .right-corner .left-corner
(includes: .breadcrumb .node .submitted(blog only) #tabs-wrapper .picture .links
anything blue)
.breadcrumb
.node
.submitted
(in comments and blog)
#tabs-wrapper
.picture
.links
COMMENTS (GREEN)
#comments
(includes: .comment.odd, tr.odd tr.even, .comment.even)
(only visible when you have "background:none" on .comment.odd, tr.odd and tr.even, .comment.even )
.comment.odd, tr.odd
(darker comments)
tr.even, .comment.even
(lighter comments)
.new
(the "New" that appears by a new comment)
.comment div.links
("edit" and "reply" buttons, although I am not sure if it affects all links in comments)
CSS rule set
I am not a professional, so I can't guarantee accuracy. My english is not perfect either, but I hope this will help you understand CSS a little bit better.
Selectutorial
Very helpful site if you want to understand CSS better. I highly recommend looking through it sometime.
Build of a basic CSS code:
The
start tag and the
end tag define where your CSS code starts and where it ends.
The
Selector "selects" the element of the page that is affected by the rule set. If you want to define more than one Selector at once, you can seperate them with a comma.
example
body, .sidebar {color:#ffff00}
The
Declaration Block is the container for
Declarations. It stands between curly brackets.
The
Declarations tell the browser how to draw the selected element.
(Not pictured: A Declaration splits up into
Property and
Value. The Property is the aspect that you chose to style (like font, background), while the Value is the exact style for this Property (like font style, background color).)
Link colours
To change the colour of links in different parts, you have to add an
"a" at the end of your
Selector.
example
body a {color:#ff00ff}
If you want to change the link-color when you hover your mouse over it, you additionally have to add
:hover, which is a so-called
Pseudo-Class
example
body a:hover {color:#00ffff}
You can apply these
Pseudo-Classes not only to links, but pretty much any Selector.
Read more about it
here!
If you have any problems, questions, ideas or find any mistakes here, please let me know!
Enjoy. ♥
Silverbells-- Well first
<style>body, #wrapper #container #center .right-corner .left-corner{background:url('http://url_here.jpg') repeat}</style>
this code you just add to your bio, and remember to set the Input Format to BBCode.
BetweenTheBars-- can you show me the blog? I'll try it directly then.
Here you go.
comment-colour
#comments{color:#000000}
menu-colour only:
.sidebar a, .sidebar h2{color:#ffffff}
Hmm...the comment section
Holy crap, CSS can be infuriating, hahaha ;;
I'm so sorry for all of this...
oh yeah, I forgot the
.sidebar a, .sidebar h2{color:#ffffff !important}
Yes, it works! Thank you so
Again, sorry about all the hassle...;;
Unplugged- AHAHAHAAAAA!!!!
I think I'm catching on a bit. I've read a lot of your CSS information posts time and time again and it's starting to click. xD I'm learning. ^3^
♥
Um um I... Need help
This:
How did I move the "Reply" buttons and such all the way upp?
I rather wan't it at the normal place at the bottom of the comment ;_;'
.comment
This should do it.
:'D Thaanks! Uh, oh, yeah...
http://endlessforest.org/community/test-css-2
It looks weird. Like I cut off something :/ Why can't it get all round? >='C *Slaps blog*
Change the height of the div
8'D ♥! ... Lawl, I
... Lawl, I feel stupid.
Hello there Unplugged! My
Misako thought, hey, let's make a new bio-layout! And do it with funky tabs. So everything was nice and I was working happily, and then I thought I was finished. Yay! Now I encountered a problem that I think has no way around it. But hey, it can't hurt to ask.
This is my testing blog, and well, I guess at first nothing looks off. All the red text are hyperlinks, and there is a very eye-blinding menu in the third div.
I thought I'd make like, in "art and writing", an option to change the text in the divs with tabs. But if you click on a tab(like "By others" or "By me"), the page jumps down and in this case, the next big tab that should be invisible comes up. Which isn't so much the problem, the problem is is that the upper part of the blog gets cut off.
(Hope that made sense)
So what I'm looking for is a way to get the tabs to stop cutting part of my div off. The upper part especially. Did that make sense? I hope so. As said, my head exploded and thinking without it sure is no good.
Hmmm I'm not sure but I'd
Here you go! Please try not
Psst, Unplugged. I decided to
Though I guess I'd still be curious how such a thing can be solved, but you surely don't have to go through the hassle for me.
Thanks again!
I thought about it but
Back with more annoying
- How do you change the colour of the date section of a comment? *including the dash line
- How do you make the blog semi-transparent so you can sort of see the backround through it?
EDIT: Also, when using the Table divs, how do you get it so that the tables are touching each other? Right now, i have an image, and some text, and I want them right next to each other, but instead I have this large gap...
egh, is this a new post or
There you go. Date colour:
.comment span.submitted{color:#ff0000}
Transparency copypasta:
Re your last question, tables are very annoying. Could you show me your code?
I updated it. No big deal
Here's the blog.
I'll try the other stuff that you posted too. (:
Hmmm.. Change the width of
Change the width of the div where your picture is to the size of the picture? (from 350px to 164px)
Hm, they're still not
Ehh, I'll deal with it for now. Thank you. (:
The other codes you gave me work by the by. <3
Teacher, I have a
This: http://endlessforest.org/community/test-css-2
I've messed up. How do I solve this?
Before the "a name="3"" part
</div>
too much. You have two when there should be one. The same with "a name="4"", 5 and 6.:'D Thank you so much
Edit: Now another problem appeared. Damn. When you click the tabs... Yeah, something wrong. :'D It's only okay on the first page...
Looks alright to me. What
Hah? Hmm, like the
... Wan't a screenie instead? xD
Uhhh could you give me your
... Um, like this?
try this, I hope it's what
:'D Yes! Epic skills. I
Epic skills. I gotta learn. B3
Hey Unplugged. Just dropping
Just dropping a comment to ask for some assistance. I don't really understand CSS and I'm trying to learn, but I'd like to get some CSS for my biographies. I need a simple non-scrolling background and semi-transparent boxes for information and comments. Possibly changing the colours of links and text.
If you could provide some codes/recommend one of them that's up here, please do! I have this on my track. Thanks! c:
D'8 OMFGAWD I MESSED
Again.
Hmmm well Ryff, I'm not sure
For the link colours, use the "CSS Code for Sidebar Links" above, and also add this between the style tags:
a:link, a:visited{color:#ffffff}a:hover{color:#666666}
Do you know how to do boxes/divs? Here's a basic div code, you can experiment with this if you change the px numbers, hex codes etc.
For the transparency, you have to make a small semi-transparent png picture and use it as a background (replacing the 'url here')
<div style="width:600px; height:130px; overflow:auto; background: url('url-here'); border: 2px solid #264135; text-align:justify; padding:10px; font: 11px georgia; letter-spacing:1pt;"> Text </div>
And lmao, eternalqueen. Do you still have my old working code somewhere? In this case it's best to go back to the code which wasn't messed up.
... Um... I tried to click
TT _ TT I'm so sowwy...
I can't even go edit the crap. Only delete because I had another version of it where there are no comments :'c
If you remember what change
Oh... You just write "Edit"
Ah... Um, okay... Even if you say so, gehm, I feel a little bad. But, here... >.>'
I'm not 100% sure that this
<a name="6"></a
<a name="5"></a
<a name="4"></a
<a name="3"></a
<a name="2"></a
Ah. Okay C: 2 sec... *Goes
8'D Yes! It worked, wee~! Thanks again ♥
TT.TT I think I am taking the
Fail. It's something like div stuff, right? I can't find iit Q.Q'
And how do you modify the sidebar and choose which link you wan't+put them in a box at the top? o.o
Bump?
Egh sorry. I really didn't
You need to put a "hiding div" around your table. Before
<table style="border:hidden">
, add<div style="width:960px;height:630px;overflow:hidden;">
and after your very last
</table>
, add</div>
.-Badgers with more questions-
For this blog, how do you center the blog, and get rid of the menu, logo, and links at the top? I plan on having links to the menu, etc if this can be done, I just have no clue how to go about this...
It's not possible to
[e]:
not absolutely perfectly centered but the same with all screen resolutions.Got it! should be perfect center now. thanks for asking about this. Here's the code for centering:#wrapper #container #center .right-corner .left-corner{position:relative;margin:auto}#wrapper #container #center{float:none;}body.sidebar-left #center, body.sidebar-left #squeeze{margin-left:0px}
for the other stuff:
#header-region, #logo-floater, .breadcrumb,.sidebar{display:none}
Oh my god. I love you. So, so
Thank you so much for this...;; <3
Ah, I'm sorry. I didn't want
Unplugged, please help me,
When you edit your blog, you
Oohh, thanks! >w<
Um if you're feeling like it,