473,323 Members | 1,570 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.

ASP page

Rob
I must be doing something wrong...

Using VS2005...

Just started to play with web pages...

I drop a label onto the page in Design mode, but I cannot drag it where I
want to... Why ? Is there some property I must change ?
Nov 7 '07 #1
4 937
Simple, that's not how web pages work. Web pages are not windows forms and
you can't drag elements wherever you want. You have to craft the layout
first. If you look at the layout of a typical web site, it's a series of
carefully crafted tables to provide the layout for the elements that go
within them. HTML is a markup language, meaning it describes content. It is
not a layout language, which describes positioning of content. Before you
play with web pages, you may want to dig into a few sites or books on common
design techniques as you're going to save yourself an immense amount of
headache as there are lots of rules and tricks to get it done right.
--

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"Rob" <ro***@yahoo.comwrote in message
news:WP******************************@comcast.com. ..
>I must be doing something wrong...

Using VS2005...

Just started to play with web pages...

I drop a label onto the page in Design mode, but I cannot drag it where I
want to... Why ? Is there some property I must change ?

Nov 7 '07 #2
This is the default for a web page.

A web page uses a flow logic where each element is placed one after the
other.

You can change this in tools options (in this case, the designer will add
the appropriate styling attributes to set the location for this control) but
keep in mind in this case, that you'll loose the layout calculation done
automatically by the browser based on the current window size/screen
resolution.

Try google.com and see how the search box stay centered as you change the
width of your browser window...

--
Patrice

"Rob" <ro***@yahoo.coma écrit dans le message de news:
WP******************************@comcast.com...
>I must be doing something wrong...

Using VS2005...

Just started to play with web pages...

I drop a label onto the page in Design mode, but I cannot drag it where I
want to... Why ? Is there some property I must change ?

Nov 7 '07 #3
Rob
Thanks... will do... can you recommend a good starting site or book ?
"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:%2******************@TK2MSFTNGP05.phx.gbl...
Simple, that's not how web pages work. Web pages are not windows forms and
you can't drag elements wherever you want. You have to craft the layout
first. If you look at the layout of a typical web site, it's a series of
carefully crafted tables to provide the layout for the elements that go
within them. HTML is a markup language, meaning it describes content. It
is not a layout language, which describes positioning of content. Before
you play with web pages, you may want to dig into a few sites or books on
common design techniques as you're going to save yourself an immense
amount of headache as there are lots of rules and tricks to get it done
right.
--

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"Rob" <ro***@yahoo.comwrote in message
news:WP******************************@comcast.com. ..
>>I must be doing something wrong...

Using VS2005...

Just started to play with web pages...

I drop a label onto the page in Design mode, but I cannot drag it where I
want to... Why ? Is there some property I must change ?


Nov 7 '07 #4
"Rob" <ro***@yahoo.comwrote in message
news:br******************************@comcast.com. ..
Thanks... will do... can you recommend a good starting site or book ?
http://www.amazon.com/Web-Design-Dum...4450911&sr=8-1
http://www.amazon.com/ASP-NET-Dummie...4450946&sr=1-1
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 7 '07 #5

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

Similar topics

0
by: Nathan | last post by:
Hi, I seem to having a peculiar problem with the display of odd and even pages in XSL-FO. Here is a small background of the problem. My xsl stylesheet mentions my fo:layout-master-set as ...
4
by: Kevin Phifer | last post by:
Ok, before anyone freaks out, I have a solution I need to create that gathers content from maybe different places. Each one can return a <form> in the html, so its the classic can't have more than...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
6
by: MooreSmnith | last post by:
When I navigate to the next page using Response.Rediect("MyNextPage.aspx") current page Page_Load event is called. What I may wrongly understood is that post back will happen whenever there is any...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
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...
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)...
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
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.