www.webdeveloper.com
Results 1 to 2 of 2

Thread: Problem last-child

  1. #1
    Join Date
    Mar 2005
    Posts
    262

    Problem last-child

    last product item is being pushed onto the next line, can anyone see why?

    I added a .last-child class to the last item which had a margin-right:0; but that didn't work either.

    http://ramezanirugs.propono.co.uk/in...id=4&Itemid=53

    Thank you for any help.

  2. #2
    Join Date
    Nov 2006
    Location
    Oakland
    Posts
    500
    The link to your web page is broken so I cannot really tell what the source of the issue is. In most case though it's because the sum of widths+paddig (left, right) +margins (left and right) of all elements in that row exceeds the width of their direct parent container.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles