Clearly, the OP needs to read this resource first
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
Providing the correct setup is useless if the OP isnt learning anything along the way.
In addition the gross errors in one part of the config begs for a review of the whole config.
One learns quickly that errors are not isolated and that the RoS config has many hooks in different spots
Please provide config.
/export hide-sensitive file=anynameyouwish