Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 09:57 pm EST

Geeklog Forums

Moding themes: Using the search form adds a additinal linebreak?


Status: offline

zokahn

Forum User
Junior
Registered: 05/05/04
Posts: 18
awake
Hi,

I've been using Geeklog for 1,5 years, almost with a default theme which is OK but creating one or moding one more seriously is even more cool.

Wanting to migratie to 1.3.9 because of google also helps as a reason...

So i'm busy html'n and comming across my first problem:

Using the Yahoo theme as a base 'm re-arranging header.thtml. I want to move the search form below the main bars, doing so brings an extra linebreak or extra space below the searchbox. I've noticed that it does not matter if you use a table or just add it in the page the extra line is there... but adding text as advanced search is placed immidiatly below


dev page the problem (new hotness 1.3.9!)
Old and rotten (but works!1.3.8.sr2)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
HTML forms are block level elements, so that's why they always have a line feed after them.

The solution is to use CSS:
Text Formatted Code
<form style="display:inline">
...
</form>
 

bye, Dirk
 Quote

Status: offline

zokahn

Forum User
Junior
Registered: 05/05/04
Posts: 18
Ohhhh, I'll try this.... Many thanks
 Quote

Status: offline

zokahn

Forum User
Junior
Registered: 05/05/04
Posts: 18
Yes, Line feed is gone!

Thanks
 Quote

All times are EST. The time is now 09:57 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content