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
Some (hopefully) basic CSS problems
Old 10-14-2007, 05:49 PM Some (hopefully) basic CSS problems
Skilled Talker

Posts: 72
Name: Ivan Cash
Trades: 0
I am trying to add a shadow to my white wrapper, but have been unsuccessful, and it's not even showing up on the page.

I'm doing it in a rather unconventional way, (I want the shadow to be its own div/image, aside from the background or wrapper) because I want the shadow to fit inside the wrapper, but not extend past it.

Here is the site.

Here is the code:
Quote:
Quote:
#shadow {
background-image:url (http://www.ivancash.com/images/shadow_thang.gif);
background-repeat: repeat-y;
background-position: 50%;
text-align:center;
width:810 px;
position: relative;
margin: 0 auto;
min-width:810px;
min-height:100%;
z-index:1;
}
Lastly, I am not able to get rid of the hyperlink decoration for "ivan cash," despite having code that's supposed to do the trick:
Quote:
Quote:
#intro {
font-family:Century Gothic, Geneva, Arial, Helvetica, sans-serif;
font-size:36px;
text-align:center;
text-decoration:none;
width:600px;
}

#intro a:link, #intro a:visited, #intro a:active, #intro a:hover {
text-decoration: none;
color: #464646;
}
If you can help me, I will love you long time.
__________________

Last edited by shwizle; 10-14-2007 at 05:53 PM..
shwizle is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-15-2007, 01:09 PM Re: Some (hopefully) basic CSS problems
King Spam Talker

Posts: 1,186
Location: Manchester, UK
Trades: 0
Take out the blank space after 'url' here:

Code:
background-image:url (http://www.ivancash.com/images/shadow_thang.gif);
That might solve the problem. There are some other errors when you validate your css too.

I hope that works!
gringo is offline
Reply With Quote
View Public Profile Visit gringo's homepage!
 
Old 10-15-2007, 03:05 PM Re: Some (hopefully) basic CSS problems
Skilled Talker

Posts: 72
Name: Ivan Cash
Trades: 0
Quote:
Originally Posted by gringo View Post
Take out the blank space after 'url' here:

Code:
background-image:url (http://www.ivancash.com/images/shadow_thang.gif);
That might solve the problem. There are some other errors when you validate your css too.

I hope that works!

Hey gringo, that did work!

Thanks!

Now I have a problem getting the shadow to be truely transparent, as oppose to having white: http://www.ivancash.com
shwizle is offline
Reply With Quote
View Public Profile
 
Old 10-15-2007, 03:18 PM Re: Some (hopefully) basic CSS problems
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
IE 6 does NOT support PNG transparency on it's own, you need some scripting to force it - do a search for "PNG Fix". However, IE still will not support PNG transparency on a REPEATING png image, so the scripting won't help in your case. Better to go back to a GIF for that.
__________________
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 10-15-2007, 03:44 PM Re: Some (hopefully) basic CSS problems
Skilled Talker

Posts: 72
Name: Ivan Cash
Trades: 0
Quote:
Originally Posted by LadynRed View Post
IE 6 does NOT support PNG transparency on it's own, you need some scripting to force it - do a search for "PNG Fix". However, IE still will not support PNG transparency on a REPEATING png image, so the scripting won't help in your case. Better to go back to a GIF for that.
I'm not using a PNG transperency... but my GIF isn't working...
shwizle is offline
Reply With Quote
View Public Profile
 
Old 10-15-2007, 03:50 PM Re: Some (hopefully) basic CSS problems
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Are you sure it's transparent ? Did you save it with transparency and a matte color to match the gray bg ?
__________________
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 10-15-2007, 03:50 PM Re: Some (hopefully) basic CSS problems
Defies a Status

Posts: 3,420
Trades: 0
Are you sure? Use netrenderer to check in IE6 again - I can't actually see a problem! (if you check and the problem is blatantly obvious, you will have realised what some of the other people have on here - sometimes, I can act like a retard....)

P.S. I've written an article about PNG transparency on my blog (link in the signature) It worked for me great and I recommend it over using HTC files or Javascript or anything else.

Last edited by CSS4Life; 10-15-2007 at 03:51 PM..
CSS4Life is offline
Reply With Quote
View Public Profile
 
Old 10-15-2007, 06:56 PM Re: Some (hopefully) basic CSS problems
Skilled Talker

Posts: 72
Name: Ivan Cash
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Are you sure it's transparent ? Did you save it with transparency and a matte color to match the gray bg ?
yea, I just tried adding a matte color. The problem is that my background is striped... is there any other solution?
shwizle is offline
Reply With Quote
View Public Profile
 
Old 10-15-2007, 09:07 PM Re: Some (hopefully) basic CSS problems
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Not really, at the worst you might wind up with a tiny bit of plain gray surrounding your white page area.
__________________
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
 
Reply     « Reply to Some (hopefully) basic CSS problems
 

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