 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
James-Nsx
Joined: 07 Mar 2008 Posts: 8
|
Posted: Sat Apr 05, 2008 9:15 am <form display:inline problem |
|
|
|
Can someone help me with this? I would like it so it'll appear inline. I tried
| Code: |
| style="display:inline" |
but with no success, but then again I'm still learning
| Code: |
<style>
body, td, p
{
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
}
body {margin: 0; overflow: auto;}
input { margin: 0; font-size:11px; height: 20px; vertical-align: middle; }
input.s { background-color: #D2BB86; border: solid 2px #382418; color: black; }
input.t { background: url('http://img91.imageshack.us/img91/1805/sbxf7.gif'); border: 0; color: white; width: 49px; }
img { vertical-align: middle; border: 0; }
td { vertical-align: middle; }
a { color: white; }
</style>
<link href="http://www.runescape.com/css/kbase/kbase-3.css" rel="stylesheet" type="text/css" media="all">
<form action='http://runehq.net/RHQItemSearch.php' method='post' target='RuneHq' name='search'>
<td class='sitetblrowdark'><input class=s name='query' type='text' class='post' size='20'>
<select name='scope' style="inline">
<option selected>All Fields</option>
<option>Item</option>
<option>Location</option>
<option>Shop Price</option>
<option>Street Price</option>
<option>High Alchemy Price</option>
<option>Low Alchemy Price</option>
<option>Notes</option>
<option>Respawn</option>
<option>Quest Item</option>
<option>Members Only</option>
</select>
<input name='ItemsSearch' class=t class='post' type='submit' value='Search'>
</form> |
|
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8199 Location: Castle Rock CO USA
|
Posted: Sat Apr 05, 2008 12:31 pm |
|
|
|
When you say inline, could you be a bit more specific - I don't know if you are really wanting the inputs on the same line or something else.
When I did put the code in an HTML page properly - it seemed to be OK. You have some minor problems, for example, make sure to use
| Code: |
| <style type="text/css"> |
and you have a <td> in your form but it is not mentioned anywhere else.
And
| Code: |
| <select name='scope' style="inline"> |
is not correct. You should have have something more like
| Code: |
| <select name="scope" style="display: inline"> |
_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|