The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
This is a code in my index.php.
Code:
<div class="testimonial_smiley"> "test test hehe test rofl" </div> Code:
.testimonial_smiley {
float:left;
width:200px;
height:32px;
text-decoration: none;
font-size: 12px;
color: #000000;
background:url('images/smiley.png') no-repeat top left;
}
Also, in CSS, how can I make the text italic? Do I just edit "text-decoration: none;" to "text decoration: italic;"? What do I do? edit: to clarify on #1, I want it so like.. Code:
[img here] Text aligns
like this
all the way
down the
page.
Code:
[img here] Text aligns like this all the way down the page. |
|
#2
|
|||
|
|||
|
Mike take a look at the following
![]() Add this to your <head> of your Page Code:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
<style type="text/css"><!--
.sign {
font-style:italic;
}
--></style>
</head>
Code:
<span class ="sign"> Your Text here </span> Code:
<body> <h1>Test</h1> <p> You can make text <span class="sign">italic</span> using CSS. </p> </body> </html> |
|
#3
|
|||
|
|||
|
I actually wanted it in an external CSS file. I took the "font-style:italic;" part to the external CSS stylesheet, and it worked. Thanks very much. =)
Still need help with my first problem though. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|