Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How would I integrate CSS with a theme I made?
#8
What I did was I sliced the seperate images and integrated them using CSS.
For example, With a background image
Code:
body
{
background-image:url('http://wwwurltobackground.png');
background-repeat:repeat x,y;

Then just use
Code:
position:absolute;
left: ;
top: ;
  width: ;
  height: ;
For alignment purposes.
Move Left - Use a negative value for left.
Move Right - Use a positive value for left.
Move Up - Use a negative value for top.
Move Down - Use a positive value for top.
Width is explanatory, as is height.

now for the HTML.
Code:
<div id="insert section name">Content</div>
The <div></div> tags define the part of the website you are going to call in the CSS.

For example
Code:
#insert section name{
background-image:url('http://www.contentimage.com/contentbackground.png');
position:absolute;
left: 350;
top: 130;
  width: 676;
  height: 458;
What we did was call the section using #name of div. And then aligned it using the Left, Top, Width, and Height attributes. You can find a list and examples of attributes
Here

Now, combining.
index.html (Click to View)
What we did here was use CSS to align the content box, and to make the text italicized. We also called a background using CSS.
Reply


Messages In This Thread
RE: How would I integrate CSS with a theme I made? - by Pineapple - 10-19-2010, 06:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Free Worker HTML, CSS, Javascript ImFocuzz 2 1,286 04-05-2014, 10:01 PM
Last Post: VHPanda
  Forum CSS code problem. inferno.lion 0 824 06-10-2013, 02:48 AM
Last Post: inferno.lion
  MyBB CSS Postbit Buttons Peter L 1 1,446 07-14-2012, 05:52 PM
Last Post: 'Snorlax
  inline css question andrewjs18 1 1,017 03-24-2012, 10:11 AM
Last Post: Haxalot
  Need a CSS Teacher! ImFocuzz 2 1,092 03-08-2012, 06:01 PM
Last Post: BreShiE

Forum Jump:


Users browsing this thread: 2 Guest(s)