Jump to content
  • 0

pomoc [Help] Změna pozadí (Obrázku) v tabulce


Roox

Dotaz

Zdravím,

2 hodiny si tady lámu hlavu nad tím, jak sprovoznit tlačítko.. Potřebuju to udělat pouze v html.. Změna barevného pozadí mi nedělá problém, ale tohle vážně už netušim.. Skončil jsem někde v této fázi:

></pre>
<table width="116" style='height:26px;background-image:url("images/button.png");'>Test</t

Bohužel tato forma je nefunkční.. Zkrátka, potřebuju udělat tlačítko, ke kterému mám pozadí, které bliká po najetí a mohl se na něj zapsat text.. Díky za pomoc.

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

  • 0

Co toto?

Do css:

#button{
width: 116px;
height: 26px;
background(images/button.png);
text-align: center /* vycentrování textu, kdyby bylo potřeba */
}
#button:hover{
background(images/buttonactive.png);
}

Do HTML

text

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...