473,322 Members | 1,522 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,322 software developers and data experts.

Html tags vs web server tag controls

I have written a web form and in it I have asp:datagrid, asp:textboxes
I do no have a <tablenor <tdnor <tr>. However, I have used the style
tag withing the asp:textboxe properties to align the controls.
The form looks great in the browser. I have been told that I need the html
controls
<table, <td<trbecause in the new version of the visual studio my web
form will not display properly.
What do you suggest?

Oct 20 '06 #1
3 1133
Standard HTML controls should be a significant part of your repertoire:

http://msdn.microsoft.com/library/de...enControls.asp

HTH

Dale
--
Dale Preston
MCAD C#
MCSE, MCDBA
"greatdane" wrote:
I have written a web form and in it I have asp:datagrid, asp:textboxes
I do no have a <tablenor <tdnor <tr>. However, I have used the style
tag withing the asp:textboxe properties to align the controls.
The form looks great in the browser. I have been told that I need the html
controls
<table, <td<trbecause in the new version of the visual studio my web
form will not display properly.
What do you suggest?
Oct 20 '06 #2
to see the problem with your current approach. do the following. under
desktop properties, apperance, change font size to large, and view your
page. displaying your page a computer with a monitor with a different
resolution can cause the same issue.

-- bruce (sqlwork.com)
"greatdane" <gr*******@discussions.microsoft.comwrote in message
news:37**********************************@microsof t.com...
>I have written a web form and in it I have asp:datagrid, asp:textboxes
I do no have a <tablenor <tdnor <tr>. However, I have used the style
tag withing the asp:textboxe properties to align the controls.
The form looks great in the browser. I have been told that I need the
html
controls
<table, <td<trbecause in the new version of the visual studio my web
form will not display properly.
What do you suggest?

Oct 20 '06 #3
Some people like tables, some people don't.
While they are a convenient way to structure layouts, they can also cause
accessibility problems such as confusing screen readers about which order
the content should be read. For this reason some web sites try to avoid
tables and align the controls in the ways you have done.

--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
"greatdane" <gr*******@discussions.microsoft.comwrote in message
news:37**********************************@microsof t.com...
>I have written a web form and in it I have asp:datagrid, asp:textboxes
I do no have a <tablenor <tdnor <tr>. However, I have used the style
tag withing the asp:textboxe properties to align the controls.
The form looks great in the browser. I have been told that I need the
html
controls
<table, <td<trbecause in the new version of the visual studio my web
form will not display properly.
What do you suggest?

Oct 20 '06 #4

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

Similar topics

7
by: Kersh | last post by:
I'm trying to implement XHTML standards in my ASP.NET web pages but whenever I use web controls I get problems because of the very strict nature of W3C XHTML (transitional version is picky but...
1
by: eNathan | last post by:
I want to be able to disable\enable controls on the client via client-side scripting. I'm trying to avoid a postback. I'd like to use HTML and server-side controls on the same page. In code-behind...
2
by: Apostolis K. | last post by:
When should I use HTML Control objects (HTML Tags + "runat" and "id" attirbutes) and when ASP.NET Control Objects (<asp:servercontrol> tags) in my ASP.Net Application. Is anyone of them more...
1
by: Al Wilkerson | last post by:
Hey, I have a Web Form with a drop down list, textbox, and search button. When click the search button an SQL server database is queried fordata. Once I have the data in a dataset I use the...
2
by: John Olsen | last post by:
Hi. I`m building a small CMS, and want to add the possibility to include server side code inside static html-strings that is stored in a database. For e.g. in the string...
4
by: SAI | last post by:
Both have "TextBox" element and "Runat server". I don't understand the difference. Please advise. Thanks.
2
by: Ben Amada | last post by:
Hello, A partner is going to be creating some HTML files that I plan on converting to user controls (UC) and dynamically load at runtime. I'm guessing Visual Studio doesn't come with some...
3
by: Just D. | last post by:
All, What's the simplest way to show my own HTML string on the ASPX page assuming that this page is just created using the wizard and it has nothing on it? We're free to use any control adding...
4
by: Neil.Smith | last post by:
I can't seem to find any references to this, but here goes: In there anyway to parse an html/aspx file within an asp.net application to gather a collection of controls in the file. For instance...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.