Prevent insertion of Style="width=.." tags?

B

Brian Bischof

To get my formatting to work with Firefox and IE browsers, I have to be very
careful about the layout. So I'm removing all the Style tags that set the
Height and Width values (and some of these values make no sense). But then
when I go back on look at the HTML later on I see the Style tags have been
added back and my formatting is all screwed up again. Arghh!!

Can someone tell me how to make ASP.NET stop adding these troublesome Style
tags in my HTML? Is this a property I can set somewhere? I want my HTML to
be only what I type in.

Thanks.
 
B

Bruce Barker

switch to flowlayout, and don't use the ide to size controls.

-- bruce (sqlwork.com)
 
B

Brian Bischof

Thanks for the reply, but I already do both of these things. Even though the
IDE is nice, I end up doing a lot of my coding in raw HTML and just using
the IDE to preview what the page will look like. The Style tag keeps popping
up and screwing up my clean formatting. I haven't figured out exactly what
action triggers them to be added, I just know that after deleting all the
Style tags I'll come back to the page later on to edit it and find them all
there again. :-(

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top