0

Is it possible to us a display:block for and input submit? or do I have to create an image for the submit button?

<div class="signin_btn">
<a title="Current Members Sign-In" class="l_helpl" href="/">SIGN-IN</a>
</div>
acctman
  • 4,229
  • 30
  • 98
  • 142

3 Answers3

0

You can even do this

<!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">
<head>
    <title>Test</title>
</head>
<body>
<style type="text/css">
.button
{
   width: 100px;
   height: 200px;
   background-color: Red;
   cursor: pointer;
   display: block;
</style>
<div>

<a href="http://www.bbc.co.uk" class="button"></a>

</div>

</body>
</html>
Ed Heal
  • 59,252
  • 17
  • 87
  • 127
-1
<a title="Current Members Sign-In" class="l_helpl" href="/">
<span class="signin_btn">
SIGN-IN
</span>
</a>

This should do the trick. And of course change your styling to suit the changes.

-1

I think it is stupid for a person having more than 500 reps to ask this question. Anyway here is how I would do it

<div class="signin_btn">
<a title="Current Members Sign-In" class="l_helpl" href="/" style="display:block;">SIGN-IN</a>
</div>

But please be remembered that it is a bad practice to have a block level element inside an inline element.

defau1t
  • 10,593
  • 2
  • 35
  • 47