views:

49

answers:

0

Hi, I have a really anoying thing with Visual Studio 2003.

If i create an textbox server control on my page and manually set the width & height attributes via the style tag (not the width & height attributes), when i flick to designer mode and then back to HTML mode those attributes from the STYLE tag have dissapeared! If there were any other attributes in the STYLE tag they remain.

The reason for me wanting the STYLE attributes is that Firefox does not recognise width or height unless they are in the CSS STYLE tag.

I know in normal circumstances i could use the class/cssClass attribute, but for this particular senario i cant, i need inline CSS.

Is there a way to stop VS doing this? I have tried the formatting options but this doesnt seem to do anything.

Please help.

Kevin.