Monday, November 22, 2010

How do you show the font changes in your layouts?

I don't need to know how to change the font or color or size i already know that. What I need to know is, well ok you know how with premade layouts some of them won't show the font changes like if you put the code to make something bigger the layout automatically makes it all one size? Well what code would i take out of a premade to enable my font changes?How do you show the font changes in your layouts?
You need to use css, not html, to address the area of text by depth.



I assume you're using something like %26lt;font color=';red';%26gt; or %26lt;font style=';font-color:red;';%26gt;, right?



Instead, address the area by it's class or cell. For example, the About Me section text is addressed and changed like this.



%26lt;style%26gt;

table.blurbs td td span.text {color:red!important;}

%26lt;/style%26gt;





The !important declaration makes the code override your layout's formatting, unless IT uses an important declaration as well, then you'd have to remove it.



If you are NOT familiar with Myspace table structure and depth, then I suggest you use this as a guide.



http://myspace.com/drhoovey



This works well for styling as well - and does all the difficult stuff for you.



http://abrax.us/Katamari/SectionManager.

No comments:

Post a Comment