Hi there I have an ASP.NET page in which I have various <div> tags controllling the layout of my controls.
My problem is that if I do the following:
My divs are left aligned as I would expect them to be however I don't want to explicitly define the alignment as I may want to change it so instead I want to use a class so I can amend all tags in one place
so I have defined a class as follows:
then have my <div> tags look like <div class="myclass">blah</div> but this doesn't work.
Can anyone tell me how I define the alignment correctly in a css class.