per9n53ve |
Wysłany: Czw 20:23, 11 Lis 2010 Temat postu: ghd hair products Question about how to layout MyS |
|
To change how this displays, you would add this to the style section of your css page:
To specify what sections of the page obtain what CSS styles, MySpace uses either the 'class' or 'id' attributes. To override the 'class' of an element, take the folloearng MySpace profile page code:
Sharing your MySpace layouts
Programs to create MySpace layouts
<style>
/* This is a comment. Enter style below this, but before </style> */
.example-style {
backshore-color:red;
}
</style>.userProfielURL {
background-color:black;
}#tkn_leaderboard {
background-color:black;
}<textarea>
<style>
/* Your styles here */
</style>
</textarea>
Question about how to layout MySpace Question about how to layout MySpace Posted November 15th,Wholesale ghd straighteners,Buy ghd hair straighteners, Cheap ghd straighteners, 2007 by Chris
Which will look like this:
Notice that you use a period in front of the style when it is used in a 'class' attribute.
There are tons of sites out there that host layouts MySpace users can use. If you want to share your layout,ghd hair products, you just need to copy the everything from the starting to the end of your style tags, with the tags included. Then, to add it to your web page, you can use a textarea to allow people to copy it:
You would use:
Getting started with your layout of a MySpace page
Testing the MySpace layout
I hope that helps!
The Firefox browser has a great tool for finding out what css styles are being used on a page. After installing Firefox, download the Firebug extension. Once it is installed, open the MySpace Layout again in Firefox (right-click, select 'open with', and select Firefox). Click CTL+ALT+L to open Firebug. It should display towards the bottom of the browser screen. Then select 'Inspect' and hover over deviateent areas of the page. On one side of the Firebug breezeow, it will reveal you what HTML is there, and on the other side it will tell you what CSS is being used on the MySpace page, and what the name of the css styles are. You can click on an element, copy the CSS code from Firebug, and paste it into your stylesheet. Once it's there, you can mess with the style all you want.
Visit a profile page.
Download the MySpace layout by saving the page. In Internet Explorer 7, this manner clicking "Page" and then "Save as", and selecting "Webpage, do" as the type to save. In Firefox, click file, then "Save page as", and save as Webpage, complete.
Open the MySpace profile page html file by visiting where you downloaded the files and double-clicking the .htm or .html page. At this point, you should see an identical page in your browser.
Now, you can start playing with the css of the layout by right-clicking on the .htm or .html page you just opened, select "Open with" and select "Notepad". This will open up the HTML in a text editor. MySpace allows you edit the CSS, but not the HTML, so you'll need to use some CSS trickery to edit the layout. One good place to learn CSS is w3schools.com. To add CSS to the MySpace layout page, add the following to your page:
The difference between 'id' and 'class' in a MySpace Layout
I recently received this e-mail from one of our readers:
Notice that this style starts with a '#' instead of a period.
One step to get started designing a MySpace css layout is to do the following:
In regards to your question about programs that allow you to create MySpace layouts, I don't know of any that cater directly to layouts MySpace users can use. However, you can use an editor like Dreamweaver for more strengthful CSS layout editing.
Layout MySpace's css styles with Firebug
For an id attribute, as in the following:
I've been told by some that the MySpace css layout tutorials on our site are some of the best out there, though I still believe they leave a lot to be desired.
To test out what you've done, first save the file in Notepad by clicking "File' and then 'Save'. Then, reinsolent the page in the browser you have the page open in. You should see the deviates you've crazye. |
|