Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: changing appearance of search field added to homepage  (Read 3749 times)

0 Members and 1 Guest are viewing this topic.

alanpalan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
changing appearance of search field added to homepage
« on: November 26, 2007, 09:56:53 pm »

I added search field to my Coppermine homepage, but it has button with rounded edges. I want angulate search button (see attached jpeg).
I am using this piece of code in template.html:
Code: [Select]
<!-- add search box -->
<div style="position:absolute; top:40px; right:150px">
<form method="get" action="thumbnails.php" name="searchcpg">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="full">
<input type="text" style="width: 150px" name="search" maxlength="255" value="" class="textinput">
<input type="submit" value="HLEDEJ">
</form>
</div>

What shal I do? Thanks for answer.
« Last Edit: November 28, 2007, 07:33:42 am by GauGau »
Logged

Infernal

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • 13371357
    • Add Fun
Re: changing appearance of search field added to homepage
« Reply #1 on: November 26, 2007, 10:25:29 pm »

Check your style.css for the button and see the settings you have there
Logged

alanpalan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: changing appearance of search field added to homepage
« Reply #2 on: November 26, 2007, 11:46:37 pm »

Thanks, but I don't know what to look for and what to copy...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing appearance of search field added to homepage
« Reply #3 on: November 27, 2007, 06:57:46 am »

Then post a link to your gallery for a start. Look for specifications for the HTML tag "<input>". Plain CSS knowledge.
Logged

alanpalan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: changing appearance of search field added to homepage
« Reply #4 on: November 27, 2007, 08:55:29 pm »

Ok. Link to my gallery: http://santoro.ic.cz/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing appearance of search field added to homepage
« Reply #5 on: November 28, 2007, 07:33:24 am »

The button doesn't have any CSS properties assigned at all, so it displays using the browser/operating system defaults, which is rounded (using Windows plus IE) or angular (using Ubuntu Linux with Gnome and Firefox). To specify particular attributes, use inline CSS ( something like <input type="submit" value="HLEDEJ" style="border:1px solid black;" />) or a reference to a yet-to-be-defined CSS class (e.g. <input type="submit" value="HLEDEJ" class="custom_button" />).
This is in no way related to Coppermine, but plain HTML/CSS. There are loads of resources that explain this. This board is not the best place to ask for help on plain HTML questions. We can't teach you HTML, simply because it's beyond the scope of this board.
Closing, locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.