Jump to content

CSS not working in Safari or Chrome


bpburrow

Recommended Posts

So I've spent the last year or so learning the basics of html, css, php and mysql while all along building a website.  This week I decided to go back and clean up all patch work and various types of styles and methods.  I created dummy pages while making changes just in case I screwed things up.  It's a good thing I did.  Apparently I didn't learn enough.

 

Can anyone tell me why my css is working just fine in Firefox, but doesn't work at all in Safari or Chrome. 

 

www.brittanyburrowphotography.com/index2.php

 

Link to comment
Share on other sites

Ya, dreamweaver automatically adds that in your CSS, and Safari sometimes doesn't like it (Chrome runs off the same engine). 99% of the time, it doesn't cause any problems, but that other 1% of the time, it makes Webkit (the engine) do funny stuff. Firefox doesn't seem to mind that line though, which is why you didn't see any problems.

 

I always delete that line whenever I create a new stylesheet.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.