Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-01 23:56:29

juliane
Member
Registered: 2009-02-08
Posts: 33

search box

how can I align my search box left with the other buttonlinks?

I have customized the search box and button like this:

fieldset.search { border: none; background: #000; margin: 0 auto; width: 0; padding: 0px; }
.search input, .search button { border:none; float:right; font-family: consolas, “Helvetica Neue”, Arial, sans-serif; font-size:11px; }
.search input.box { width: 100px; height: 18px; background:url(/images/searchbox.png) no-repeat; outline:none; }
.search button.btn { width: 31px; height: 22px; cursor: pointer; text-indent: -9999px; background: url(/images/ok1.png) no-repeat top right; }
.search button.btn:hover { background: url(/images/ok2.png) no-repeat bottom right; }

why is it not aligning left with the about and links buttons?

the site: http://wowlab.org

Offline

#2 2009-05-02 00:01:29

juliane
Member
Registered: 2009-02-08
Posts: 33

Re: search box

i also would like to align the ok button right after the search box.

Offline

#3 2009-05-02 07:17:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: search box

why is it not aligning left with the about and links buttons?

In ff3.0.x mac it looks like it is aligned just fine but I just can’t see a button or a fieldset anywhere in your code.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2009-05-02 09:57:10

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: search box

Check your txp code. I see this:

<form action="http://wowlab.org/" method="get">
	<search_input>busca<br />
	<input type="text" name="q" value="" size="10" />
	</search_input>
	</form>

I think you’ve forgotten the txp:... in front of search_input. You need txp:search_input.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB