Small error

10 views
Skip to first unread message

adir...@hotmail.com

unread,
Nov 7, 2011, 10:18:01 AM11/7/11
to Blueprint CSS
I've found a small error that happens when you have a container inside
another container. The last margin isnt removed as expected. The
solution was changing this lines:

.last {
margin-right: 0;
}

You must change his position and leave it after the span-X
declaration, including the span-x>div declaration. You also must
change a bit this line. The result would be:

.last, .last>div {
margin-right: 0;
}

Both the position and adding the ".last>div" class/element is
necessary, but i think the actual ".last" class element is not used as
the margin is asigned not to the tag that has the last class but to
his first level childs (divs).
Reply all
Reply to author
Forward
0 new messages