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
Kako poludeti uz FireFox: vol.2

 
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
Vujke



Joined: 11 Aug 2004
Posts: 33

PostPosted: 02.09.2004 15:24    Post subject: Kako poludeti uz FireFox: vol.2 Add user to your forum ignore list Reply with quote

Evo jos jednog 'divnog' problema sa FireFox browserom.
I to nesto najprostije: imam jednu veliku tabelu. Ta tabela
je podeljena. Levi deo sam stavio da Width bude 6px, a u desnom stavio jednu malu
tabelu. Internet Explorer je 'ukapirao' da je levi deo tabele 6px, a FF i Mozila 1.7
browseri 'misle' da nije 6px, već 7px ?! I preko koda i preko dizajna sam namestio da
bude 6px, a FF i Mozilla teraju i dalje po svome. Dajte neki predlog...hitno mi je...

evo slike da vam bude lakse :


_________________
My portfolio site with addons - movie, site,
music & game reviews - |||| http://www.soulcry.org ||||
|||| Best hosting provided by - http://www.tip-internet.hr ||||
Back to top
View user's profile Send private message Visit poster's website
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 02.09.2004 15:59    Post subject: Add user to your forum ignore list Reply with quote

margin: 0px;
padding: 0px;

always

daj ostatak koda, kako to uopce definiras? u css-u ili direkt u tableu?

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
raytech



Joined: 17 Mar 2004
Posts: 396
Location: Zagreb

PostPosted: 02.09.2004 17:19    Post subject: Add user to your forum ignore list Reply with quote

Ljudi, no tables, web standards!!!!

_________________
http://www.neonski.com |
Back to top
View user's profile Send private message Send e-mail MSN Messenger
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 02.09.2004 17:21    Post subject: Add user to your forum ignore list Reply with quote

eh...iako bi se ja kleo u non-tables prije par mjeseci...moram priznat da je ipak jos uvijek lakse neke stvari izvesti pomocu tablica...osobito kad imas "portal-like" site na kojem dinamicki dodajes i mices boxove...jos je malo prerano za non table sitove...kad se radi o vecim projektima...nazalost.

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 02.09.2004 17:33    Post subject: Add user to your forum ignore list Reply with quote

raytech wrote:
Ljudi, no tables, web standards!!!!


no tables - pain in the ass.

osim tog, ne znaju svi dovoljno css-a za izvesti to. takodjer, jako puno ljudi koristi DW pa je lakse ubacit tablicu nego div i css-irati div.


ali ovaj put bi se moro slozit, ova tablica izgleda mucho opaka pa bi trebalo ipak citba malo div-ova sa marginama :>
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 02.09.2004 17:41    Post subject: Add user to your forum ignore list Reply with quote

more tables = more pain
mrzim kad moram u tablicama slozit layout a onda imam tri vrste forumulara i tablica sa razlicitim karakteristikama i to kad pocnes klasat td, table tr ako ne napravis sve u jednom danu sutra ujutro vise ne znas gdje ti je sta.

a s divovima sve fino odredis i samo kopi pejst Smile

@maxy: jel stvarno frka nekom programeru napravit aplikaciju da radi u css-layoutu?
meni tip totalno razvalio layout i prevrnuo ga u tablice, ocajno izgleda! a radilo je u ie i mozilli perfektno! Sad

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 02.09.2004 17:44    Post subject: Add user to your forum ignore list Reply with quote

ako znas sto radis...naravno da nije, ali ipak jos uvijek css layouti boluju od djecjih bolesti...koje se mogu rjesiti naravno...ali pitanje uz koliko rada i muke Very Happy

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 02.09.2004 17:48    Post subject: Add user to your forum ignore list Reply with quote

gle al ja sam ta koja napravim layout u css-u sve pet, predam tipu koji to treba integrirati sa aplikacijom i on sve rasturi! Shocked
a ova druga dva sute i rade i kod njih funkcionira!

ja se u petak svadjala (pogotovo sto ako mi je u css-u promijenim dizajn kad se sjetim) a on mi uporno tvrdi da je nemoguce jer on sve generira automatski i trebaju mu tablice!i jos me napada da sam ja nesposobna napraviti layout u tablicama i da je moja krivica (a fakat jesam totalno sam se navikla na divove a i onaj dugi kod u tablicama mi je bljak).
meni sve to izgleda kao neka mrsava skuza al nisam programer pa me bas zanima dal ga mogu tuc ili da sutim Confused

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 02.09.2004 17:49    Post subject: Add user to your forum ignore list Reply with quote

keye wrote:
gle al ja sam ta koja napravim layout u css-u sve pet, predam tipu koji to treba integrirati sa aplikacijom i on sve rasturi! Shocked
a ova druga dva sute i rade i kod njih funkcionira!

ja se u petak svadjala (pogotovo sto ako mi je u css-u promijenim dizajn kad se sjetim) a on mi uporno tvrdi da je nemoguce jer on sve generira automatski i trebaju mu tablice!i jos me napada da sam ja nesposobna napraviti layout u tablicama i da je moja krivica (a fakat jesam totalno sam se navikla na divove a i onaj dugi kod u tablicama mi je bljak).
meni sve to izgleda kao neka mrsava skuza al nisam programer pa me bas zanima dal ga mogu tuc ili da sutim Confused


tuci! Twisted Evil Twisted Evil Twisted Evil Twisted Evil

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
keye



Joined: 24 Nov 2003
Posts: 2465
Location: Paris - France

PostPosted: 02.09.2004 18:03    Post subject: Add user to your forum ignore list Reply with quote

kul Twisted Evil

_________________
Google is a blind person
Back to top
View user's profile Send private message Visit poster's website
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 02.09.2004 18:39    Post subject: Add user to your forum ignore list Reply with quote

tuci tuci, mos mu spominjat i mater u kontekstu sa ljenoscu :)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 02.09.2004 20:21    Post subject: Add user to your forum ignore list Reply with quote

keye wrote:
@maxy: jel stvarno frka nekom programeru napravit aplikaciju da radi u css-layoutu?


nije opce tesko napravit css layout Smile
samo meni je brze napraviti prikaz od 5 kolumni i 14 redaka sa tablicom nego sa div-ovima (jest da je ovakav slucaj 1 u 100 ali dogodi se).
Back to top
View user's profile Send private message
Vujke



Joined: 11 Aug 2004
Posts: 33

PostPosted: 02.09.2004 22:26    Post subject: Add user to your forum ignore list Reply with quote

Code:
<table width="658" height="216" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <th width="6" scope="col"><table width="6" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <th align="left" valign="top" class="style8" scope="col">-</th>
                </tr>
              </table></th>
              <th width="646" align="left" valign="top" scope="col"><table width="384" height="104" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <th align="left" valign="top" scope="col"><table width="152" border="0" cellpadding="0" cellspacing="0" class="tabelacolor">
                    <tr>
                      <th scope="col">&nbsp;</th>
                    </tr>
                  </table></th>
                </tr>
              </table></th>
            </tr>
          </table>



Mislim da ste počeli da offtopic-ujete. Ovde treba da se priča o mom problemu, ne nekom trećem Rolling Eyes --- Izvolte kod....

_________________
My portfolio site with addons - movie, site,
music & game reviews - |||| http://www.soulcry.org ||||
|||| Best hosting provided by - http://www.tip-internet.hr ||||
Back to top
View user's profile Send private message Visit poster's website
Phiber



Joined: 18 Apr 2004
Posts: 319
Location: Čakovec, Kroejša

PostPosted: 02.09.2004 23:39    Post subject: Add user to your forum ignore list Reply with quote

2 keye: tip serucka. funnyplace je na divovima i generira se automatski. sve radi -- fireforx i IE.

_________________
- Xatrix Security news portal -- redizajn napravljen, al radim css Smile
- - TIP / Rapid IT : web design & hosting -- za ovog ne, taj je u ladici Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 03.09.2004 09:12    Post subject: Add user to your forum ignore list Reply with quote

Ne znam sta pise u css-u, ali definitivno ti netrebaju <th> elementi koji po defaultu imaju svoje neke paddinge i margine... Koristi obican <td> ako vec zelis koristiti tablice za ovo sto si poslao...
I provjeri je li ti browser u quirks modeu, to takodjer moze biti izvor problema...

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
edgar



Joined: 28 Dec 2003
Posts: 916
Location: Pred monitorom

PostPosted: 03.09.2004 09:50    Post subject: Add user to your forum ignore list Reply with quote

da bi izbjegao te gluposti probaj u css-u stavit. Time ces prebacit prikaz iz inline-a u block i maknut margins\padding za svaki td koji imag img.

Code:
td.imgholder img {
display:block;
margin:0;
padding:0;
}


ili kolko se sjecam, mozda ti proradi da promijenis align slika.

Code:
td img {
vertical-align: bottom;
}



edit: Eh da, i poneke verzije IE-a kod definiranja širine bilo čega, border i padding stavljaju unutar toga, za razliku od ff-a. Tako ces npr ako si za iframe definirao border 1px, padding 5px i sirinu od 100px kod IE-a dobit samo 88px za razliku od 100 potrebnih. Kof firefoxa to nije tako.. jer stavlja border i padding van elementa...

_________________
Digital Genetics | Koote | Nuspojava
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vujke



Joined: 11 Aug 2004
Posts: 33

PostPosted: 03.09.2004 14:35    Post subject: Add user to your forum ignore list Reply with quote

Kojih slika? Ovde je reč o tabelama Shocked

_________________
My portfolio site with addons - movie, site,
music & game reviews - |||| http://www.soulcry.org ||||
|||| Best hosting provided by - http://www.tip-internet.hr ||||
Back to top
View user's profile Send private message Visit poster's website
Vujke



Joined: 11 Aug 2004
Posts: 33

PostPosted: 03.09.2004 14:53    Post subject: Add user to your forum ignore list Reply with quote

Problem solved ! Evo rešenja :

Code:
<table width="658" height="216" border="0" cellpadding="0" cellspacing="0" bgcolor="#00ff00">
<tr>
  <td width="6">
   <table width="6" border="0" cellspacing="0" cellpadding="0">
      <tr>
         <td align="left" valign="top"></td>
      </tr>
   </table>
  </td>
  <td width="652" align="left" valign="top">
   <table width="384" height="104" border="0" cellpadding="0" cellspacing="0" bgcolor="#0000ff">
   <tr>
     <td align="left" valign="top"><table width="152" border="0" cellpadding="0" cellspacing="0" bgcolor="#ff0000">
      <tr>
        <td>&nbsp;</td>
      </tr>
     </table></td>
   </tr>
   </table>
  </td>
</tr>
</table>


Thanks svima puno! Wink

_________________
My portfolio site with addons - movie, site,
music & game reviews - |||| http://www.soulcry.org ||||
|||| Best hosting provided by - http://www.tip-internet.hr ||||
Back to top
View user's profile Send private message Visit poster's website
edgar



Joined: 28 Dec 2003
Posts: 916
Location: Pred monitorom

PostPosted: 03.09.2004 15:01    Post subject: Add user to your forum ignore list Reply with quote

Vujke wrote:
Kojih slika? Ovde je reč o tabelama Shocked


no dobro.. ali vrijedi i za nilo koju vrstu podataka u tabelama.. i za tabele u tabelama takodjer.. Wink .. samo drugacije uredis css.

_________________
Digital Genetics | Koote | Nuspojava
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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