Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
DOCTYPE vs. FIREFOX vs. JAVASCRIPT vs. ...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
clown



Joined: 19 Oct 2004
Posts: 181
Location: Brestovac DC

PostPosted: 18.05.2006 16:07    Post subject: DOCTYPE vs. FIREFOX vs. JAVASCRIPT vs. ... Add user to your forum ignore list Reply with quote

odmah se ispricavam zbog duplog posta jer sam ovo pitanje postavio i u jednom svom WIP topicu ali sam na kraju skuzio da mu tamo nije mjesto...

dakle, radim na jednom sajtu kojeg mozete vidjeti ovdje

naime, u njemu koristim java skriptu za div pozicionirani skrolbar umjesto iframe-a i imam problema sa doctypeom...
u zadnjoj verziji mi skrolbar radi u IE i Operi, a u Firefoxu ne, sto si nikako ne mogu dopustiti Smile

Document Type je:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


ako stavim samo <html> onda mi radi u svim browserima ali mi se onda u IE layout pomakne skroz ulijevo i ne mogu ga centrirati...

sta da radim? probao sam sa drugim doctypovima da mi skrolbar radi u Firefoxu, ali nista...
molim pomoc, hvala
Back to top
View user's profile Send private message
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 18.05.2006 21:13    Post subject: Add user to your forum ignore list Reply with quote

A da koristiš ovo?
http://www.n-son.com/scripts/jsScrolling/

p.s. nemaš ti problem sa doctype-om Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
les



Joined: 25 Oct 2004
Posts: 370

PostPosted: 19.05.2006 15:27    Post subject: Add user to your forum ignore list Reply with quote

Doctype ti sigurno ne stvara problem. On uvijek mora biti ispravno definiran - prepuručujem toplo da koristiš strict. Što se tiče pozicioniranja to je stvar css-a - nisam gledao kod detaljno ali čini mi se da neke stvari nisu baš najsretnije izvedene...
Provjeri malo detaljnije sve, iskoristi ovo što ti je Sulien predložio i nebi trebao imat problema Wink
Back to top
View user's profile Send private message Send e-mail
clown



Joined: 19 Oct 2004
Posts: 181
Location: Brestovac DC

PostPosted: 23.05.2006 16:44    Post subject: Add user to your forum ignore list Reply with quote

ok, slozio sam skriptu koju je Sulien predlozio i sve sljaka kak treba. hvala
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group