aidan28 Posted October 4, 2008 Posted October 4, 2008 I purchased a program for mac called CSSedit. It's an excellent program, however, every single time I edit the css file and upload the new version my website just stops loading, and gives me a blank screen. Can anyone point out the problem? Thank you. AC Designs
germ Posted October 4, 2008 Posted October 4, 2008 A "bad" CSS file won't stop the site from loading. The worst that can happen with an improper CSS file is no styles show up. :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted October 4, 2008 Posted October 4, 2008 Syntax errors CSS is a "language" like PHP or HTML, etc. Firefox says you have no significant errors in yours. ;) The major problem I see at the site is the text isn't visible because of the text color and the background (little contrast). If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
aidan28 Posted October 4, 2008 Author Posted October 4, 2008 I realised it was not the css, it was actually when I changed the index. I'm trying to upload my own personal message to say the site is under construction, but it's THAT that stops it loading for some reason. I'm following the instructions on this website to do so.
germ Posted October 4, 2008 Posted October 4, 2008 define('TEXT_MAIN', 'Editing <b>TEXT_MAIN</B> really isn\'t that hard.<br> Just be sure to put a \ (slash) in front of all the \' (single tick marks).<br> If you don\'t to that, PHP can\'t figure out what it\'s doing so it won\'t display the page.<br> <br> If you continue to have problems, post the text.<br> I\'m sure someone will help.<br> <br> I hope this demo hasn\'t been been in vain'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
aidan28 Posted October 4, 2008 Author Posted October 4, 2008 Thank you! Using your code as a template seemed to work. I was getting rid of the text between 'this is the default...' but keeping the ''s. I must have been doing something wrong. Thanks for your patience.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.