Click to See Complete Forum and Search --> : Customise Border of an input in Form !?


Asch
06-16-2003, 05:04 AM
Hi how can I customise the borders of the cells from a form...I want them , p.ex : in this page the "subject"...only the blue line is arround...caus when you do it like this :

<input type="text" size="7" style="font-family:Arial" >

it is horrible :p ...


many thx

asch

Charles
06-16-2003, 05:11 AM
<input type="text" size="7" style="border:0.5ex solid #0000ff; font-family:Arial">

Asch
06-16-2003, 06:48 AM
Great , thank you charles....


asch

:) :)

Asch
06-16-2003, 07:00 AM
I have an other question :O) ?
How does it work with select options?

cause this doesnt work ! :

<select size="1" style="border:0.1ex solid #0000ff; font-family:Arial">

:O)

thx

asch

Charles
06-16-2003, 07:13 AM
No, it doesn't work in that piece of dung known as MSIE, but try this in Opera:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Script-Type" content="text/javascript">
<title>Example</title>
<style type="text/css">
<!--
select {border:5px solid #0000ff; font-family:Arial}
-->
</style>
<form>
<div>
<select>
<option>fee</option>
<option>fie</option>
<option>foe</option>
<option>fum</option>
</select>
</div>
</form>

Asch
06-16-2003, 08:16 AM
yeah works great in opera :o)...
but what id like to is in MIE :O)...
---------
if you look @ this page it works with mie ...on forum jump.... it is customised..
I haved look @ the source but no way to get it...:O)....

do you have any other idea ??


thx