How to add web spaces at left and right without affecting contents | Bytes (2024)

Home Posts Topics Members FAQ

dale zhang

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

Subscribe Reply

2 How to add web spaces at left and right without affecting contents | Bytes (1) 1192 How to add web spaces at left and right without affecting contents | Bytes (2)

chanmm

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

chanmm

"dale zhang" <da*******@disc ussions.microso ft.comwrote in message
news:C6******** *************** ***********@mic rosoft.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

dale zhang

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*******@disc ussions.microso ft.comwrote in message
news:C6******** *************** ***********@mic rosoft.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 3463

removing Spaces

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. let say: testBuf is the buffer that receive this fix-length string. printf("",testBuf); Output:

C / C++

9 6267

How can i Right Trim all the spaces of a very long (2000 chars) Charecter string ?

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 can i make a fast Right Trim Function in c,using Binary search kind of fast algorithm ? Offcourse...I can use the classical approach too. like :...

C / C++

135 7395

Tabs versus Spaces in Source Code

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 which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the...

Python

3 11505

A robust way to remove white spaces (RegExp)

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 between tag borders in the source code. 1) left border defined by gt sign > 2) right border defined by lt sign < 3) If the content between left...

Javascript

40 2706

command line arguements with spaces in them

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 name with a space in it) because that filename gets split into 2. I tried

C / C++

4 17562

Text and Image inside table <td> Alight Text Left and Image right in same cell ??

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" runat=server /> </asp:Label> </td> <td >

HTML / CSS

3 2065

padding with spaces

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, arrangeName($row->lastName, $row->firstName, $row->middleName, $row->Title, $row->suffix)); Trying to do the same with spaces. It is not padding all the spaces but

PHP

15 15605

remove spaces from a string and Complexity

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 output string. But this was trivial. The other option is to use pointers and shift all the characters after the space by one space to the left. I did...

C / C++

3 1788

Pack() function but padd spaces on left instead of right (align right)

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 with spaces. BUT now i have dollar amount which of course want to align right (pad the spaces on the left) any ideas?

PHP

7637

What is ONU?

by: marktang |last post by:

ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...

General

7558

Changing the language in Windows 10

by: Hystou |last post by:

Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...

Windows Server

7851

Problem With Comparison Operator <=> in G++

by: Oralloy |last post by:

Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...

C / C++

1 7605

The easy way to turn off automatic updates for Windows 10/11

by: Hystou |last post by:

Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...

Windows Server

7924

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

by: tracyyun |last post by:

Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...

General

5177

Couldn’t get equations in html when convert word .docx file to html file in C#.

by: conductexam |last post by:

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...

C# / C Sharp

3609

Trying to create a lan-to-lan vpn between two differents networks

by: TSSRALBI |last post by:

Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...

Networking - Hardware / Configuration

3591

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

1 1171

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisem*nts and analytics tracking please visit the page.

How to add web spaces at left and right without affecting contents | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5913

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.