PDA

View Full Version : shadow text effect



Tradjick
Mon 15th Aug '05, 11:03pm
Hi!

I really like the effect shown here (http://www.htmlite.com/faqEX001.php).

Hereīs (http://www.htmlite.com/faq017.php) the code, usind 2 <div> tags.

Unfortunately i have no idea if this is even possible in vB. Has someone any ideas on this?

DirectPixel
Tue 16th Aug '05, 12:07am
It's definitively possible in vBulletin. Like you said, it's just two <div> tags. You can put those literally anywhere using vB's template system. :)

Tradjick
Tue 16th Aug '05, 1:27pm
Okay, i´m gonna try this later :)

Tradjick
Tue 16th Aug '05, 3:28pm
I tried multiple things now to do it in postbit. But because different postings have different numbers of characters and height, the number thatīs good for one posting isnīt neccessarily good for the next posting.

I also tried using percentage, but there the problem is the same.


<div style="color:#cccccc;position:relative;left:0px;top:0px;">$post[message]</div>
<div style="color:#000066;position:relative;left:-2px;top:30px;">$post[message]</div>

DirectPixel
Tue 16th Aug '05, 3:52pm
Why are you trying to add a shadow to the body text of a post? From both a design and usability perspective, that's a big no-no.

Tradjick
Tue 16th Aug '05, 4:46pm
I wanted to try and see the looks and feel. You must admit that the example looks very sharp and crispy. :)

DirectPixel
Tue 16th Aug '05, 5:35pm
Using pixel shadows for large bodies of text can greatly reduce the readability of your page. As a rule of thumb, using text with shadows should only be done sparingly, and even then, only for a few limited layout-related elements.

Tradjick
Tue 16th Aug '05, 5:45pm
I didn´t know that. So i guess i´m not missing something.
I´ll see if i can do it for the "title over threads like on vb.org" mod, maybe. Thanks, cya.