Thread: CSS Problem

Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Alberta, Canada
    Posts
    6
    Plugin Contributions
    0

    Default CSS Problem

    Hey All. I am pretty new to Zen Cart (only my second project) but have been a web development hobbiest since 1995...however...I do make dumb mistakes in CSS sometimes...and I'm sure there's one here causing me to post for help for the first time in my life!

    I have been working on a template for a couple of days and all has been looking good. I constantly check my corrections in Opera and Firefox...but got a little lazy today and was only checking in Opera. When I checked it in Firefox and IE, the site is a bit messed up and it looks to be related to the same CSS.

    I have been able to really narrow it down to the "float" in #navCatTabs. When I remove that, alignment is greatly improved (though not perfect). View the site in Opera for what it should look like, then in IE and Firefox for two uniquely distorted views:

    The Site: http://www.redtailsphotography.ca/test1234/

    The CSS in Question:
    Code:
    #navCatTabs ul {
        margin: 0;
        padding: 0;
        }
    
    #navCatTabs li {
        float: left;
        display: inline;
        width: 162px;
        height: 21px;
        margin: 0;
        border-bottom: 1px solid #c5c5c5;
        border-top: 1px solid #c5c5c5;
        padding: 7px 0 0 0;
        background-image: url(../images/cat_tabs.jpg);
        font-weight: bold;
        }

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: CSS Problem

    Although I would code it a bit differently, you have to do some funky coding with "li" tags, the easy solution should be to add a break.

    <!--eof-optional categories tabs navigation display-->
    </div>

    <br class="clearBoth" />

    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">


    Adds a bit of padding but you may want that anyway for the Breadcrumb.


    BTW, your site went offline just now.

    Unable to connect

    Firefox can't establish a connection to the server at www.redtailsphotography.ca.

  3. #3
    Join Date
    Jan 2008
    Location
    Alberta, Canada
    Posts
    6
    Plugin Contributions
    0

    Default Re: CSS Problem

    Quote Originally Posted by Website Rob View Post
    Although I would code it a bit differently, you have to do some funky coding with "li" tags, the easy solution should be to add a break.

    <!--eof-optional categories tabs navigation display-->
    </div>

    <br class="clearBoth" />

    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
    Nope...that didn't make any changes.

  4. #4
    Join Date
    Jan 2008
    Location
    Alberta, Canada
    Posts
    6
    Plugin Contributions
    0

    Default Re: CSS Problem

    Correction: It did fix Firefox...but not IE (why am I not surprised).

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: CSS Problem

    Works for me in IE 6, your Greeting is now showing correctly.

    Did you Refresh your Browser(s)?

  6. #6
    Join Date
    Jan 2008
    Location
    Alberta, Canada
    Posts
    6
    Plugin Contributions
    0

    Default Re: CSS Problem

    Yes...I hard refreshed. I should have specified it's IE7 (again..surprise, surprise).

 

 

Similar Threads

  1. Problem in CSS
    By pakhtar in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 May 2011, 08:54 PM
  2. CSS problem
    By Checooper in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Oct 2010, 09:55 AM
  3. CSS Problem
    By Checooper in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Aug 2010, 12:44 PM

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