Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    44
    Plugin Contributions
    0

    Default width problem driving me nuts

    Hi, I am trying to make my store a width of 100% but I don't want the horizontal scroll of course.

    http://magicianschool.com/store/inde...&products_id=2


    Take a look at this and let me know what you think would be causing it.

    It would be in my CSS style sheet right?? I don't see any widths there other than 100%


    Thanks in advance.

  2. #2
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: width problem driving me nuts

    stylesheet.css:

    Code:
    .centershop {
    
    	margin-left: 10px; <-- that's your troublemaker.
    	margin-right: 0px;
    	text-align: left;
    	width: 100% !important;
    }
    Margins and padding + 100% width + tables = trouble at times.
    well ..or tables cause trouble. :)

    Something to help you prevent future frustration:
    Get FireFox and the Web Developer extention (and FireBug :)
    WD lets you edit css of a page you are viewing, so you can delete/alter until you find/fix the problem.

    (in this case, I deleted portions of code until the scroll vanished, then added it back in until it reappeared.

    -Ng_

    (note...tested in FF only...can't test the changed css in IE since it's local)

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: width problem driving me nuts

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. driving me nuts...out of stock
    By skunkworx in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 16 Nov 2006, 01:24 AM
  2. Client driving me nuts!!!!
    By cokey in forum General Questions
    Replies: 7
    Last Post: 30 Jun 2006, 09:06 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