Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
using code from another website
Old 10-01-2009, 09:54 PM using code from another website
Junior Talker

Posts: 4
Trades: 0
i am trying to implement code from another website but it is not working very well. I think its because i don't have the .css files they reference to. so my question is...

can someone give me the code for the basic template?

i understand how to keep the background still, but the rest i couldn't figure out. there is a header, a footer, and a little bar that is the whole middle. im going to change those to my own pictures.

please help me. i am new to html and css. thanks

here's the site
http://jpskillz.wordpress.com/
neo247 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-02-2009, 06:46 AM Re: using code from another website
Average Talker

Posts: 24
Location: Germany
Trades: 0
Looks like a simple wordpress blog to me. So you could go to wordpress.org to download the basic template.
__________________

Please login or register to view this content. Registration is FREE
- Register Now and Share Your Thoughts to Create Innovation and Wisdom


Please login or register to view this content. Registration is FREE
- Psychology, Philosophy and Self Development


Please login or register to view this content. Registration is FREE
- Read About All Those Things That Bug Me
Trey Walter is offline
Reply With Quote
View Public Profile Visit Trey Walter's homepage!
 
Old 10-02-2009, 06:52 AM Re: using code from another website
Junior Talker

Posts: 4
Trades: 0
This is the authors website, go there and you can probably get the theme
http://binarybonsai.com/
DrVPSHosting is offline
Reply With Quote
View Public Profile
 
Old 10-02-2009, 04:33 PM Re: using code from another website
Junior Talker

Posts: 4
Trades: 0
thanks for the responses, but thats not really what im looking for.

i think i could make that all but i dont understand how they make this image..

http://s3.wordpress.com/wp-content/t.../kubrickbg.gif

the whole body. as you can see, i am new to html and css. and i want to keep my websites to just those languages.

i hope that explains what im going for. im not making a blog. im making just a simple website for a small business i work for
neo247 is offline
Reply With Quote
View Public Profile
 
Old 10-03-2009, 07:53 AM Re: using code from another website
Average Talker

Posts: 24
Location: Germany
Trades: 0
Maybe this piece of code is what you're looking for:
Code:
<style type='text/css'>#page { background: url("http://s3.wordpress.com/wp-content/themes/default/images/kubrickbg.gif") repeat-y top; border: none; }
</style>
In combination with:
Code:
<body><div id="page">

<!-- content here -->

</div></body>
But that's just one part of the whole body. There are other <div> tags with other background-images (e.g. <div id="header"> and <div id="footer>) and some separated css. files as well. I can't explain all that stuff to you.

By the way, you can read their separated css. files if you enter the URLs of the files in the address bar of your browser. (Just in case you didn't know.)
__________________

Please login or register to view this content. Registration is FREE
- Register Now and Share Your Thoughts to Create Innovation and Wisdom


Please login or register to view this content. Registration is FREE
- Psychology, Philosophy and Self Development


Please login or register to view this content. Registration is FREE
- Read About All Those Things That Bug Me
Trey Walter is offline
Reply With Quote
View Public Profile Visit Trey Walter's homepage!
 
Old 10-03-2009, 12:08 PM Re: using code from another website
Average Talker

Posts: 23
Name: Mary North
Trades: 0
As far as I'm concerned there are other blogs that you can't copy the source code.
__________________

Please login or register to view this content. Registration is FREE
marynorth21 is offline
Reply With Quote
View Public Profile
 
Old 10-03-2009, 12:40 PM Re: using code from another website
Junior Talker

Posts: 4
Trades: 0
Quote:
Originally Posted by Trey Walter View Post
Maybe this piece of code is what you're looking for:
Code:
<style type='text/css'>#page { background: url("http://s3.wordpress.com/wp-content/themes/default/images/kubrickbg.gif") repeat-y top; border: none; }
</style>
In combination with:
Code:
<body><div id="page">

<!-- content here -->

</div></body>
But that's just one part of the whole body. There are other <div> tags with other background-images (e.g. <div id="header"> and <div id="footer>) and some separated css. files as well. I can't explain all that stuff to you.

By the way, you can read their separated css. files if you enter the URLs of the files in the address bar of your browser. (Just in case you didn't know.)

this looks like what im looking for. i dont have time to test it out right now though. i understand the heading and footer and stuff i just didnt know how they did the body. i will not use those images. im going to make my own with the same dimentions. i also did not know i could view their css. great to know. ill reply back later when i test it. thank you

Last edited by neo247; 10-03-2009 at 12:42 PM..
neo247 is offline
Reply With Quote
View Public Profile
 
Old 10-04-2009, 02:09 AM Re: using code from another website
Junior Talker

Posts: 4
Trades: 0
ok it worked, but the text is across the whole screen. how can i set it to inside that body image and also stay there when the page is resized?
neo247 is offline
Reply With Quote
View Public Profile
 
Old 10-08-2009, 04:38 PM Re: using code from another website
bige2533's Avatar
Skilled Talker

Posts: 79
Name: Eric
Location: Colorado
Trades: 1
So you want a div that appears on top of your gif that contains text? Then you'll need to make the div as wide as the gif and arrange it so it displays on top.
__________________

Please login or register to view this content. Registration is FREE
bige2533 is offline
Reply With Quote
View Public Profile
 
Old 10-08-2009, 05:48 PM Re: using code from another website
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
without their css, you will never be able to match their site exactly, or put it another way, match it easily.
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 10-09-2009, 02:44 PM Re: using code from another website
bige2533's Avatar
Skilled Talker

Posts: 79
Name: Eric
Location: Colorado
Trades: 1
Can't you get the css code using the w3 validator?
__________________

Please login or register to view this content. Registration is FREE
bige2533 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to using code from another website
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.63999 seconds with 12 queries