Results 1 to 4 of 4
  1. #1
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    0

    Default CSS problem in Safari

    Hi,

    I am having some trouble getting safari to correctly display two styles.

    You can see them here:
    Collections
    Product Page

    I think the problem has to do with the code:
    position :absolute

    But I don't know why Safari does not like that specific code.

    Is there a way to create a style sheet specifically for SAFARI?

    Or any other work arounds?

    Bb

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: CSS problem in Safari

    In your stylesheet you have this...
    Code:
    #contentMainWrapper {
    	width		: 100%;
    	margin		: 0em;
    	margin-left	: 0px;
    	margin-top	: 10px;
    	padding		: 0em;
    	border-top      : solid;
    	border-top-width: 1px;
    	border-top-color: #c7c7c7;
    	position	: absolute;
    	top		: 117px;
    	}
    I'm not sure, but those spaces before the colons may cause some browsers to object. Just as an experiment, try removing all spaces in front of colons, and see what happens.

    By the way, Safari hung when I tried to access your site, though it displayed fairly well in Firefox and Opera. In Firefox, whatever code you're using for hover effects on links is causing a flicker effect which is not pleasant.

    Rob

  3. #3
    Join Date
    Sep 2004
    Location
    LA, California
    Posts
    117
    Plugin Contributions
    0

    Default Re: CSS problem in Safari

    You may also want to validate your HTML. I ran a quick XHTML validation on your sites and they seem to be missing some closing div tags or something. You should check for that.

    From our experience Safari omits sections that it doesn't know how to render. This is pretty bad because it doesn't show a problem with the HTML (like IE6/7 and FF) it simply omits an entire section.

    hope this helps,
    Ron Peled

  4. #4
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: CSS problem in Safari

    My recent experience with Safari, all of my site displayed correctly in it except for the main section, which is coded by me and every other browser I tested displayed everything correctly....to fix my problem for Safari, I had to add !important after my wrapper declarations, so you could try that with the position and see if it helps or not lol ie: position :absolute !important; good luck
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

 

 

Similar Threads

  1. v139h Chrome & Safari css layout problem
    By abcisme in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Apr 2012, 10:46 AM
  2. HELP! Weird CSS Issue with Safari and Chrome Browsers
    By limelites in forum General Questions
    Replies: 19
    Last Post: 4 Oct 2009, 07:25 PM
  3. Safari CSS Error
    By jeskremer in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Sep 2009, 07:32 PM
  4. CSS Positioning Problem in Safari and Chrome Only
    By limelites in forum General Questions
    Replies: 13
    Last Post: 25 May 2009, 03:40 PM
  5. Why do Sideboxes and header text ignore some CSS in Safari?
    By fightthefourwalls in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Feb 2008, 01:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg