Thursday, November 19, 2009

Layouts?help?

okay so on myspace i have a layout site but i wanna learn how to make layouts without usng a generater any help?

Layouts?help?
Actually it's more CSS than HTML. The only HTML you use is


%26lt;style type="text/css"%26gt;


%26lt;/style%26gt;





Study up on CSS a little or do as the person above me says...sometimes that's the best way to learn. It's really pretty easy once you memorized a few lines of coding.





If you're not referencing to a style sheet, which...you more than likely aren't, you always have to start with this:


%26lt;style type="text/css"%26gt;


...and put it in the head or, in your case, "about me" section.





and then close:


%26lt;/style%26gt;





All your CSS goes in there. Here's a few things to get you started:


%26lt;style type="text/css"%26gt;


body ( pertains to all body elements and its child elements...don't worry...you'll mostly be using this)


{


background-image: url("/images/image.gif"); (background image..obviously)


background-repeat: no-repeat; (background won't repeat)


background-repeat: repeat-x; (background repeats horizontally)


background-repeat: repeat-y; (background repeat vertically)


background-repeat: repeat; (repeats both horizontally and verically I believe...never used it though)


background-attachment: fixed (background is fixed)


color: #000000; (or...)


color: "black"; (specifies text color)


font-family: Verdana, Geneva, Arial, sans-sefif; (font family, there are several because if the browser doesn't support the first one listed it then selects the next supported one down the list)


font-size: x-small; (text size, this can also be used in precentage or as "em")


}


%26lt;/style%26gt;





Hope that helps!
Reply:You can just look at the info that was generated and tweek it. It is just basic html mostly. Play around with it.


No comments:

Post a Comment