homepage Welcome to WebmasterWorld Guest from 54.237.71.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
CSS Problem
captainron19




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

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]

 

rocknbil




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

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.

captainron19




msg:4093750
 3:58 am on Mar 9, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved