🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #39836

javascript i IE style float

#39836
From: Grzegorz Ślusarek
Date: Wed, 10 May 2006 16:05
22 lines
1600 bytes
Witam wszystkich. Musze stworzyc czesc strony w javascripcie (1 div 
zawierajacy 2 div - chce aby były obok siebie) i wszystko idzie dobrze 
kod w js:

     div = document.createElement('div');
     div1= document.createElement('div');
     div1.id = 'prev';
     div1.style.cssFloat = 'left';
     div1.appendChild(document.createTextNode("<"))
     div.appendChild(div1);
     div2= document.createElement('div');
     div2.style.cssFloat = 'left';
     div2.id = 'next';
     div2.appendChild(document.createTextNode(">"))
     div.appendChild(div2);
a potem podczepiam div

no i oczywiscie firefox i OPERA interpetuje to dobrze (w sensie < > jest 
obok siebie w poziomie a Exploder nie). Moze mi ktos wyjasnic gdzie 
robie błąd?
Dzięki z góry za pomoc
Grzegorz
Technical Details
Message-ID: <e3t2s7$hpu$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
From: Grzegorz Ślusarek <against@spam.pl>
Newsgroups: pl.comp.lang.javascript
Subject: javascript i IE style float
Date: Wed, 10 May 2006 18:05:17 +0200
Organization: ATMAN
Lines: 22
Message-ID: <e3t2s7$hpu$1@node1.news.atman.pl>
NNTP-Posting-Host: saturn.atm.com.pl
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1147276999 18238 217.17.34.18 (10 May 2006 16:03:19 GMT)
X-Complaints-To: abuse@atman.pl
NNTP-Posting-Date: Wed, 10 May 2006 16:03:19 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: pl, en-us, en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit