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

How do I edit an aspx file so it will look better

Hi,

I am using the Microsoft Visual Studio 2005 for my C# web application.
However, the outlook doesn't look well.
I am trying to put 2 DetailsViews side by side, but have no luck.
I'm wondering how ASP.NET developers make their .aspx look beautiful.
Thanks for help.
Jason
Jun 26 '07 #1
2 1609

"Jason Huang" <Ja************@hotmail.comwrote in message
news:un**************@TK2MSFTNGP06.phx.gbl...
Hi,

I am using the Microsoft Visual Studio 2005 for my C# web application.
However, the outlook doesn't look well.
I am trying to put 2 DetailsViews side by side, but have no luck.
I'm wondering how ASP.NET developers make their .aspx look beautiful.
Thanks for help.
By using 3rd party Web controls. :)

Jun 26 '07 #2
Learn HTML and CSS. The "beauty" you are looking for is in the appearance of
the HTML in the client browser. ASP.Net Controls render HTML to the
client-side page. It is not possible to be successful with ASP.Net unless
you know something about HTML and CSS, which are the tools it uses to create
web pages on the client.

A DetailsView Control renders a div with a table inside it on the client
side. An HTML div element is a block-level element, which means that in
normal flow it will flow below any element before it, and any element after
it will flow below it in the page. Block-level HTML elements can be made to
flow inline in any of several ways. You can put them inside a table, in
different columns in the same row. You can position them absolutely using
CSS. You can use the CSS "float" style to float them to the right or left of
prior or following elements. Or you can use CSS relative positioning to move
them around.

How you style them and position them is a matter of what your UI
requirements are, knowing HTML and CSS, and what elements combine with what
styles to achieve different appearances, and to a small extent, personal
choice. But again, as you can see, you have to understand HTML and CSS
first.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Jason Huang" <Ja************@hotmail.comwrote in message
news:un**************@TK2MSFTNGP06.phx.gbl...
Hi,

I am using the Microsoft Visual Studio 2005 for my C# web application.
However, the outlook doesn't look well.
I am trying to put 2 DetailsViews side by side, but have no luck.
I'm wondering how ASP.NET developers make their .aspx look beautiful.
Thanks for help.
Jason

Jun 26 '07 #3

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

Similar topics

46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
0
by: Alex | last post by:
Interested in more .NET stuff visit www.dedicatedsolutions.co.uk The DataList is not as powerful as the DataGrid. It requires more work from you since it has no default data presentation format....
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
1
by: Sam | last post by:
Attached I am sending 2 URL's from MSFT ASP.net Quick Start Tutorial Web Site. 1) Run it URL: http://www.asp.net/QuickStart/aspnet/samples/data/GridViewMasterDetai... 2) View Source URL:...
0
by: Sam | last post by:
Sorry to post the same post multiple times but the URL Addresses were not Correct in Earlier Posts. Here are the correct URL's: 1) Run It URL is here: ...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
1
by: ma | last post by:
Hello, I want to have a page that displays the fields of a record of a database. When user press 'Edit' button, he would be able to edit the data. What is the best way to do this? What I...
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...
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)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.