CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_web_developer_2008_express Tags:
Item Type: Date Entered: 1/23/2008 7:38:02 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 29 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"roxie" <>
NewsGroup User
Positioning style (VWD2008)1/23/2008 7:38:02 AM

0

Hi...

The questions I have are not about ASP.NET but about Visual Web Developer 2008, I'm just starting learning on my own [total newbie about ASP.NET] and I'm having a little problem with the program...

When I drag and drop a Button or a TextBox from the Toolbox, I can select it change its positioning style in Format>Position (for example, to "relative")...

But when I use a Label and select it, the Position option from the Format menu is disabled, so I can't change it to relative or absolute or anything... why? =\

Also, I can't select [for example] the Button and the TextBox at the same time with the Ctrl or the Shift keys, and I can't use the Layout toolbar to align them... is there a special way/trick/method to select more than 1 item to align them?

 Thanks in advance...

"Mikesdotnettin
NewsGroup User
Re: Positioning style (VWD2008)1/23/2008 12:56:47 PM

0

Ideally, since you are just starting, I recommend that you learn to position items on a web page properly using CSS: http://www.brainjar.com/css/positioning/

The positioning "help" that VWD provides is there for people who can't be bothered, or to make Windows Forms application developers who are moving across to ASP.NET feel more at home (IMO).

 


Regards Mike

8 out of 10 questions have already been asked. Their answers can be found using Google. Go on, try it.

If you prefer code samples or tutorials in another language, translate it for free at www.codechanger.com
"Mikhail Arkhip
NewsGroup User
Re: Positioning style (VWD2008)1/23/2008 3:50:19 PM

0

You have to to add style="display:block" to the label and hyperlink since these controls are not based on block elements.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"Mikhail Arkhip
NewsGroup User
Re: Positioning style (VWD2008)1/23/2008 3:53:30 PM

0

Multiple selection is not supported in 2008, sorry. See this thread: http://forums.asp.net/p/1170907/2114310.aspx#2114310 Try using simple table based layout instead, this way controls will stay aligned even if font size or style changes or window gets resized.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
4 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT