Page: [1] [2] [3] [4] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
Hmm... This could be fun...
My code so you don't have to bother (grey code is the stuff put in by the site):
<style>.tundrah div:first-letter {font-size: 30pt; font-weight: bold}</style><div class="tundrah">
<br>
<br>
<div class="postXXXXXX">
(post)
</div>
</div>
ps- there's a slight problem with qedit if I put a </div> in my post, but I guess if I do that it's my fault.
|
13.12.03 13:04 Post #16 | Last edited: 13.12.03 13:10 (tundraH - 2 times) |
[tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
ReadMe
Absent Send PM Posts: 2820
Threads: 85 Money: £43.42 (D) (+ Friend)
|
should really do this for drop caps:
div:first-letter {
font-size: 3em;
font-weight: bold;
float: left;
}
makes it a 3 line inset dropcap.
________________
Cant be arsed to remake my sig. |
13.12.03 20:08 Post #17 | [Hide Sig (7)] [Profile] [Quote] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
S'pose so, but I tried using float, I didn't want it to drop down specifically, just look big.
(Always wanted to know what em did, always been too lazy to find out.)
|
13.12.03 21:28 Post #18 | [tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
OPTiSSiMUS
Butt Cheek Send PM
Posts: 838
Threads: 17 WWP Clan: DIE Mood: do i LOOK like i'm kidding? Money: £512.10 (D) (+ Friend)
|
i dont understand how you could make only one letter big without putting a after the first letter of every post.
________________
|
13.12.03 22:02 Post #19 | [Dont go here] [Hide Sig (3)] [Profile] [Quote] |
Squirrel
Uh... Send PM Posts: 91
Threads: 16 Money: £86.56 (D) (+ Friend)
| | |
i dont understand how you could make only one letter big without putting a after the first letter of every post.
CSS, or he is just wasting his time capitalizing his first letter...
And you killed the quotes ReadMe.
________________
|
| |
| |
|
13.12.03 22:19 Post #20 | [Hide Sig (0)] [Profile] [Quote] |
ReadMe
Absent Send PM Posts: 2820
Threads: 85 Money: £43.42 (D) (+ Friend)
|
wha, i did?
________________
Cant be arsed to remake my sig. |
13.12.03 22:36 Post #21 | [Hide Sig (7)] [Profile] [Quote] |
SPAZ
Looking For Status Send PM Posts: 1285
Threads: 28 Money: £9.60 (D) (+ Friend)
|
testing. If this works i know how tundraH did the big letter
hehe i jst checked the src code.
|
13.12.03 23:00 Post #22 | Last edited: 13.12.03 23:05 (SPAZ - 2 times) |
[WWW] [Hide Sig (10)] [Profile] [Quote] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
That's it, I'm making the first line of every post bigger... and I did just post my code. They're called pseudo elements by the way. Element = <div>, psuedo element = non-existant element that refers just to the first line or first letter (I think there are others). I'm just putting lots of text here so that my new code I am about to put in my signature will be demonstrated efficiently.
(Yeah, Readme. I think setting all those inherits makes it ignore any <style>s above the post (presig))
Haha Spaz, got you there. (How long until he notices?)
|
13.12.03 23:04 Post #23 | Last edited: 13.12.03 23:17 (tundraH - 2 times) |
[tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
| |
13.12.03 23:19 Post #24 | Last edited: 13.12.03 23:25 (C1 - 4 times) |
[Hide Sig (2)] [Profile] [Quote] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
Indeed. Thing is, spaz used my class as well, so that our posts would always look the same. I changed mine to tundrah2 and used another pseudoelement, :before, to put text at the beginning of each of his posts. Yes, you can use that to mess with some other people's styles. No, you shouldn't try it.
(That explains why you put the .c and .c2 in, C1. You don't need two styles like that.)
I'm now setting some more css up.
|
13.12.03 23:27 Post #25 | Last edited: 13.12.03 23:30 (tundraH - 1 times) |
[tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
|
na i was just trying it out. I'm not gunna use it. And i changed it quick so i just clicked those fast.
|
13.12.03 23:34 Post #26 | [Hide Sig (2)] [Profile] [Quote] |
ReadMe
Absent Send PM Posts: 2820
Threads: 85 Money: £43.42 (D) (+ Friend)
|
CSS is like the best thing ever
i just love it, how it degrades so nicely cos errors dont throw up messages at you. And how it can turn plain old sematic XHTML markup into something so pretty:
http://readme.resource-locator.com/moz/newlayout.htm
negative margins pwn j00 all (move my post out of the way)
________________
Cant be arsed to remake my sig. |
14.12.03 00:15 Post #27 | [Hide Sig (7)] [Profile] [Quote] |
Squirrel
Uh... Send PM Posts: 91
Threads: 16 Money: £86.56 (D) (+ Friend)
| | |
Fix the quotes -.-
________________
|
| |
| |
|
14.12.03 09:25 Post #28 | [Hide Sig (0)] [Profile] [Quote] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
Nice design Readme, better than I could do yet. But I am trying to move more towards using XHTML properly. For the first time the home page of http://philby.rdmsoft.com/ has no tables and looks great with CSS turned off. I'm getting there, I just need to sort out my center tags and fix a few things in the db.
PS - your sig, I'm pretty sure it's "be blown apart".
|
14.12.03 11:30 Post #29 | [tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
Zogger!
Looking For Status Send PM Posts: 3954
Threads: 62 Money: £93.82 (D) (+ Friend)
|
hmmm... Can't work out why, but this page of this thread crashes whenever I view it in opera... can't work out what it is... :S
________________
You know I'm a dancing machine |
14.12.03 11:48 Post #30 | [Hide Sig (8)] [Profile] [Quote] |
Page: [1] [2] [3] [4] |
Your Comments: