andrisp Posted July 24, 2006 Report Share Posted July 24, 2006 FF rāda nepareizi šo kodu: http://paste.php.lv/4139 Kāpēc tā? Link to comment Share on other sites More sharing options...
kaszu Posted July 24, 2006 Report Share Posted July 24, 2006 (edited) Nomaini no: div.image a { border: 1px solid gray; padding: 2px; } uz: div.image a img{ border: 1px solid gray; padding: 2px; } Edited July 24, 2006 by kaszu Link to comment Share on other sites More sharing options...
andrisp Posted July 24, 2006 Author Report Share Posted July 24, 2006 Šis variants neder, jo vajag arī: a:hover { border: 1px solid black; } bet diemžēl IE neatbalsta ne a:hover img { } ne img:hover {} Link to comment Share on other sites More sharing options...
elfz Posted July 25, 2006 Report Share Posted July 25, 2006 Ja bildītēm izmēri fiksēti, tad vari darīt, piemēram, šādi, div.image a { border: 1px solid gray; display: block; padding: 2px; width: 150px; height: 112px; } Link to comment Share on other sites More sharing options...
andrisp Posted July 25, 2006 Author Report Share Posted July 25, 2006 nav fiksēti, bet es izlīdzējos tā, ka vienkārši a elementam piešķīru display: block; un inlainā style="width: [bildes_platums]px; ".. Rādas gan IE, gan FF. Link to comment Share on other sites More sharing options...
Recommended Posts