
Originally Posted by
cragga_lfc
thank you for your response really appreciate it but please forgive me for being a newbie or coming across extremely thick -
i have downloaded the wallpaper, how do i optimise it for the web?
i understand about putting it in the same folder
and i dont know what to do with the css style
the code you gave me what do i do with it??
or do i just copy and past it into the HEAD or BODY of the page?
sorry i am extremely new to this and i appreciate your efforts in helping me out.
cheers
Okay. You're using Dreamweaver CS3 (which is kind of irrelevant, anyways
) , so do this: Open the page, click the "Code View" button, and find your head. It should look like this:
Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Whatever the title is</title>
</head>
And anywhere between the <head> and </head> tags, add this line:
Code:
<link rel="stylesheet" type="text/css" src="styles/style.css" />
Then, make a new text file (or CSS file from Dreamweaver) named style.css, if you don't already have one (in which case you could just add this to that file), move it into the styles folder (meaning (website-folder)/styles/style.css) and open it in DW or Notepad.
Then, to that file, add the following:
Code:
body {
background-color: #339900;
background-image: url('Aurora%20Jungle1185648491-800x600.jpg');
}
This is a stylesheet. It can also be added to the page using the <style type="text/css">...</style> tag set, but that is depreciated. It still works, but it is not recommended.
When you're done with your website, you might want to check out Dreamweaver's built-in HTML and CSS help files (I think they're called O'Malley, O'Riley, or something like that) and read up on it. Believe me, I don't pretend to know everything about web programming, but the golden first rule of programming is to read the manual, and it REALLY helps. 
Good luck!
EDIT: You don't come across as thick; just inexperienced. We've all been there, dude.
EDIT: Come to think of it, you could take all of the text from inside the <style></style> tags on your page and put them into your new style.css file, if you want. It would probably make editing site-wide styles much easier, no searching through multiple files to find that one faulty style.
Bookmarks