473,387 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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.
Nov 19 '05 #1
2 1331
switch to flowlayout, and don't use the ide to size controls.

-- bruce (sqlwork.com)
"Brian Bischof" <Br***@NoSpamBischofSystems.com> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl...
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.

Nov 19 '05 #2
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

"Bruce Barker" <br******************@safeco.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
switch to flowlayout, and don't use the ide to size controls.

-- bruce (sqlwork.com)
"Brian Bischof" <Br***@NoSpamBischofSystems.com> wrote in message
news:uH**************@TK2MSFTNGP10.phx.gbl...
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.


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
8
by: Hostile17 | last post by:
Consider the following HTML. ---------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta...
4
by: Simon Wigzell | last post by:
Is there a way to prevent a form submitting when you press enter on a text field? Some people press enter when they finish typing in a text field out of habit I guess unconcsciously thinking it...
15
by: Gérard Talbot | last post by:
Hello all, I'd like to know and understand the difference between, say, <img src="/ImageFilename.png" width="123" height="456" alt=""> and <img src="/ImageFilename.png" style="width:...
5
by: johnsuth | last post by:
I want to produce a trivial demonstration of dynamic modification. I thought that pressing a button might change its color. I studied O'Reillys books and successfully created the button with a...
2
by: Steve Richter | last post by:
I would like to use display:inline and other CSS attributes to build an entry form. Where the heading to the left of the text box is always a set width. It is not working so I am experimenting...
1
by: msg2ajay | last post by:
hi, i am working on <div> i have to hide some part of the table. I am not able to hide that table part can anybady tell me where is the error. <html> <head> <script...
5
by: Jean Pierre Daviau | last post by:
Hi to every one. How can I manage to write this kind of css in a style="". img { width: 150 px; height: 100 px; text-align: center; }
0
by: DC | last post by:
Hi, I want to use a horizontal tabbed menu and took this solutions as a template: http://www.java2s.com/Code/ASP/Components/TabcontrolDemoC.htm Everything is cool, but in my menu there are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.