473,326 Members | 2,010 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,326 software developers and data experts.

Positioning in Vs 2003 and vs 2005

Hey guys

My last ASp.net site i did was in Vs 2003. In VS 2005 i notice that it
doesnt seem to have abolute positioning? In 2003 for examplei could drag a
text box place it where i want and voila. But in Vs 2005 i seem to have to
use tables again for my layout and then place text boxes inside that?

Is there no way to use absolute positioning in the designer like in VS 2003?
if not why was it changed?

Thanks
Nov 25 '06 #1
3 1033
Daniel napisa³(a):
Hey guys

My last ASp.net site i did was in Vs 2003. In VS 2005 i notice that it
doesnt seem to have abolute positioning? In 2003 for examplei could drag a
text box place it where i want and voila. But in Vs 2005 i seem to have to
use tables again for my layout and then place text boxes inside that?

Is there no way to use absolute positioning in the designer like in VS 2003?
if not why was it changed?
They got rid of it because it has only disadvantages.
When you used absolute positioning (aka gridLayout) your webform will
look as intended in IE only and exactly in the same resolution.
Better idea is to learn css a little more and build elastic, scalable
layout using proper css instead of nasty gridlayout.

--
PP
Nov 25 '06 #2
And what is css layout? i thought absolute was CSS? its a style attrib after
all? could you give me some pointers then of best practice?
"Przemek Ptasznik" <pp******@mila.wywal.to.edu.pllwrote in message
news:ek**********@inews.gazeta.pl...
Daniel napisa³(a):
>Hey guys

My last ASp.net site i did was in Vs 2003. In VS 2005 i notice that it
doesnt seem to have abolute positioning? In 2003 for examplei could drag
a text box place it where i want and voila. But in Vs 2005 i seem to have
to use tables again for my layout and then place text boxes inside that?

Is there no way to use absolute positioning in the designer like in VS
2003? if not why was it changed?

They got rid of it because it has only disadvantages.
When you used absolute positioning (aka gridLayout) your webform will look
as intended in IE only and exactly in the same resolution.
Better idea is to learn css a little more and build elastic, scalable
layout using proper css instead of nasty gridlayout.

--
PP

Nov 25 '06 #3
Daniel napisa³(a):
And what is css layout? i thought absolute was CSS? its a style attrib after
all? could you give me some pointers then of best practice?
Absolute was css too. But it's very close tied with particular
resolution (if you use px as measure).

To get better examples just ask google for css layouts or visit some
sites presenting galleries of other sites that are built with css
layouts. (for example cssbeauty.com or cssvault.com). alistapart.com is
great site too.

The best practice - separate content (html) from presentation (css) and
behavior (js). And built your site with standard compliant, properly
used html and css. Don't expect your users will all have the same
browser as you and the same resolution.

--
P.Ptasznik
Nov 25 '06 #4

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

Similar topics

4
by: Jane Withnolastname | last post by:
I am trying to re-work an old site by replacing the html with css. On the main page, I have a logo image which I needed centred on the initial screen. I found the solution here:...
17
by: pasdecrap | last post by:
The following code will produce similar results in IE6 and firefox 1.0.4 however the left margin in FF is 4 pixels and in IE it is 5. Can anyone see why this is happening? I can't seem to figure...
2
by: kevinC | last post by:
Hello, I know most of you are probably going seeing positioning:absolute; and centering in the title and saying, oh no! not again! Do a google search! Actually, I've found many helpful...
10
by: Matt Silberstein | last post by:
I am trying to make a page that will be 800px wide. That is, I have an 800px image. I want the content of the page centered. I can do that fine. On the top, I want an image logo with a text menu...
6
by: | last post by:
I just installed VS 2005. Was working with 2003 and .Net 1.1. Trying to get the feel for a master page and I'm having some issues. I'm looking for a pretty basic setup. Standard header with an...
11
by: Maximus | last post by:
Hi all, Has anyone been able to reterive the gradient selection colors used in outlook 2003? Basically, I have a grid showing a list of records and my client wants the selected row to have the...
4
by: John Kotuby | last post by:
Hello all, I have VStudio 2005 currently installed on my workstation. However, I am collaborating on a project with an outside consultant who is using VS 2003. Every so often he sends me new or...
1
by: OHM | last post by:
I havent done much with 2005 since 2003 Beta release, but Im not getting back into it and I have a question on the Subject Matter. If I change my positioning to absolute in the Positioning...
6
by: Tony M | last post by:
I just loaded VS 2008 on xp pro. Tried to create ASP .net pages. The designer won't let me drag and drop? It seems to be sequential. I can't drag controls on the form to position them, I have...
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
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.