The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Form in div not clickable.
Pieman
post Mar 8 2008, 06:03 AM
Post #1


Member
***

Group: Members
Posts: 43
Joined: 10-February 08
Member No.: 4,927



I finished the search script I made for my blog. It works fine, but on my site (Pieman's blog) The search form isn't clickable in firefox.

This is the piece of code for the searchform.

CODE

  <div align="right" style="left:72px; position:relative;">
<div class="searchtop"></div>
<div class="searchbody" style="position:relative;">
<div class="alttext" style="text-align:left; margin-right:92px; position:relative;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="nowrap">
<font size="-3"><br/></font>
<form action="search.php" method="get" style="position:relative;">
<input type="text" name="search" style="position:relative;"/>
<input type="submit" name="submit" value="search" style="position:relative;"/>
<br/>
Search in:
<br/>
Subject<input type="radio" name="searchin" value="subject'" checked="checked" style="position:relative;"/>
Message<input type="radio" name="searchin" value="message'" style="position:relative;"/>
Both<input type="radio" name="searchin" value="both'" style="position:relative;"/>
</form>
</td>
</tr>
</table>
</div>
</div>
<div class="searchbottom"></div>
</div>


As you can see, I tried to just add position;relative everywhere in the hope to fix it. Obviously, it didn't work.

Any suggestions?

This post has been edited by Pieman: Mar 8 2008, 06:04 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Mar 8 2008, 06:32 AM
Post #2


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE
As you can see, I tried to just add position;relative everywhere in the hope to fix it. Obviously, it didn't work.Any suggestions?


Why should "position: relative" have any particular effect? It's probably a bad idea to mix up html positioning like align=left with _any_ css positioning; what on earth is

align="right" style="left:72px; position:relative;"

even supposed to mean?


Why are you using xhtml syntax? It has no function for non-philosophers, except causing unexpected problems? (Are you using it consistently, etc...?)

It's not much good posting a fragment like this - you need to demonstrate that you have a (public) page that exhibits the problem.

HTH
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Pieman
post Mar 8 2008, 07:08 AM
Post #3


Member
***

Group: Members
Posts: 43
Joined: 10-February 08
Member No.: 4,927



Yeah, I still need to clean my code. I also found out what the problem is. There is a div "over" the search div.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 12:40 PM