Profile 2.0 CSS Rules

Myspace used to use tables for their layout designs which is now outdated and very hard to edit.  No one wants to deal with tables for design purposes.  While tables do have their own use, CSS is much better for design purposes.  CSS stands for Cascading Style Sheets.  CSS is nothing new to the world of web design, only new to Myspace.  Youll find that its not that hard to learn once you try a couple of things.  One great thing about CSS is that you can make one simple change to… lets say a color, and it will apply the change to everything in its class.  For example, you can change the background colors of all of the modules by changing one piece of code.  That comes in very handy.  So, ill show you some VERY basics of CSS and explain what the different sections of your Myspace Profile 2.0 are labeled.

First of all each CSS code has a label.  The format for each piece of code will something like body { background: #FFF;}.  This would tell the page to make the background color of the body white or #FFF.  Notice that after each label you see { code; }.  All of your code after the label must be between { and }.  So, those are some VERY basics like I said.  You can google CSS and find many great tutorials and examples that you can use on your profiles.  Next, I will start explaining more about how to design your own profile.

One of the first things I usually do when designing a profile 2.0 layout is set the background image.  This is done with the following code:

  • body { background: url(link to image here) no-repeat fixed;}

That code will set your background image to the url you enter, tell it not to repeat and tell it to stay fixed when scrolling.  The following is a list of codes and a desciption of what part of the page they control:

  • #topnav- Controls the look of the Myspace menu at the top.  A background color or border can be added here.
  • #topnav ul
    {
    list-style: none;
    padding: 0;
    margin: 0;
    border-right: 1px #666 solid;
    display:block;
    }
    - I use this to control the color of the vertical line after the words ‘more’ and ’sign out’ in the menu.  Just change the color of border-right.
  • #topnav ul li
    {
    padding: 0;
    margin: 0;
    float: left;
    border-left: 1px #666 solid;
    }
    - I use this code to control all of the other vertical lines in the menu.  Just change the color of each.
  • #topnav *
    {
    color:#666;} -
    This is used to change the color of the little arrows in the menu.
  • div.module {background-color: #000;}- This will change the background color of every module on the page.  You could also leave the color out or use transparent instead of a color to allow your background to show through.  You could use an image as a background as well using the code from the body example above.
  • h3 {background: url(link to image here) repeat; color:transparent;}- This controls the headings of all the modules on the page.  I use this to set an image as a header for each module.  The color transparent makes the text of each heading dissapear.
  • div.basicInfoModule {
    background-image: url(link to image here);
    background-repeat: no-repeat;
    background-position: 70% }
    - div.basicInfoModule controls the top module where your picture and info are located.  I like to use this module to place an image.  The background-position rule is using a percent.  In this example the image would be located 70% from the left side of the module or almost to the right side.

Those are only a few of the rules that dicate how your page will look.  These are the ones I change most frequently when creating new layouts.  If you can understand how to use the above codes then it should be easy to manipulate a profile to the style you like.  Other rules will change margins of modules, colors of text, bullet styles.  The best way to learn is to grab the layout code and paste it into your CSS box on Myspace.  Then start changing things to see what happens.  A great tool that I use is the Web Developer Toolbar for Firefox.  Using this toolbar allows you to make changes to CSS on the fly making it easy to track down which CSS rule is controlling which module on Myspace.

A note about backgound images

When using backgound images inside the modules I like to use images with transparency.  A computer image, regardless of the color information contained within the image, is always a rectangle of some type.  After working hard to create or manipulate an image, you dont want it show on your page with a rectangular background.  With some images this will be fine, but im talking about design elements.  The cure for this is the use a file format called .png.  PNG images retain transparency information making them much better for design elements than .jpg.  If you are using a photo editing program to manipulate your design elements make sure you create you designs on new layers.  Its okay to use a background image while working just for reference but when you save the image be sure to turn off your background layer.  Save your image as a .png and you will have a nice design element with a transparent background.

I hope this helps in your quest to design your own Myspace Profile 2.0 layouts.  If you can use CSS to design your Myspace layout you could easily apply the same techniques to developing your own website.  Good Day!

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • MySpace
  • StumbleUpon
  • Yahoo! Buzz

154 Responses to “Profile 2.0 CSS Rules”

  1. Submit Links to Social Bookmarking Websites Automatically! Get Thousands of Visitors! Increase Website Traffic and Income with Automatic Social Bookmarks Submitter. Prepare to upgrade your servers today

  2. Submit Links to Social Bookmarking Websites Automatically! Get Thousands of Visitors! Increase Website Traffic and Income with Automatic Social Bookmarks Submitter. Prepare to upgrade your servers today – you will have thousands of real and highly targeted visitors who will make you the money like crazy!


  3. MedicamentSpot.com. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. High quality pills. Order drugs online

    Buy:Lumigan.Retin-A.Accutane.Human Growth Hormone.Arimidex.Nexium.Prevacid.Actos.Petcam (Metacam) Oral Suspension.Prednisolone.Valtrex.Synthroid.Zovirax.100% Pure Okinawan Coral Calcium.Mega Hoodia.Zyban….

  4. Digital http://hgea6yx.ALLSTOCKSPORT.INFO/tag/whirlpool+Digital+Voice/ : Digital…

    Digital…


  5. CheapTabletsOnline.com. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. Low price pills. Order drugs online

    Buy:Wellbutrin SR.Ventolin.Cozaar.Zocor.Female Pink Viagra.Buspar.Lipitor.Advair.Benicar.Lipothin.Amoxicillin.Seroquel.Zetia.Aricept.Acomplia.SleepWell.Female Cialis.Nymphomax.Lasix.Prozac….

  6. buy pure acai berry

    Buyno prescription…

  7. Abana

    Buywithout prescription…

  8. Cozaar@official.site” rel=”nofollow”>..

    Buynow it…

  9. < a href=”http://my.gardenguides.com/members/buy-Tramadol? buy@tramadol.best.price.online

    Buyit now…

  10. is@sun.pharmaceuticals.depakote.good.quality” rel=”nofollow”>.

    Buyno prescription…

  11. side@effects.of.zyrtec.overdose” rel=”nofollow”>.

    Buygeneric meds…

  12. Zoloft

    Buygeneric meds…

  13. Voltaren

    Buygeneric drugs…

  14. Yaz

    Buywithout prescription…

  15. Yaz

    Buywithout prescription…

  16. leg swelling lasix

    Buyno prescription…

  17. yaz plan b

    Buydrugs without prescription…

  18. is there a precition face cream that’s better than ketoconazole

    Buydrugs without prescription…

  19. Purim

    Buyit now…

  20. Symbicort@Symbicort.Symbicort” rel=”nofollow”>…

    Buynow it…

  21. Purim@Purim.Purim” rel=”nofollow”>..

    Buywithout prescription…

  22. Clonidine@Clonidine.Clonidine” rel=”nofollow”>…

    Buyit now…

  23. Prozac@Prozac.Prozac” rel=”nofollow”>…

    Buyno prescription…

  24. Buygeneric meds…

  25. pyrantel@pamoate.to.kill.acanthocephala” rel=”nofollow”>..

    Buygeneric drugs…

  26. Buygeneric drugs…

  27. when@will.i.ovulate.after.using.clomid” rel=”nofollow”>.

    Buyno prescription…

  28. .

    Buyit now…

  29. ..

    Buyit now…

  30. aloe@vera.juice” rel=”nofollow”>..

    Buynow it…

  31. maximum@dosage.for.pristiq” rel=”nofollow”>…

    Buyit now…

  32. prilosec@and.pepcid.and.carafate.for.dog” rel=”nofollow”>.

    Buywithout prescription…

  33. weitz@and.luxenberg.accutane.settlement” rel=”nofollow”>..

    Buyit now…

  34. bachus@and.schanker.accutane” rel=”nofollow”>..

    Buygeneric drugs…

  35. aciphex@how.fast.does.it.work” rel=”nofollow”>.

    Buyit now…

  36. hello…

    really good article. Ready to hear more next week,my blog http://debbieqqq.onsugar.com/Adressing-Wedding-invites-Envelopes-17840597 Many Thanks….

  37. hello…

    really good article. Ready to hear more next week,my blog http://eveningdressesymm.tumblr.com/ Many Thanks….

  38. really good article…

    I have spent a bit of time going through your posts, more than I should have but I must say, its worth it! http://sep071.blogth.com/541653/inherent+stiffness.html many Thanks….

  39. Great…

    You did a great job! http://denese.buenblog.com/2011/06/19/beauty-how-to-zimmermann/...

  40. Great…

    You did a great job! http://demetrice.blogdumps.net/2011/06/17/boy-chanel-bag/...

  41. quality post…

    I have spent a bit of time going through your posts! http://demetriusa.blogcindario.com/2011/06/00002-the-fifties-foods-and-fashion.html ,i had a good read….

  42. Greate…

    It’s such a great site! http://www.zimbio.com/Yani+Tseng/articles/sCM_M2jZCOq/LPGA+standout+Blomqvist+explains+naming+son Great post, I just bookmarked it on Digg….

  43. buy@aloe.vera.gel” rel=”nofollow”>…

    Need cheap generic VIAGRA?…

  44. Great One…

    I must say, its worth it! My link!http://edward071.bplog.net/ ,thanks haha…

  45. Order@Coral.Calcium.Online” rel=”nofollow”>..

    Buygeneric pills…

  46. Purchase@Abilify.Without.Prescription” rel=”nofollow”>..

    Buygeneric meds…

  47. Cheap@Generic.Abilify” rel=”nofollow”>..

    Buygeneric drugs…

  48. Cheap@Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>..

    Buygeneric pills…

  49. Buy@Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>..

    Buyno prescription…

  50. Order@Cheap.Acai” rel=”nofollow”>…

    Buynow it…

  51. Cheap@Acai.Online” rel=”nofollow”>…

    Buynow…

  52. Cheap@Generic.Acai” rel=”nofollow”>..

    Buyit now…

  53. Buy@Discount.Coral.Calcium” rel=”nofollow”>..

    Buywithout prescription…

  54. Purchase@Cheap.Coral.Calcium” rel=”nofollow”>.

    Buynow it…

  55. Purchase@Cheap.Coral.Calcium” rel=”nofollow”>…

    Buywithout prescription…

  56. Purchase@Cheap.Abana” rel=”nofollow”>…

    Buywithout prescription…

  57. Cheap@Abilify.Online” rel=”nofollow”>..

    Buynow it…

  58. Buy@Cheap.Acai” rel=”nofollow”>…

    Buygeneric drugs…

  59. Buy@Cheap.Acai” rel=”nofollow”>…

    Buygeneric drugs…

  60. Order@Acai.Online” rel=”nofollow”>…

    Buyit now…

  61. Order@Cheap.Acai” rel=”nofollow”>..

    Buynow it…

  62. Get@Acai.Online” rel=”nofollow”>…

    Buygeneric drugs…

  63. Buy@Acai.Without.Prescription” rel=”nofollow”>.

    Buygeneric drugs…

  64. Buy@Discount.Energy.Boost” rel=”nofollow”>.…

    Buynow it…

  65. Order@Discount.Energy.Boost” rel=”nofollow”>.…

    Buynow it…

  66. Buy@Discount.Accupril” rel=”nofollow”>.…

    Buyno prescription…

  67. Cheap@Accupril.Online” rel=”nofollow”>.…

    Buygeneric drugs…

  68. Buy@Cheap.Accutane” rel=”nofollow”>.…

    Buygeneric drugs…

  69. Buy@Accutane.Online” rel=”nofollow”>.…

    Buygeneric drugs…

  70. Order@Cheap.Accutane” rel=”nofollow”>.…

    Buygeneric drugs…

  71. Cheap@Accutane.Online” rel=”nofollow”>.…

    Buygeneric meds…

  72. Cheap@Aciphex.Without.Prescription” rel=”nofollow”>.…

    Buynow it…

  73. Buy@Generic.Actonel.35mg” rel=”nofollow”>.

    Buyno prescription luw…

  74. Order@Cheap.Actoplus.Met” rel=”nofollow”>..

    Buygeneric drugs krg…

  75. Get@Actoplus.Met.Online” rel=”nofollow”>..

    Buygeneric pills zdg…

  76. Buy@Generic.Actos.15mg.30mg” rel=”nofollow”>..

    Buygeneric meds qmo…

  77. Order@Cheap.Coral.Calcium” rel=”nofollow”>..

    Buygeneric drugs lzt…

  78. Buy@Abilify.Without.Prescription” rel=”nofollow”>…

    Buywithout prescription xiu…

  79. Buy@Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>..

    Buynow it vhx…

  80. Abilify@5mg.10mg.15mg.20mg.30mg.Without.Prescription” rel=”nofollow”>…

    Buygeneric meds svb…

  81. Buy@Cheap.Acai” rel=”nofollow”>..

    Buyno prescription wkp…

  82. Order@Acai.Online” rel=”nofollow”>..

    Buyno prescription jui…

  83. Order@Cheap.Acai” rel=”nofollow”>..

    Buyno prescription gdt…

  84. Cheap@Acai.Online” rel=”nofollow”>…

    Buyit now sge…

  85. Purchase@Cheap.Energy.Boost” rel=”nofollow”>.

    Buyit now ojb…

  86. Order@Cheap.Accupril” rel=”nofollow”>.

    Buynow it fnp…

  87. Buy@Cheap.Accutane” rel=”nofollow”>..

    Buyno prescription tao…

  88. Order@Discount.Accutane” rel=”nofollow”>.

    Buygeneric drugs mby…

  89. Purchase@Cheap.Accutane” rel=”nofollow”>…

    Buywithout prescription ccw…

  90. really…

    Fat women and girls always worried because of their ugly shaped bodies. http://dhyjukr.blog-host.nl/ , but they can not wear these outwears…

  91. Cheap@Generic.Accutane.10mg.20mg” rel=”nofollow”>…

    Buynow it zdg…

  92. Accutane@10mg.20mg.Without.Prescription” rel=”nofollow”>..

    Buygeneric drugs ajd…

  93. Buy@Aciphex.Online” rel=”nofollow”>.

    Buygeneric drugs itj…

  94. Aciphex@20mg.Without.Prescription” rel=”nofollow”>.

    Buynow it lmg…

  95. Buy@Discount.Acomplia” rel=”nofollow”>..

    Buydrugs without prescription faj…

  96. Purchase@Discount.Acomplia” rel=”nofollow”>..

    Buynow it sgk…

  97. Order@Actonel.Without.Prescription” rel=”nofollow”>…

    Buydrugs without prescription jlg…

  98. Order@Advair.Online” rel=”nofollow”>..

    Buyit now irl…

  99. Cheap@Advair.Online” rel=”nofollow”>.

    Buygeneric drugs nih…

  100. Buy@Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>..< /blo…

    Buygeneric meds dxy…

  101. Buy@Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>…< /bl…

    Buygeneric drugs vbr…

  102. < a href=”http://trig.com/advair5771/biography/?ml=Advair-25mcg/50mcg-25mcg/125mcg-25mcg/250mcg-50mcg/500mcg-50mcg/100mcg-50mcg/250mcg-Without-Prescription Advair@25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg.Without.Pr

    Buydrugs without prescription ygy…

  103. advair@copd.advertising.campaign” rel=”nofollow”>..

    Buynow…

  104. allopurinol@cheap.buy” rel=”nofollow”>..

    Buyit now…

  105. buy@amoxicillin.500mg” rel=”nofollow”>.

    Buynow it…

  106. arimidex@or.nolvadex.steriods” rel=”nofollow”>..

    Buywithout prescription…

  107. Download@pop.Rock” rel=”nofollow”>…

    Search rock US Charts…

  108. warfarin zoloft

    Buy_drugs without prescription…

  109. do cats carry ringworm

    Buy_generic meds…

  110. recent advances in cancer breast

    Buy_now…

  111. steroids abuse sexual dysfunction

    Buy_it now…

  112. soft food diet ideas

    Buy_drugs without prescription…

  113. hiv aids in california in 1997

    Buy_generic pills…

  114. impact rating journal of clinical psychology

    Buy_now it…

  115. viagra in the uk

    Buy_no prescription…

  116. tuna during pregnancy

    Buy_generic meds…

  117. arimidex and marathon

    Buy_generic drugs…

  118. adult circumcisions and complications

    Buy_generic meds…

  119. good and bad drugs

    Buy_without prescription…

  120. is hepatitis b contagious

    Buy_generic pills…

  121. gestational surrogacy

    Buy_now…

  122. combination food diet

    Buy_drugs without prescription…

  123. drug rehab center british columbia

    Buy_generic drugs…

  124. buying prescription drugs in mexico

    Buy_now it…

  125. faye sick lung cancer

    Buy_drugs without prescription…

  126. terbutaline autism claim

    Buy_no prescription…

  127. iv zofran

    Buy_drugs without prescription…

  128. does birth control control moods

    Buy_generic drugs…

  129. chf vs pulmonary edema

    Buy_generic drugs…

  130. weight loss tricks for 40 somethings

    Buy_drugs without prescription…

  131. hypertension police ma

    Buy_drugs without prescription…

  132. psychostimulant treatment of depression

    Buy_drugs without prescription…

  133. copd lung sounds

    Buy_it now…

  134. canine medi cam rx

    Buy_generic drugs…

  135. azithromycin doxycycline over the counter

    Buy_generic pills…

  136. forensic drug test swab

    Buy_no prescription…

  137. social interaction anxiety

    Buy_without prescription…

  138. how to make glucose water

    Buy_it now…

  139. how can i lower my cholesterol

    Buy_generic drugs…

  140. dr loss phil ultimate weight

    Buy_no prescription…

  141. indomethacin opthalmic drops

    Buy_generic pills…

  142. foods with triglycerides in them

    Buy_generic drugs…

  143. hormone shot for prostate cancer

    Buy_generic drugs…

  144. advisory group on hepatitis uk

    Buy_no prescription…

  145. tobacco alternatives herbal

    Buy_generic drugs…

  146. flat warts and probiotics

    Buy_generic drugs…

  147. medicare drugs covered

    Buy_generic meds…

  148. state of arizona ontiveros drug

    Buy_now it…

  149. black molley slang drug name

    Buy_generic drugs…

  150. lexapro versus prozac differences

    Buy_without prescription…

  151. sample ncp for diabetes

    Buy_without prescription…

  152. what year was advil introduced

    Buy_now it…

  153. Download@pop.Rock” rel=”nofollow”>.

    Buy rock US Charts…

  154. depo@provera.bone.loss” rel=”nofollow”>…

    Buygeneric drugs…

Leave a Reply