473,387 Members | 1,464 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.

generated elements indented in IE

Hello there,
I'm developing a few forms where some text inputs need to be generated
at run time (eg. when a user needs to enter multiple values). I've
noticed that IE appears to distinguish between static HTML inputs and
my dynamically appended ones, where it either gives the static ones a
+3px indent or the dynamically generated ones a -3px indent. It's a bit
annoying, makes it look very untidy. (Firefox lines everything up
neatly.)

Does this ring bells with anyone?

I've made sure that there is no difference between the elements in
firefox's DOM inspector. (thought it might be IE rendering white space,
but no).

cheers,
Jez Austin.

Nov 9 '06 #1
2 932
VK

jezaus...@gmail.com wrote:
Hello there,
I'm developing a few forms where some text inputs need to be generated
at run time (eg. when a user needs to enter multiple values). I've
noticed that IE appears to distinguish between static HTML inputs and
my dynamically appended ones, where it either gives the static ones a
+3px indent or the dynamically generated ones a -3px indent. It's a bit
annoying, makes it look very untidy. (Firefox lines everything up
neatly.)

Does this ring bells with anyone?
Any URL to look at?

Nov 9 '06 #2

VK wrote:
jezaus...@gmail.com wrote:
Hello there,
I'm developing a few forms where some text inputs need to be generated
at run time (eg. when a user needs to enter multiple values). I've
noticed that IE appears to distinguish between static HTML inputs and
my dynamically appended ones, where it either gives the static ones a
+3px indent or the dynamically generated ones a -3px indent. It's a bit
annoying, makes it look very untidy. (Firefox lines everything up
neatly.)

Does this ring bells with anyone?

Any URL to look at?
Yes,
http://bmapa-jra.geodata.soton.ac.uk/licences/search
shows off the problem nicely. Enter some text into eg. the Area name(s)
field to see a generated text input.

cheers,
J.

Nov 10 '06 #3

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

Similar topics

1
by: Vincent | last post by:
I noticed an irritating behaviour of the text-indent property and I wonder if I'm the only one to feel this way about it: it seems that text-indent applies even to floated elements. Although this...
4
by: Peter Cartwright | last post by:
I've just been testing some menus which use margin-left applied to span and anchor elements. In IE6 it's fine. In IE4 margin-left seems only to apply to block elements. Frankly that doesn't concern...
5
by: Chris Reigrut | last post by:
I have a bunch of (old) pages that are outline-driven, and use the h1-h6 elements to define headings. Is there any way that I can create a stylesheet to show them in an indented style? For...
258
by: Terry Andersen | last post by:
If I have: struct one_{ unsigned int one_1; unsigned short one_2; unsigned short one_3; }; struct two_{ unsigned int two_1;
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...

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.