Addition:
I'm really sorry but i forgot my self defined css... :(
So this works for Firefox:
[code]
<?php echo $html->link('Edit', array("controller" => 'dns_names',
"action" => "edit", $dns_name['Dnsname']['id']), array('class' =>
'edit', "title" => "Editieren"), null, false); ?>
[/code]

And when i remove: " array('class' => 'edit', "title" => "Editieren")
" it works also for the internet explorer, but without image. So i
think this is the problem. Is there maybe a syntax error?
[this code works, but without the image]
<?php echo $html->link('Edit', array("controller" => 'dns_names',
"action" => "edit", $dns_name['Dnsname']['id']), null, false); ?>
[/code]

[my css code]
a.edit
{
  text-indent:-5000px;
  display:inline-block;
  width:24px;
  height:29px;
  background:transparent url(/img/edit.png) no-repeat 0 0;
}

a.edit:hover
{
  background-position:0px 5px;
}
[/code]

It would be very very very brilliant if someone could solve this.
I spend so much hours on this :(

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to