473,387 Members | 1,465 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,387 software developers and data experts.

&nbsp

When I embed spaces in my document flow (eg. between to button controls on
the same line), &nbsp is embedded into my html. Problem is, this is not
recognised on some browsers. What's the proper way to add spaces between web
controls in flow layout ?
Nov 18 '05 #1
5 4563
use transparent image of 1X1 size and add <img src="mypixel.gif"
width="1000" height="1" border="0"> to add very long space

Hope it helps

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"JezB" <je***********@blueyonder.co.uk> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
When I embed spaces in my document flow (eg. between to button controls on
the same line), &nbsp is embedded into my html. Problem is, this is not
recognised on some browsers. What's the proper way to add spaces between web controls in flow layout ?

Nov 18 '05 #2
For starters, use " &nbsp; " - you left off the semicolon.

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
When I embed spaces in my document flow (eg. between to button controls on
the same line), &nbsp is embedded into my html. Problem is, this is not
recognised on some browsers. What's the proper way to add spaces between web controls in flow layout ?

Nov 18 '05 #3
Well no, I just omitted to mention it - it is there.

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
For starters, use " &nbsp; " - you left off the semicolon.

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
When I embed spaces in my document flow (eg. between to button controls on the same line), &nbsp is embedded into my html. Problem is, this is not
recognised on some browsers. What's the proper way to add spaces between

web
controls in flow layout ?


Nov 18 '05 #4
A non breaking space is recognized by all browsers. Can you post some code
or a link as an example?

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Well no, I just omitted to mention it - it is there.

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
For starters, use " &nbsp; " - you left off the semicolon.

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
When I embed spaces in my document flow (eg. between to button controls
on
the same line), &nbsp is embedded into my html. Problem is, this is
not recognised on some browsers. What's the proper way to add spaces

between web
controls in flow layout ?



Nov 18 '05 #5
I tell a lie, its multiple &nbsp's other browsers have a problem with.

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
A non breaking space is recognized by all browsers. Can you post some code or a link as an example?

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Well no, I just omitted to mention it - it is there.

"D. Shane Fowlkes" <sh**********@h-o-t-m-a-i-l.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
For starters, use " &nbsp; " - you left off the semicolon.

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
> When I embed spaces in my document flow (eg. between to button controls
on
> the same line), &nbsp is embedded into my html. Problem is, this is

not > recognised on some browsers. What's the proper way to add spaces between web
> controls in flow layout ?
>
>



Nov 18 '05 #6

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

Similar topics

12
by: Tjerk Wolterink | last post by:
In XHTML the entity nbsp stands for   A normal space like " " is also displayed as an normal space, but multiple spaces like " " are interpreted as 1 space in the xhtml page. So there comes...
12
by: Robert Mark Bram | last post by:
Hi All, I am using the following trim function: function trim (str) { return str.replace(/^\s*/g, '').replace(/\s*$/g, ''); } The problem is that this doesn't trim instances of the...
2
by: Bill Green | last post by:
I am trying to add an indent to a Dropdown control. I prefix the text for the ListItem with a couple &nbsp; but it doesn't render the tags to spaces , instead the dropdown list shows: MainItem...
2
by: Rob T | last post by:
I have a dropdown list that I would like to put in a bunch of &nbsp;'s into it (I'm setting the font to a monospace font so I can show a couple of columns nice and neat). In the old asp days, I...
1
by: Vikram | last post by:
i am adding a row in dataset , in which i want to add &nbsp; (space chracter for html) and then want to bind dataset to asp.net dropdown list box. But & automatically converted to &amp chracter....
5
by: Tim | last post by:
Hi, I am trying to load up a drop list with semi aligned columns like so: Item 2 Something Else etc. To do so, I have tried to fill the Text valus of ListItems like so:
9
by: Jouni Karppinen | last post by:
I create a HTMLTable in my C# code and then add rows and cells into that table. I'm trying to set top and bottom border for each cell by using stylesheet and it works as far as cell has some text...
3
by: yawnmoth | last post by:
<? echo 'a'.trim(html_entity_decode('&nbsp;a&nbsp;')).'a'; ?> Shouldn't PHP output aaa? Looking at the documentation for trim I see that it doesn't support chr(0xA0) (eg....
28
by: entfred | last post by:
I have the following line of html: &nbsp;&nbsp1234&nbsp;&nbsp;&nbsp;&nbsp;&nbspabc&nbsp;&nbsp;&nbspyow In Internet Explorer 6.0, the columns look ok using the above html: 1234 abcd ...
7
by: Sebarry | last post by:
Hi, I'm having trouble creating a blank table row in Javascript using document.createElement( '&nbsp;' ). When I look at the generated source it has intrepreted it as <td>&amp;nbsp;</td>. What do I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.