0

is it wrong if I use span-x to define element width?

<div class="search span-7 prepend-17 last">
    <fieldset>
        <form action="index.php" method="get">                                  
            <input type="hidden"  name="page" value="found"/>                       
            <input class="span-4" type="text" MAXLENGTH="25" placeholder="Enter text to search" name="search"/>         
            <input class="span-3 last" type="submit" value="search" />
        </form>
    </fieldset>
</div>
InTry
  • 1,169
  • 3
  • 11
  • 35

1 Answers1

1

Not at all. Span only assigns a width, float and margin. As long as this is what you want for your element there's no problem using it.

ConorLuddy
  • 2,217
  • 2
  • 19
  • 18
  • No problem, thanks for the vote :) If you use a free tool like Firebug to check out the exact CSS rules that are being applied to your element you'll see exactly what the span-x applies. – ConorLuddy Jun 13 '12 at 13:54