Thread: CSS help

Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: CSS help

    In the CSS you have the height in navCatTabsWrapper set to 1%. Changing it to 2em caused the background image to fill the box correctly for me using Firefox. Changing the percentage didn't have any effect for me.

  2. #2
    Join Date
    Aug 2008
    Posts
    114
    Plugin Contributions
    0

    Default Re: CSS help

    Quote Originally Posted by badarac View Post
    In the CSS you have the height in navCatTabsWrapper set to 1%. Changing it to 2em caused the background image to fill the box correctly for me using Firefox. Changing the percentage didn't have any effect for me.
    By changing this, will the top border fill correctly??

  3. #3
    Join Date
    Aug 2008
    Posts
    114
    Plugin Contributions
    0

    Default Re: CSS help

    Quote Originally Posted by tony_sar View Post
    don't use microsoft expression for editing CSS and yes BOM is top left character . if you use UTF-8 encoding , i think you have a option to disable BOM in crimson editor
    I removed the BOM that were showing, but I am having trouble with the top border above the logo to fill correctly.

  4. #4
    Join Date
    Aug 2008
    Posts
    114
    Plugin Contributions
    0

    Default Re: CSS help

    Editing the CSS, badarac suggested worked

    Thanks
    SK

  5. #5
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: CSS help

    Glad to help!

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: CSS help

    em is measuring unite for Fonts , although it works here , but not suitable for this situation. you can set the height to 30px and this should show the background correctly .

  7. #7
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: CSS help

    The reason I used em was the fact that the original height was stated as a percentage. em is also a relative size measurement which is related to font size. Using px will also work but may need to be adjusted if the font size changes.

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: CSS help

    1% height usually relates to IE hack to display divs correctly

 

 

Similar Threads

  1. Help with using css buttons, "update cart' does not use the css buttons?
    By trinitypres in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 04:34 PM
  2. Need CSS Help- Where's My Css Friend?? :)
    By Kaniki in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Dec 2010, 06:14 AM
  3. CSS Help?
    By mgbyte in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Jun 2007, 04:01 AM
  4. Converting OS css to Zencart Css help please.
    By oavs in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2006, 09:49 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