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
image wont display in FF or IE using css
Old 02-09-2007, 11:42 AM image wont display in FF or IE using css
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
i am creating a site using DW8 and am still trying to get images to display when they are used as css rather than placing the image as i want to write text on top of the image.

this is the css

Code:
.gradientBackground {
	background-image: url(images/background.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	background-attachment: fixed;
}
.menuBack {
	background-image: url(images/base-menu1.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
}
.spacerLeft {
	background-image: url(images/left-side-repeat.jpg);
	background-repeat: repeat-y;
	background-position: top;
}
.spacerRight {
	background-image: url(images/right-side-repeat.jpg);
	background-repeat: repeat-y;
	background-position: top;
}
.baseBackground {
	background-image: url(images/base-menu.jpg);
}
This is the first site ive created using DW8, i used DW MX 2004 for a long time with no problems?
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-09-2007, 12:17 PM Re: image wont display in FF or IE using css
Super Talker

Posts: 145
Name: GUESS WHO
Trades: 0
try:

background-image: url(http://www.yourdomain.com/images/base-menu.jpg);
unlisted80 is offline
Reply With Quote
View Public Profile
 
Old 02-09-2007, 12:41 PM Re: image wont display in FF or IE using css
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Nahh. the full url is not necessary.

Try writing the rule this way:
.gradientBackground {
background: url(images/background.jpg) repeat-x fixed bottom;
}

Which browser is not showing the images ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-09-2007, 02:01 PM Re: image wont display in FF or IE using css
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
its not working in either browser
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
Old 02-09-2007, 02:52 PM Re: image wont display in FF or IE using css
redgeordieboy99's Avatar
Skilled Talker

Posts: 61
Trades: 0
tried your suggestion LadynRed but now it just displays the images incorrectly, they are out by 1 pixel but it is noticeable
redgeordieboy99 is offline
Reply With Quote
View Public Profile
 
Old 02-09-2007, 03:30 PM Re: image wont display in FF or IE using css
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
k.. need to see the rest of your code - css and HTML to figure out why.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-10-2007, 05:42 PM Re: image wont display in FF or IE using css
gsmile's Avatar
Skilled Talker

Posts: 99
Name: graceL
Trades: 0
Try validating your CSS at w3schools.org
gsmile is offline
Reply With Quote
View Public Profile Visit gsmile's homepage!
 
Reply     « Reply to image wont display in FF or IE using css
 

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.42689 seconds with 12 queries