Reputation: 2158
I have resharper 5.1. When I analyze "Errors in Solution" I get a lot of the same error in my aspx files. The error is:
cannot resolve symbol 'absmiddle'
It occurs on a line of code like this:
<img src="image.png" align="absmiddle" />
How do I suppress this 'error' so it doesn't come back on when I restart Visual Studio?
Upvotes: 0
Views: 553
Reputation: 2341
In visual studio with resharper:
absmiddle
attributes.In any case, you should not be using the align
tag let alone a value of absmiddle
with that tag. Instead, add this to your CSS:
img.absmiddle { vertical-align:middle; }
of couse, you'd need to set the class
attribute for the images you want centred to absmiddle
.
Upvotes: 2