MitzeMitchell Posted July 6, 2010 Share Posted July 6, 2010 Ok, so I've been working on my CSS pretty intensely lately, but I ran across this and it is just baffling me.I got a basic portfolio site started. However, when I actually updated the site onto my host's server I have background-image problems.http://mitzemitchell.com - it shows up finehttp://www.mitzemitchell.com - it doesn't show upI checked the code with W3Schools, and I'm pretty sure I have it right. I even took out the directory name and replaced it with the full URL.If anyone could shed some light as to why it's doing this, it would be greatly appreciated! Link to comment Share on other sites More sharing options...
thescientist Posted July 6, 2010 Share Posted July 6, 2010 for some reason it provides different stylesheets based on the working vs. non-working versions; one with the background image declaration in it, and one without it respectively. :)edit: upon another refresh it appears the problem no longer exists. Link to comment Share on other sites More sharing options...
GermanPrince Posted July 6, 2010 Share Posted July 6, 2010 Try clearing your cache if it still doesn't work. Usually works for me. Link to comment Share on other sites More sharing options...
music_lp90 Posted July 6, 2010 Share Posted July 6, 2010 You will probably want to have an htaccess file that either directs from the non-www to the www or the other way around anyway. It's beneficial for search engine purposes to do this. Google "htaccess non-www to www redirect" or something to see how to do this. Link to comment Share on other sites More sharing options...
thescientist Posted July 6, 2010 Share Posted July 6, 2010 short of the OP contradicting, I'm pretty sure it should be working fine. Link to comment Share on other sites More sharing options...
End User Posted July 7, 2010 Share Posted July 7, 2010 They both seem to work fine for me. Link to comment Share on other sites More sharing options...
trinistorm Posted July 7, 2010 Share Posted July 7, 2010 You will probably want to have an htaccess file that either directs from the non-www to the www or the other way around anyway. It's beneficial for search engine purposes to do this. Google "htaccess non-www to www redirect" or something to see how to do this. .htaccess files tend to be unreliable. This can be resolved in with the dns. Link to comment Share on other sites More sharing options...
trinistorm Posted July 7, 2010 Share Posted July 7, 2010 Their identical on my browser- ff Link to comment Share on other sites More sharing options...
MitzeMitchell Posted July 7, 2010 Author Share Posted July 7, 2010 It seems to have cleared up. But that kinda tripped me out. I wasn't aware that it would do that. Appreciate all the responses! I'll definitely read more into the redirects. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.