![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2003
Posts: 1,630
|
Designers - some help with CSS
I am trying to make my titles with h2 tag a bit nicer and I want to have a dot before any text. Something like this:
• Hello In my CSS I have this: h2 { font-family: Times New Roman, serif; font-size: $theme_headline_size_large; letter-spacing: -1px; margin-bottom: 10px; color: #ffffff; text-transform : capitalize; font-weight: normal; } Is it possible to add something so I get that dot before the text? And to make it even more complicated I would like the dot to be of a different color than rest if the text ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2001
Location: ┌∩┐ ◣_◢ ┌∩┐
Posts: 46,909
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2004
Location: Barcelona
Posts: 1,022
|
you could put the h2 inside an unordered list
<ul> <li> <H2>HEYOO</h2> </li> </ul> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Hb17uaaldwM
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,150
|
Code:
h2:before {content: "? ";} |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
put the colored bullet point as an image. then move the text over with left padding. then possiton the bullet point in the vertical of the text.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Hb17uaaldwM
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,150
|
to change the color.. which i missed.
Code:
h1:before {color:red; content: "• ";} |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: Beck's City, North Teutonia
Posts: 3,185
|
ehh, shudnt that be
Code:
h2:before {content: "· ";}
__________________
There aren't enough faces and palms on this planet for an appropriate reaction to religion. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Jan 2003
Posts: 1,630
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,391
|
I saw this coming...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Hb17uaaldwM
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,150
|
Quote:
alternative to using the • and a space in there would be content: "\2022\A0"; |
|
![]() |
![]() ![]() ![]() ![]() ![]() |