473,473 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

background images

1 New Member
Hi,
I am designing a theme for a wordpress blog and I am having some problems with repeating background images.

Specifically, the background image will not show or repeat in the body, or in the sidebar. I realize this could be a php problem but I wanted to check and make sure it wasn't a css issue first. The repeating image will work in the .content section. I don't get it!

Thanks.


Here is my stylesheet:

*
Theme Name: YRF
*/

body {
margin: 0px;
background: url(http://www.yeahrightfilms.com/images/background.GIF) #fff;
background-repeat: repeat-x;
line-height: 18px;
color: #333333;
FONT-FAMILY: Verdana, Arial, sans-serif

}

.blogtitle {
BACKGROUND: #fff;
font-family: Tahoma;
font-size: 12pt;
letter-spacing: 3px;
font-weight: lighter;
color: #7A3611;
position: absolute;
left: 150px;
top: 0px;
height: 125;
width: 600px;
}

#sidebar {
position: absolute;
top: 0px;
left: 0px;
width: 150px;
font-family: Tahoma;
font-size: 7.5pt;
color: #BFC4BE;
background: url(http://www.yeahrightfilms.com/images/background.GIF) #fff;
background-repeat: repeat-x;
text-align: justify;;
}


.content {
BACKGROUND: #fff;
position: absolute;
top: 50px;
left: 150px;
width: 600px;
font-family: Tahoma;
font-size: 7.5pt;
color: #BFC4BE;
text-align: justify;
}

H2 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 27px; PADDING-BOTTOM: 5px; MARGIN: 0px; COLOR: #333; PADDING-TOP: 15px; FONT-STYLE: normal; FONT-FAMILY: Georgia, "Times New Roman", Times, serif; TEXT-ALIGN: center
}
H3 {
MARGIN-TOP: 2px; FONT-WEIGHT: normal; FONT-SIZE: 11px; PADDING-BOTTOM: 0px; COLOR: #999; FONT-FAMILY: Georgia, Times, serif; TEXT-ALIGN: center
}


#footer {
PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 9px; PADDING-BOTTOM: 2px; MARGIN: 35px 0px; TEXT-TRANSFORM: uppercase; COLOR: #ccc; PADDING-TOP: 2px; TEXT-ALIGN: center
}
Aug 29 '07 #1
1 1577
drhowarddrfine
7,435 Recognized Expert Expert
The CSS is valid and don't see any obvious problem with that, though you should use lower case.
Aug 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Markus Mohr | last post by:
Hi, everyone, I have a special problem: For every monitor resolution in 200 pixel steps from 800 to 1600 pixels I have an image to be shown as centered background-image. Those images all...
4
by: Nathan Given | last post by:
Hello All, I am trying to randomly change the background image of my home page but I can't seem to figure it out. Here is a snippet of my css .... BODY {background:transparent...
3
by: MediaDesign | last post by:
so there's the problem: my text links have background images and when I put links around images on my page, they too get the background image treatment which I do not...I have tried several...
5
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I...
3
by: ribinha | last post by:
Hi all, I am having problems loading background images on my pages. I have created a css to display the images. It works just fine on my test box, but when I tried on real pages it wont upload any...
7
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css...
3
by: Viken Karaguesian | last post by:
Hello all, I need somehelp with background tiling. I have a sneaking suspicion that what I want to do is not possible, but I'll ask anyway. :>) First some background: Here's the site in...
0
by: Jeb Hunter | last post by:
Well, how can I describe this succinctly? I have a page with DIVs that us background images to produce a border effect. It works perfectly well, but I want to make up (for now) 3 different...
10
by: VividWeb | last post by:
Hi. I am relatively new to CSS and HTML but have a basic understanding of most things. One of my backgrounds is not positioning correctly in IE 7 or AOL. The background behind the content...
2
by: thephatp | last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE. I have created a sample page, and I'm...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.