OZONE Asylum
Forums
DHTML/Javascript
Opera redrawing table width
This page's ID:
29013
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Thanks for your detailed answer. I'll try to consider all points of it. [quote] [b]poi said:[/b] Remember that the CSS Box Model defines the width/height including the margins, padding and borders. [/quote] Now I'm quite confused. Isn't what you describe more like [url=http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug]IE's box model bug[/url]? [quote] May I ask you which editor you use to write your JS, CSS, (X)HTML ? They look painful to maintain. Indenting will help you, and others, a lot. [/quote] Notepad. Which would you suggest? [quote] JS-wise, I would avoid the use of innerHTML at all cost. Browser vendors have implemented it on their own so far. But there is no official specification for it. In the current case it'll be fine but it can lead to arbitrary script execution. To change or add text content, prefer the use of TEXT Nodes and manipulate their nodeValue. [/quote] I'm not sure that your reasons are sufficient for me to avoid it "at all cost." [quote] Your Array.prototype.indexOf method should return -1 when obj is not found in the Array. [/quote] Touché. That should teach me not to blindly copy code. [quote] I wonder why you use an IMG in the TD. Just use an empty TEXT Node. And if you want nice looking X and O, use the TDs as CSS sprites. [/quote] I considered using background images in the TDs, but I figured that the pieces were semantic content, which I would not want to disappear if the user should turn off CSS.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »