473,326 Members | 2,013 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.

How to add web spaces at left and right without affecting contents

Not sure if here is the right place to ask but I have trouble to access
forums.asp.net. I am using C# in VWD.

Goal:
I want to add the left and right spaces like http://www.dotnetnuke.com/. if
the user squeezes the web browser, the web spaces will be gone first without
affecting the contents in the middle.

Issue:
i did this by adding two empty columns at left and right on the master page.
however, when user squeezes the browser, all empty columns and middle
contents get squeezed proportionally. How come www.dotnetnuke.com does not
have this issue?

Thanks. -dale

Oct 19 '06 #1
2 1188
Try Webpart:
http://msdn2.microsoft.com/en-us/lib...s.webpart.aspx

chanmm

"dale zhang" <da*******@discussions.microsoft.comwrote in message
news:C6**********************************@microsof t.com...
Not sure if here is the right place to ask but I have trouble to access
forums.asp.net. I am using C# in VWD.

Goal:
I want to add the left and right spaces like http://www.dotnetnuke.com/.
if
the user squeezes the web browser, the web spaces will be gone first
without
affecting the contents in the middle.

Issue:
i did this by adding two empty columns at left and right on the master
page.
however, when user squeezes the browser, all empty columns and middle
contents get squeezed proportionally. How come www.dotnetnuke.com does not
have this issue?

Thanks. -dale

Oct 20 '06 #2
thanks. i got it working by reading

http://msdn2.microsoft.com/en-us/library/ms366514.aspx

"chanmm" wrote:
Try Webpart:
http://msdn2.microsoft.com/en-us/lib...s.webpart.aspx

chanmm

"dale zhang" <da*******@discussions.microsoft.comwrote in message
news:C6**********************************@microsof t.com...
Not sure if here is the right place to ask but I have trouble to access
forums.asp.net. I am using C# in VWD.

Goal:
I want to add the left and right spaces like http://www.dotnetnuke.com/.
if
the user squeezes the web browser, the web spaces will be gone first
without
affecting the contents in the middle.

Issue:
i did this by adding two empty columns at left and right on the master
page.
however, when user squeezes the browser, all empty columns and middle
contents get squeezed proportionally. How come www.dotnetnuke.com does not
have this issue?

Thanks. -dale


Oct 20 '06 #3

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

Similar topics

12
by: Magix | last post by:
Hi, Everytime I received a fix-length of string, let say 15 (the unused portion will filled with Spaces before receive), I want to remove the Spaces from END until I encounter a non-space char....
9
by: Durgesh Sharma | last post by:
Hi All, Pleas help me .I am a starter as far as C Language is concerned . How can i Right Trim all the white spaces of a very long (2000 chars) Charecter string ( from the Right Side ) ? or how...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
3
by: VK | last post by:
If it was already answered somewhere, I'll be glad to be pointed to (after the necessary comments on my search abilities :-) I need as booletproof as possible way to strip out whitespaces from...
40
by: raphfrk | last post by:
I have a program which reads in 3 filenames from the command line prog filename1 filename2 filename3 However, it doesn't work when one of the filenames has spaces in it (due to a directory...
4
by: Jason | last post by:
Is that possible? How? <td > <asp:Label ID="StartDateLabel" runat="server" Text="Start Date:"> <asp:imagebutton ID="Imagebutton1" width=18 Height=18 CommandName=SetDate imageUrl="../cal.jpg"...
3
by: IchBin | last post by:
I am trying to pad a number with spaces to the left. I can pad it with zeros as in this code: printf("<option value='%d'>%04s %s</option>n", $row->id, $row->NumberOfQuotes,...
15
by: DanielJohnson | last post by:
I am writing a program in which I am removing all the spaces from the string. I thought that I could do it two ways. One was parsing the string character by character and copying onto another...
3
dlite922
by: dlite922 | last post by:
I'm building a monospaced text output and it works fine with pack("A23",$variable) for example that makes sure the variable valuse takes up 23 spaces. If the string is less than 23, it fills the rest...
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...
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: 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: 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.