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

IE changes cell widths upon JavaScript insertion??

Hi there, thanks to anyone in advance who can help me with this.

I am creating an HTML page with extensive CSS and table formatting; one
thing that is driving me absolutely bats**t crazy is that I have a
simple Javascript date display widget:

<script language="JavaScript" src="script/date.js"></script>

in one cell. Upon insertion of the script, IE takes it upon itself to
stretch the cell vertically by a few pixels, without explanation. The
cell's width and height are manually set by pixel (width="xx
', height="yy"). The length of the document.write isn't long enough to
stretch the cell out of shape.

Is there a way for me to get around this?

If you'd like to see the source, please shoot me an e-mail or post.

Dec 18 '05 #1
4 1243
je*****@gmail.com wrote:
Hi there, thanks to anyone in advance who can help me with this.

If you'd like to see the source, please shoot me an e-mail or post.

The best way is to post an URL with a test case that demonstrates the
problem.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Dec 19 '05 #2
je*****@gmail.com wrote:
Hi there, thanks to anyone in advance who can help me with this.
You are not making it easy to help you, when you don't post the URL.
I am creating an HTML page with extensive CSS and table formatting; one
thing that is driving me absolutely bats**t crazy is that I have a
simple Javascript date display widget:

<script language="JavaScript" src="script/date.js"></script>

in one cell.
Your page is most probably broken by design, when considered as a World
Wide Web page. You are probably generating a wrong date with wrong
(unreliable) tools, in a place where no date is needed. You could show
that I'm wrong by showing the URL and explaining why the date should be
there if and only if JavaScript is enabled and your JavaScript code
happens to work.
Upon insertion of the script, IE takes it upon itself to
stretch the cell vertically by a few pixels, without explanation.
You have probably met the White Space Bug. But since you want to hide
your source, I will hide my technical advice behind some obscurity
(though in a manner that should be more easily solvable than the URL of
your page).
Is there a way for me to get around this?
Yes, start learning the basics of good WWW authoring.
If you'd like to see the source, please shoot me


No, I think I won't.
Dec 19 '05 #3
I fixed it on my own, but gosh, I am SO happy you decided to reply with
such helpful advice; delivered, no less, with such charming wit and
bonhomie.

I would suggest you start learning the basics of good manners.

Dec 20 '05 #4
That last was for Jukka; Jim, thank you for your reply.

Dec 20 '05 #5

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

Similar topics

5
by: kj | last post by:
Is there a way to dynamically (e.g. upon onClick) change the bgColor attribute of a table cell? I tried cell.setAttribute("bgColor", someColor), where someColor was a string of the form "#RRGGBB",...
4
by: Bart Heinsius | last post by:
Hi, I can't get my cell widths fixed in a table in IE6. In Mozilla it works, see http://www.xs4all.nl/~margreeh/aa.html . It's the blue cells that remain fixed at 20pt widths in Mozilla but not...
13
by: Kai Grossjohann | last post by:
I have a web app which comprises different frames: a menu bar frame, a search form frame, a result list frame. Depending on the state, only a subset of these frames is available. (Eg, after...
15
by: Vorpal Chortler | last post by:
I've got a web customer complaining about centered text when it's not supposed to be. I just looked over at browsercam and it only appears on Win IE 6 - Nothing else, EVERYTHING else is justified...
1
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
3
by: Steve Sabljak | last post by:
I seem to having a little trouble getting a table to display correctly in both msie and firefox. I want to set the table and column widths in pixels, and have some cell padding too. The table...
31
by: Arthur Shapiro | last post by:
I'm the webmaster for a recreational organization. As part of one page of the site, I have an HTML "Calendar at a Glance" of the organization's events for the month. It's a simple table of a...
7
by: needin4mation | last post by:
Please Consider this code snippet: private void dgdHistory_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item ||...
0
by: Mehina | last post by:
i am having a problem regarding the disappearance of the cursor in the DataGrid cell after i change the width of the column on runtime.here is a function which is being called in the Textchanged...
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:
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: 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
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.