ATTENTION: Bad design can kill!
And 2 tips and tricks I missed last week:
- Have a custom error page so you can redirect users to your home page or report a dead link.
- Keep in mind users are increasingly using handheld devices to surf the Internet. Design with small screens in mind: less is more!
Now, onto today's topic...
PC World ranked MySpace as the number 1 worst web site.
When I first stumbled onto MySpace, I looked, I shuddered, I clicked away. Animated graphics, music, textured backgrounds, illegible fonts, crazy colors, and countless other violations. MySpace pushed web design back a good decade.
But wait! Your MySpace page doesn't have to follow the trend. Please stop the madness. Pages like this one hurts! Read Parts 1 and 2. And apply the guidelines to your space because good design is for everyone.
So, what's below? A break down of the MySpace style codes that can help you customize your page. (Example shown is from PARTS of Ann Bruce's space.)
Breaking Down MySpace
NOTE FROM ANN: Some "friends" paste in really large images in their comments, which can take up your entire page, so I included the following to make the images smaller.
/* RESIZE COMMENTS IMAGES */
td.text td.text table table table td a img {
width:80px;
}
td.text td.text table table table td div img {
width:80px;
}
td.text td.text table table td img {
width:50px;
max-width:80px;
width:auto;
}
td.text td.text table table td div img {
width:80px;
}
* html td.text td.text table table td img {
width:80px;
}
* html td.text td.text table table td a img {
width:80px;
}
* html td.text td.text table table td div img {
width:80px;
}
/* END RESIZE COMMENTS IMAGES */
NOTE FROM ANN: This is a background image that I allow to tile, but I don't allow it to move when users scroll down the page.
/* STATIC, TILING BACKGROUND IMAGE */
body{
background-color:
background-image:
background-attachme
background-position
background-repeat: no-repeat;
border-color:
border-width:
border-style:
}
/* END STATIC, NON-TILING BACKGROUND IMAGE */
NOTE FROM ANN: Everything after this point is pretty self-explanatory.
/* AFFECTS ALL TABLES ON PAGE */
table, tr, td {
background-color:
border:none;
border-width:
}
/* MAIN TABLES CONTAINING EVERYTHING (ALL TEXT, ETC.)*/
table table table{
border-style:
border-width:
border-color: F5F5DC;
background-color:
}
/* MAIN TABLE TEXT THROUGHOUT MOST OF PROFILE */
table table table td{
background-color:
filter:alpha(
..-opacity:100;
opacity:100;
-khtml-opacity:
}
/* TEXT ON ALL TABLES */
table, tr, td, li, p, div {
font-family:
color:000000;
font-size:12px;
}
/* BLOG HEADER */
.btext {
font-family:
color:333333;
font-size:12px;
}
/* DATES IN COMMENTS AREA */
.blacktext10 {
font-family:
color:333333;
font-size:12px;
}
/* TEXT "ABOUT ME" "FRIENDS SPACE" "FRIENDS COMMENTS" */
.orangetext15 {
font-family:
color:333333;
font-size:12px;
}
/* DISPLAYING "XX" OF "XX" COMMENTS */
.redtext {
font-family:
color:333333;
font-size:12px;
}
/* YOUR NAME */
.nametext {
font-family:
color:333333;
font-size:12px;
}
/* TEXT HEADERS ON LEFT SIDE */
.whitetext12 {
font-family:
color:333333;
font-size:12px;
font-weight:
}
/* TEXT IN EXTENDED NETWORK */
.blacktext12 {
font-family:
color:000000;
font-size:12px;
}
/* LABELS ON LEFT (GENERAL, STATUS, ETC.) */
.lightbluetext8 {
font-family:
color:000000;
font-size:12px;
}
/* XX HAS "XX" FRIENDS */
.redbtext {
font-family:
color:000000;
font-size:12px;
}
/* TEXT NEXT TO DEFAULT PIC */
.text {
font-family:
color:000000;
font-size:12px;
font-weight:
}
/* REMOVE BORDERS FROM HYPERLINKED IMAGES */
a img {border: none; }
/* ALL LINKS */
a:link {
font-family:
color:000080;
text-decoration:
font-size:12px;
}
a:active {
font-family:
color:000080;
text-decoration:
font-size:12px;
}
a:visited {
font-family:
color:000080;
text-decoration:
font-size:12px;
}
a:hover {
font-family:
color: FF0000;
text-decoration:
font-size:12px;
}
/* END ALL LINKS */
/* REDLINK FOR "VIEW ALL OF XX’S FRIENDS" */
a.redlink:link {
font-family:
color:000080;
text-decoration:
font-size:12px;
}
a.redlink:active {
font-family:
color:000080;
text-decoration:
font-size:12px;
}
a.redlink:visited {
font-family:
color:333333;
text-decoration:
font-size:12px;
}
a.redlink:hover {
font-family:
color: FF0000;
text-decoration:
font-size:12px;
}
/* END REDLINK FOR WITHIN FRIENDS SPACE TO VIEW ALL FRIENDS */
/* NAVIGATION BAR LINKS (HOME, BROWSE, SEARCH, ETC.) */
a.navbar:link {
font-family:
color:BDB76B;
text-decoration:
font-size:12px;
}
a.navbar:active {
font-family:
color: BDB76B;
text-decoration:
font-size:12px;
}
a.navbar:visited {
font-family:
color: BDB76B;
text-decoration:
font-size:12px;
}
a.navbar:hover {
font-family:
color: 000000;
text-decoration:
font-size:12px;
}
/* END NAVIGATION BAR LINKS (HOME, BROWSE, SEARCH, ETC.) */
/* LINKS AT BOTTOM OF PAGE (ABOUT, FAQ, ETC.) */
u {
color: BDB76B;
font-weight:
}
NOTE FROM ANN: When replacing the default images, try to make sure your image is the same size as the default. If you make an image that's too big or too small and then force it to the correct size using the WIDTH and HEIGHT functions, the images usually won't be crisp.
/* REPLACE EXTENDED NETWORK WITH IMAGE (MAIN BANNER)*/
span.blacktext12 {
visibility:visible ;
background-color:
background-image:
background-repeat:
background-position
font-size:0px;
letter-spacing:
width:435px;
height:100px;
display:block ;
}
span.blacktext12 img {
display:none;
}
body, html {
visibility:visible ;
display:block
}
/* END REPLACE EXTENDED NETWORK WITH IMAGE */
/* REPLACE CONTACTS WITH IMAGE */
.contactTable {
width:300px!
height:150px!
padding:0px!
background-image:
background-attachme
background-position
background-repeat:
background-color:
}
.contactTable table, table.contactTable td {
padding:0px;
border:0px;
background-color:
background-image:
}
.contactTable a img {
visibility:hidden;
border:0px;
}
.contactTable a {
display:block;
height:28px;
width:115px;
}
.contactTable .text {
font-size:1px;
}
.contactTable .text, .contactTable a, .contactTable img {
filter:none;
}
.contactTable .whitetext12 {
display:none;
}
/* END REPLACE CONTACTS WITH IMAGE */
/* REPLACE MYSPACE URL WITH IMAGE */
/* URL TEXT */
div, strong {
color:FFFFFF;
}
table table table table div strong {
display:block;
position:relative;
font-size:0px;
margin: -11px -1px -26px -1px;
background-repeat:
background-position
background-image:
height:55px;
width:300px;
color:FFFFFF;
background-color:
}
/* END REPLACE MYSPACE URL WITH IMAGE */
That's it. I'm done. Go forth and design well, young grasshoppers.
4 comments:
*ahem* now that my cat has decided to stop typing...
I put the code about resizing comments in Style? I'm going to have to try that one.
And oy on the MySpace page you pulled up. That's hard on the eyes.
Mechele--Yup. Everything goes inside the STYLE tags.
And MySpace has many more pages that hurts to look at, but that's definitely one of the worse. I can't stress enough that LESS IS MORE.
Wow great info Ann! And that myspace page was so obnoxious it hurt my eyes. My eyes I say! LOL
Post a Comment