DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = How to add a background image to a CSS style sheet? - iTechForums
Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2009, 04:57 AM
DALČO DALČO is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
Default

How to add a background image to a CSS style sheet?


How to add a background image to a CSS style sheet?

I have to create a website for my web11 class. I have the site put together with all my images and html files in one folder.

I want to add a background image to the pages and can't figure out how. I have the image in my images folder for the site. Heres my style sheet code, where do I add the background image code ( i want it to repeat) ?

* {
padding: 0;
margin: 0;
}

body {
background: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
line-height: 18px;
color: #333333;;


}

img { border: none; }
a { color: #4c320d; }
a:hover { text-decoration: none; color : #000; }

#wrap {
margin: 20px auto;
width: 800px;
}

#header {
background: #4c320d url(images/contact1.jpg) no-repeat;
height: 400px;
}
#header h1 {
font-size: 26px;
font-weight: 100;
letter-spacing: -1px;
padding: 22px 0 5px 20px;
}
#header h1 a {
color: #fff;
text-decoration: none;
}
#header h1 a:hover {
color: #111;
text-decoration: none;
}
#header h2 {
color: #ccc;
font-size: 15px;
font-weight: 100;
padding: 0 0 0 21px;
letter-spacing: -1px;
line-height: 12px;
}

#menu {
height: 30px;
line-height: 30px;
background: #4c320d url(images/menu.jpg) no-repeat;
}
#menu ul {
padding-left: 10px;
list-style-type: none;
}
#menu ul li {
display: block;
float: left;
}
#menu ul li a {
color: #eee;
padding: 0 10px;
text-decoration: none;
font-weight: 600;
}
#menu ul li a:hover {
color: #fff;
text-decoration: underline;
}

#content {
background: #4c320d url(images/content.jpg) repeat-y;
padding: 10px 20px;
}

.left {
width: 588px;
float: left;
text-align: justify;
}
.left h2 {
color: #FF4800;
font-size: 24px;
letter-spacing: -3px;
font-weight: 100;
padding : 10px 0 15px 0;
}

.right {
width: 140px;
float: right;
font-size: 12px;
}
.right ul {
list-style-type: square;
padding: 5px 10px 10px 20px;
}
.right h2 {
height: 30px;
font-size: 12px;
color: #666;
line-height: 30px;
}
.right a { text-decoration: none }

#top {
background: #555 url(images/top.jpg) no-repeat;
padding: 5px 0;
}
#bottom {
background: #555 url(images/bottom.jpg) no-repeat;
padding: 10px 0;
}

#footer {
text-align: center;
color: #eee;
font-size: 11px;
padding: 0 0 10px 0;
}
#footer a { color: #eee; }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a background color show up in a hover in a CSS style sheet? snowangel_12001 CSS 1 06-02-2009 07:46 PM
How to stretch a background image when the text is longer than the image in... Sovi? HTML & DHTML 1 10-03-2008 06:14 AM
Css style sheet HELP!? desginrkid CSS 1 06-30-2008 03:28 PM
CSS style sheet help PLEASE!? desginrkid CSS 1 06-26-2008 03:27 AM
CSS style sheet!? desginrkid CSS 0 06-26-2008 03:09 AM

Your Ad Here

All times are GMT. The time now is 03:39 AM.