<<<  Return to the BodyMod.org Community
  Active TopicsActive Topics  CalendarCalendar  Search The ForumSearch  
BodyMod.org FAQ
 BodyMod.org Forum : BodyMod.org : BodyMod.org FAQ
Message Icon Topic: How can I use profile style sheets? Post Reply Post New Topic
Page  of 3 Next >>
Author Message
Adam
BMod Admin
BMod Admin


Total Mods: 46

Joined: January/25/2003
Posts: 2206
Quote Adam Replybullet Topic: How can I use profile style sheets?
    Posted: August/18/2004 at 3:12am

Okay, unfortunatly there's no quick answer, so here's my best shot:

Custom style sheets allow you to control what is shown, how it is shown, and where it is shown. This applies to text, images, tables, the body of the page and more.

!!!IMPORTANT!!!
Do not add the <style type="text/css"></style> tags!
They are added automatically. All tags you enter will be removed!

Okay, so..

Here are a couple examples:

This will set your background to an image on another server:

body {
background-image: url("http://www.someserver.com/myimage.jpg")
}

This one is the same, but tells it not to tile the image, and to make it fixed:

body {
background-image: url("http://www.someserver.com/myimage.jpg");
background-repeat: no-repeat;
background-attachment: fixed
}

This makes the class labeled "Heading" bold, Arial font, Red color, and underlined:

.Heading{
color: #FF0000;
font-family: Arial;
font-weight: bold;
font-decoration: underlined
}

There are so many things you can do, there's no way I could list them all. You're really limited to what you can imagine for the most part. Here are a couple good links to help you out no matter how much of a n00b (novice) or L337 H4X0r you are:

http://www.w3schools.com/css/default.asp

http://www.w3.org/TR/REC-CSS2/ <- Official site

http://www.w3.org/MarkUp/Guide/Style  <- Has cool color tool

http://www.mompswebdesign.com/jscript/scbarcolor.html <- Scroll Bar Color Generator

Now, besides the classes that you can play with you can also play around with all of the <DIV> tags. With these, you can set their location and layering with positioning attributes and z-index attributes. Just run a Google search for more info here.

Here is a quick <DIV> example that modifies the "LastTen" ID:

This move the Last Ten block to the top left corner 200px from the left and 200px from the top and sets the width of the thing to 200px. Z-Index is it's layer to put it on top of everything else:

#LastTen{
position:absolute;
left:200;
width:200;
top:200;
z-index:200
}

This will hide the "LastTen" block all together:

#LastTen{
visibility: hidden
}

Here's a list of all the classes that I have made for you to play with:

.button
.textbox
.NameHeading
.Blurb
.BlurbHeading
.ProfileMessagesHeading
.ProfileMessageText
.LeaveAMessage
.JournalHeading
.JournalText
.JournalSmallText
.JournalShowHideText
.JournalViewAll
.StuffHeading
.StuffLabel
.StuffInfo
.MoreStuffHeading
.MoreStuffLabel
.MoreStuffInfo
.PierceLink
.TatLink
.HCLink
.StudioLink
.MoreStuffQuote
.MoreStuffMoviesLink
.SomeMoreStuffHeading
.SomeMoreStuffLabel
.SomeMoreStuffInfo
.BuddyHeading
.BuddyLabel
.BuddyInfo
.VotingHeading
.VotingLabel
.VotingInfo
.LastTenHeading
.LastTenLink
.JournalCommentHeading
.JournalComment
.JournalCommentIcon
.ProfilePhoto
.AvatarImage
.text
.bold
.alerttext
.smtext
.smalltext
.SmLink

They're pretty self-describable, but if you can't figure one out, just change it to something and look for the change =)

Here is a list of all the <DIV> id's that you can mess with:

NameHeading
ProfilePhoto
ProfilePhotoCaption
ProfilePhotoUpload
Blurb
UploadBGImage
AddStyles
ProfileMessages
ProfileMessagesIndiv
Journal
JournalComments
JournalCommentShowHide
Stuff
MoreStuff
Quote
Movies
SomeMoreStuff
Avatar
ILikeThemImages
TheyLikeMeImages
BuddyModIcon
Voting
LastTen

Once again, you can prolly guess what they each control by their name.

After you add your style sheet to your profile, make sure that you turn it on (Check "Yes" under the style sheet box). Should you choose to go back to the default settings, you can just change the toggle back to "No". This will NOT erase your style sheet. You can just turn it back on later if you want.

If you want something to compare to, here is the style sheet that I use for this site:

http://www.BodyMod.org/modstyle.css

It's not complex at all, so it should be helpful.

If anyone would like to add to this to help people out, make any corrections to something I've said, or show off your own style sheets you're using here, please post them here so everyone can see!

Thanks, and have fun!

.: Adam



Edited by Adam
IP IP Logged
Sezzastar
Mod-let
Mod-let
Avatar

Total Mods: 3

Joined: June/29/2004
Location: United Kingdom
Posts: 252
Quote Sezzastar Replybullet Posted: August/20/2004 at 9:23am

Hey Adam i looked at the style sheet you used for this site- What do all the FFFFFF and #### and DEDEDE  mean? I can understand the rest (sort of!) but i don't get these. Are they for the colours cos there was an '#FF0000 in ne off the examples you gave us. I'm trying my hardest to work this out so i can have a cool profile!

Thanx beforehand for any help of you!! 

Sarah
IP IP Logged
Adam
BMod Admin
BMod Admin


Total Mods: 46

Joined: January/25/2003
Posts: 2206
Quote Adam Replybullet Posted: August/20/2004 at 11:10am

the #FFFFFF and such are hex for colors. They're the Hex value for RGB's. The first two represent red 00(none) -> FF(all), second, green, third blue.

Here's a cool hex color chart.

Hope this helps ya out =)

.: Adam

IP IP Logged
Sezzastar
Mod-let
Mod-let
Avatar

Total Mods: 3

Joined: June/29/2004
Location: United Kingdom
Posts: 252
Quote Sezzastar Replybullet Posted: August/23/2004 at 5:00am
Cheers Adam! Hey i'm gonna work this out sooner or later (later!). 
Sarah
IP IP Logged
they_know
Mod-let
Mod-let


Total Mods: 0

Joined: September/29/2003
Posts: 88
Quote they_know Replybullet Posted: August/31/2004 at 6:32am
this is really cool. i am unreasonably excited by this.  i wish i wasn't so tired, so i could work on mine right now!
no one dared, no one cared to tell me where the pretty girls are...those demigods-
with their nine-inch nails and little fascist panties tucked inside the heart of every nice girl
IP IP Logged
Craigavonite
Mod-let
Mod-let


Total Mods: 5

Joined: April/23/2005
Location: United Kingdom
Posts: 113
Quote Craigavonite Replybullet Posted: July/24/2005 at 9:16am
i cant get it to change my background image

body

{

scrollbar-base-color: #000000;scrollbar-arrow-color: #FFFFFF;scrollbar-face-color: #000000;scrollbar-3dlight-color: #FFFFFF;

background-image: url("http://img.photobucket.com/albums/v24/craigavonite/Devi ations/Dark_Exchange_Wallpaper_by_nasht_01.jpg")

}

alls right in the code, and the right image even shows up on the "edit your skin" page, but it wont switch from my old background on my actual profile page (even tried clearing my cache)

any ideas?

Suddenly, there was a terrible roar all around us,
and the sky was full with what looked like huge bats
IP IP Logged
psychokinetic
Heavy Modder
Heavy Modder


Total Mods: 23

Joined: January/30/2005
Location: New Zealand
Posts: 1615
Quote psychokinetic Replybullet Posted: July/24/2005 at 11:34am

you broke it :O

ok,no, sorry i dont know, ill go now :P

you breathed,
then you stopped
i breathed
and dried you off...
IP IP Logged
Craigavonite
Mod-let
Mod-let


Total Mods: 5

Joined: April/23/2005
Location: United Kingdom
Posts: 113
Quote Craigavonite Replybullet Posted: July/24/2005 at 11:37am
it wont change the background image even when i use the button on the page as normal, im clearly not l337 enough
Suddenly, there was a terrible roar all around us,
and the sky was full with what looked like huge bats
IP IP Logged
stevimay
Mod-let
Mod-let


Total Mods: 1

Joined: July/03/2008
Posts: 1
Quote stevimay Replybullet Posted: July/03/2008 at 5:47pm
there is no "yes" or "no" box on mine... i dont understand what you were saying about that
bitch, show a juggalette respect
you don't wanna tussle with a down ninjette
IP IP Logged
Zal VII
Mod-let
Mod-let


Total Mods: 2

Joined: May/15/2008
Posts: 375
Quote Zal VII Replybullet Posted: July/03/2008 at 6:26pm
It's not there anymore, any styles you add will be automatically 'on', if you don't want styles then keep the box empty.
My name is Inigo Montoya, you killed, my Father, prepare to die!
IP IP Logged
Page  of 3 Next >>
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 1.688 seconds.