HOME | DD

kuschelirmel-stock — Journal CSS - Part 2

Published: 2006-11-10 16:19:51 +0000 UTC; Views: 38295; Favourites: 900; Downloads: 226
Redirect to original
Description EDIT Jan 2014: This way to code, while still valid to a degree, is rather outdated.
You can find an updated guide here:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Part 2 of 2 - the corresponding template can be found here www.deviantart.com/deviation/4…

This tutorial deals with custom divs: how to set them up, what can be used, what code is needed in the journal etc.

You might want to read Journal CSS Part 1 first:
it deals with the process of designing a CSS journal and of how to get the basics coded.

If you have no idea what CSS is, I suggest you read up on the basics before tackling this tutorial.
In here, I just assume you know what a div is...

EDIT: To make the right colum work properly in IE as well, add position:relative; to the div called .right - I'll update the file to reflect this asap!

Also try these links:
thespook is compiling a CSS guide (I'll link it here when it's finished), he also has a nifty Journal structur reference in his gallery.
If you speak German (or French), you can try selfHTML.org - it's not only great for learning HTML, CSS, Javascript,... but also offers quick references on the code you can use.
zilla774 wrote a news article Journal CSS Resources which has some more links to things you might find useful.
And last but not least, the link to the Lorem Ipsum Generator which also explains where that text comes from.
Related content
Comments: 185

OwlsOnFoot [2012-10-18 15:33:40 +0000 UTC]

Omg, your tutorial is amazing. Thank you so much for uploading it! I used your code to help me create [link] which is my journal for my page. You're the best!

👍: 0 ⏩: 1

kuschelirmel-stock In reply to OwlsOnFoot [2012-10-19 08:10:43 +0000 UTC]

I'm glad I could help!

👍: 0 ⏩: 0

Oxdarock [2012-08-06 19:06:58 +0000 UTC]

This tutorial was great. It really helped me understand a lot about the custom div classes. I was able to get some good practice in and also make an nice little journal skin .

Hopefully, I'll be able to make more advanced skins in the future, but for now I'm happy with this.

Thanks a bunch!!

👍: 0 ⏩: 0

izUmI-o5 [2012-07-08 08:56:03 +0000 UTC]

How do you add a sidebar to the left?

👍: 0 ⏩: 0

MightyMelleR [2011-02-01 00:45:28 +0000 UTC]

another great easy to understand tutorial! Thank you so much!

👍: 0 ⏩: 0

KneelingGlory [2010-12-29 00:33:30 +0000 UTC]

I used your awesome tutorial (part 1 and part 2) to make the CSS for my new group: [link] thanks!!

👍: 0 ⏩: 1

kuschelirmel-stock In reply to KneelingGlory [2010-12-31 09:46:11 +0000 UTC]

it looks great! I'm glad I could help!

👍: 0 ⏩: 0

Kellalizard [2010-11-24 17:32:15 +0000 UTC]

Hmm I'm stuck on one thing. Links don't seem to work in my journal, why is that?

👍: 0 ⏩: 0

benihme-chan [2010-11-04 23:59:41 +0000 UTC]

thanks so much for this and part 1

👍: 0 ⏩: 0

Krooked-Glasses [2010-10-20 02:01:23 +0000 UTC]

Oh, by the way, can you give text borders? D:

👍: 0 ⏩: 0

Krooked-Glasses [2010-10-20 01:38:40 +0000 UTC]

YOU ARE A WONDERFUL PERSON FOR MAKING THIS!!!!
If I was ever even a tiny bit interested in having a child, I would name them after you.

I will post my outcome later. : D

👍: 0 ⏩: 0

Ftamy-bent-Hassan [2010-09-29 09:07:20 +0000 UTC]

Thankx a lot


👍: 0 ⏩: 0

jese-mx [2010-06-21 03:22:31 +0000 UTC]

thanks for this tutorial.
It has helped me a lot.

I translate into Spanish
Do you agree?
(I will put the respective Copyright)

👍: 0 ⏩: 1

kuschelirmel-stock In reply to jese-mx [2010-06-21 08:31:04 +0000 UTC]

I do not want my tutorials translated into languages I do not understand because I cannot garantuee they've been translated correctly. So the answer is no, sorry.

👍: 0 ⏩: 1

jese-mx In reply to kuschelirmel-stock [2010-06-21 16:41:38 +0000 UTC]

good
as you want.

👍: 0 ⏩: 0

eizu [2010-05-29 15:45:03 +0000 UTC]

nice tutorial! ^__^
can we also use javascript? o.o

👍: 0 ⏩: 1

kuschelirmel-stock In reply to eizu [2010-05-30 09:43:04 +0000 UTC]

no, only css and html

👍: 0 ⏩: 0

SybexMed [2010-03-19 01:20:25 +0000 UTC]

Wow your a wiz kid!

👍: 0 ⏩: 0

Koto-wari [2010-02-21 00:36:10 +0000 UTC]

Thank you very much for creating this tutorial (both part 1 and 2). It was very helpful.
Very easy to understand as well. :3

👍: 0 ⏩: 0

Madrica [2010-01-28 15:40:09 +0000 UTC]

You have to be a member to use CSS right?
That's too bad XD Ah well, it's an awesome tutorial and I'm sure I'll use it someday when I got a membership :3
Thank u

👍: 0 ⏩: 0

SanoShiroGaara [2010-01-17 04:15:36 +0000 UTC]

When you look at the full view for mine, the header and footer get cut off.
How do I fix it = (
[link]

👍: 0 ⏩: 1

kuschelirmel-stock In reply to SanoShiroGaara [2010-01-17 15:14:35 +0000 UTC]

it's pretty simple: your image isn't wide enough. when the tutorial was written, people had smaller monitors

👍: 0 ⏩: 1

SanoShiroGaara In reply to kuschelirmel-stock [2010-01-17 23:08:24 +0000 UTC]

Really? = O It looks too wide to me, being cut off from the journal haha
What px size should the image be? And how can I fix it :/ Or is there anyway to adjust the journal size? xD

👍: 0 ⏩: 1

kuschelirmel-stock In reply to SanoShiroGaara [2010-01-18 18:28:57 +0000 UTC]

it depends on your monitor size what size of image would be best for you - your visitors have different monitor sizes and will view it differently. so there's no ideal size, something always gets cut off. try this [link] maybe it helps explain.

👍: 0 ⏩: 0

Cryomundus [2009-10-07 20:05:28 +0000 UTC]

Well, this will be useful. I've always wondered how people customized their journals...

I've both parts, by the way and I plan on putting them to good use.

👍: 0 ⏩: 0

Eresh-Kigal [2009-09-30 20:18:34 +0000 UTC]

Oh my God... this is a fantastic tutorial! I am not technologically-minded and barring a few flase starts, I managed to use your tutorial to create my own journal [link]

Thank you

👍: 0 ⏩: 0

StrawyBlood [2009-09-30 08:08:07 +0000 UTC]

OMG this really helps
great tutorial >3<
and I get a lot of concepts of the CSS thing

but one question :U
What should I do to put the display image in the center?
because mine is small and I want it to be in the middle :3

👍: 0 ⏩: 0

Cookieschao [2009-07-11 15:09:57 +0000 UTC]

Thanks alot, your CSS tutorial will help me alot ^^

👍: 0 ⏩: 0

TysonTan [2009-06-08 17:40:27 +0000 UTC]

Hi, thank you very much for the tutorial! You simply told me everything I need. ^^

👍: 0 ⏩: 1

kuschelirmel-stock In reply to TysonTan [2009-06-09 19:44:20 +0000 UTC]

you're welcome

👍: 0 ⏩: 0

KatexVengeance [2009-05-23 13:38:23 +0000 UTC]

That's awesome!
Really helpful
Thanks for sharing *hugs*

👍: 0 ⏩: 1

kuschelirmel-stock In reply to KatexVengeance [2009-05-24 10:21:47 +0000 UTC]

you're welcome

👍: 0 ⏩: 0

Paprika-Studios [2009-02-12 18:16:21 +0000 UTC]

Awesome tutorial! Thank you!

👍: 0 ⏩: 0

temporalDormancy [2009-02-06 22:36:54 +0000 UTC]

Hi!
First of all, thanks for making this tutorial - it really helped me with designing my own journal (here's the [link] ).

I do have a question, though: Is there a way to get my journal header to display correctly in IE? 'Cause it gets cut off right after the date. (it displays correctly on Firefox and Safari, though)

Again, thanks!

👍: 0 ⏩: 1

kuschelirmel-stock In reply to temporalDormancy [2009-02-07 09:28:16 +0000 UTC]

I'm sorry, I'd need to examine the code to find out which I don't have time to do - the original code should be compatible though

👍: 0 ⏩: 1

temporalDormancy In reply to kuschelirmel-stock [2009-02-08 05:03:49 +0000 UTC]

Actually, the original code wouldn't be that compatible with the layout. I already knew some css prior to this (though it only applied on wordpress templates - I didn't know how the journals worked), so I made a few...alterations. Guess I shouldn't have skipped that "IE compatibility" tutorial...

Oh, well. Thanks for the help, though.

👍: 0 ⏩: 0

LilleKraakeLunde [2009-01-03 01:02:51 +0000 UTC]

I don't know how it disappeared from my faves, but I've re-faved your Scorpion Raw template , thank you for creating it. I've enjoyed using it, but the vertical divider on the right has never shown up, in IE or FF. I followed your suggestions for modification (position;relative; ), but nothing I do will make that vertical divider show up. Any idea what I might be doing wrong? Thank you for your help (and the template!)

👍: 0 ⏩: 1

kuschelirmel-stock In reply to LilleKraakeLunde [2009-01-03 13:27:23 +0000 UTC]

my guess is you didn't upload the image or linked it up wrong

👍: 0 ⏩: 1

LilleKraakeLunde In reply to kuschelirmel-stock [2009-01-04 01:28:55 +0000 UTC]

Well, the image was uploaded; here's the snippet of code where I put it. Maybe you can spot the error (if you have the time and inclination?)

}
.right {
position:relative;
width:140px;
padding:40px 0px;
text-align:center;
float:right;
}
.right img {
margin:5px;
}
.right a {
color:#FFD700;
}
.right a:hover {
color:#DAA520;
}
.content {
background:url([link] ) no-repeat center right;
margin:0 60px 0 0;
padding:0 20px 0 5px;

👍: 0 ⏩: 1

kuschelirmel-stock In reply to LilleKraakeLunde [2009-01-04 10:26:42 +0000 UTC]

I'm sorry, I can't tell you anything on the spot - have you tried using the original code and just inserting your image to see if it works then? it should, you know. so if it doesn't work now, you must've accidentally deleted or altered something.

👍: 0 ⏩: 1

LilleKraakeLunde In reply to kuschelirmel-stock [2009-01-04 11:47:00 +0000 UTC]

Hmm, no, I didn't try that. Thanks!

👍: 0 ⏩: 0

HikaruAkari [2008-12-18 19:55:18 +0000 UTC]

I'm learning CSS by myself so since im self-taught i still have some gaps i need to fill, -mainly basic things- and i'd be really grateful if you could help me with this one:

How can you calculate distances when setting a padding/margin or widths/heights? for example, how did you calculate the right width for the side bar? Did you actually experimented till you found the right one or is there any easier/more practical way?

Same for images, if i want to draw a banner for my header, how can i know its width knowing everyone has a different window size? will the browser resize it to the size that person needs?

Thanks and sorry for the inconvenience

👍: 0 ⏩: 2

kuschelirmel-stock In reply to HikaruAkari [2008-12-19 09:32:52 +0000 UTC]

I always start in Photoshop and go from there: there you can see how many pixels you used for the sidebar (usually, somewhere between 100 and 150px - depending on if you want to be able to put stamps in - will be good) and then you have to put that as width. Though you have to subtract the left and right padding to make it work in firefox properly (IE uses the actual width you give it) -- I think I'll make a tutorial on that soon, it's not so easily explained.

Images will not scale, they will get cut off or leave empty space if the monitor resolution is very high and the image not wide enough. You can therefore either make the header image fade to the side so it will not look strange when the journal gets wider or you could try to make it tile (repeat). Or you could do what I do: use max-width: 850px; in the .journalbox so firefox will cut the journal off after a maximum of 850px -- downside is thhat IE doesn't get that.

I'll try to make some more tutorials about those things soon, I hope this was helpful to get you started though.

👍: 0 ⏩: 1

HikaruAkari In reply to kuschelirmel-stock [2008-12-19 16:17:28 +0000 UTC]

it was indeed! thanks a lot!

👍: 0 ⏩: 0

HikaruAkari In reply to HikaruAkari [2008-12-18 19:55:57 +0000 UTC]

Regardess this two questions, i did learn a lot from your tut so ty ^^

👍: 0 ⏩: 0

ScereyahaDreamweaver [2008-11-02 12:22:32 +0000 UTC]

this is awesome, actually im having an issue getting graphics to come up and I cant find more info on the exact semantics of the codes that are supposed to be used... any pointers?

👍: 0 ⏩: 1

kuschelirmel-stock In reply to ScereyahaDreamweaver [2008-11-02 19:24:40 +0000 UTC]

how about trying a reference for html or css? google is your friend as I have no idea what your problem is. I can't read minds you know.

👍: 0 ⏩: 1

ScereyahaDreamweaver In reply to kuschelirmel-stock [2008-11-02 20:11:20 +0000 UTC]

well I have all of the coding exactly the same as any jouranel css and have referenced the html aid and its still not showing up. Does it have to be up somewhere online other than dev art? the dev art addresses dont seem to include a file extension or the actual file name. I was wondering if that could be whats causing the issue.

👍: 0 ⏩: 1

kuschelirmel-stock In reply to ScereyahaDreamweaver [2008-11-03 09:11:38 +0000 UTC]

you need to upload the images on the internet and you have to insert the url of the image and not the page it's on. for images hosted in your scraps, right click and choose "copy image url" (or something similar, I am on a German version of windows so I don't know exactly).

👍: 0 ⏩: 1

ScereyahaDreamweaver In reply to kuschelirmel-stock [2008-11-03 19:56:51 +0000 UTC]

yeah i figured it out, photo buckets good for that, its painfully slow but it gives you four different tags for this kind of thing, the direct llink one works great for this... so um thanks for your time

👍: 0 ⏩: 0


| Next =>