Welcome to WebmasterWorld Guest from 54.205.170.21

Forum Moderators: not2easy

Message Too Old, No Replies

CSS Problem

   
2:40 am on Mar 9, 2010 (gmt 0)

5+ Year Member



I downloaded a web template and did some editing to it. Everything looked fine in my html preview window but when I loaded it to my server and viewed it in the firefox browser the center set of tables appears to be missing. It looks fine with Internet Explorer.

Can anyone give me an idea what is wrong? I assume it is something in the css file. The website is <snip>

[edited by: eelixduppy at 9:47 pm (utc) on Mar 11, 2010]
[edit reason] no URLS, please [/edit]

3:31 am on Mar 9, 2010 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



See TOS [webmasterworld.com] #13!

../images/

You have style.css at root but are saying "go UP one directory and look for images." You can either put style.css in a directory called css then reference it from the document as /css/style.css, or change all those to

/images/

I don't know whether that alone will fix it, if it does, great, if not, the first thing to do is validate [validator.w3.org] the document. That's going to be a little tedious, there are lots of small errors going on, like using an XHTML doctype but with HTML 4 approaches - for example, XHTML requires onsubmit, not onSubmit, breaks are <br> in HTML 4 but for XHTML you need <br/>. You can eliminate those anyway, and should, they are being used for spacing (presentation) and you can do that in style sheet adjustments.

Pick off those errors, if it doesn't work, post some code here, not the whole banana but the relevant parts, maybe someone can help.
3:58 am on Mar 9, 2010 (gmt 0)

5+ Year Member



Thanks for the tip - I did change all of the image paths in the css file but that didnt do i t
 

Featured Threads

Hot Threads This Week

Hot Threads This Month