Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   XML (http://www.velocityreviews.com/forums/f32-xml.html)
-   -   Text Field Height issue with Firefox (http://www.velocityreviews.com/forums/t365567-text-field-height-issue-with-firefox.html)

somewildmonkey@yahoo.com 08-21-2006 03:25 AM

Text Field Height issue with Firefox
 
I'm running Firefox version 1.5.0.6 and when I load an html file
containing the code shown below, although both the text field and the
button are defined as 24 pixels in height, the text field is displayed
30 pixels tall. In Internet Explorer they display as specified.

Any ideas why Firefox is adding 6 pixels to the height of the text
field?

- MB

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>

<input type="text" size="10" id="form1:textField1"
name="form1:textField1" class="TxtFld" style=" height: 24px; left:
20px; top: 80px; position: absolute; width: 220px" value="" />

<input id="form1:button1" name="form1:button1" class="Btn2"
style="height: 24px; left: 250px; top: 80px; position: absolute; width:
70px" type="submit" value="Search">
</input>

</form>


Joe Kesselman 08-21-2006 03:30 AM

Re: Text Field Height issue with Firefox
 
HTML is not an XML language (at least, not until you get to XHTML, which
is HTML's replacement), so you're somewhat off-topic in this forum. Try
an HTML-specific or (probably more productively) a Firefox-specific
discussion?

somewildmonkey@yahoo.com 08-21-2006 04:02 AM

Re: Text Field Height issue with Firefox
 
Sorry about that :-/

Thanks for the info - somehow I read the group name as comp.text.xhtml


Joe Kesselman wrote:
> HTML is not an XML language (at least, not until you get to XHTML, which
> is HTML's replacement), so you're somewhat off-topic in this forum. Try
> an HTML-specific or (probably more productively) a Firefox-specific
> discussion?



Johannes Koch 08-21-2006 09:38 AM

Re: Text Field Height issue with Firefox
 
CSS-related question, so xpost and f'up2
comp.infosystems.www.authoring.stylesheets.

somewildmonkey@yahoo.com schrieb:
> I'm running Firefox version 1.5.0.6 and when I load an html file
> containing the code shown below, although both the text field and the
> button are defined as 24 pixels in height, the text field is displayed
> 30 pixels tall. In Internet Explorer they display as specified.
>
> Any ideas why Firefox is adding 6 pixels to the height of the text
> field?
>
> - MB
>
> <?xml version="1.0"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> </head>
>
> <input type="text" size="10" id="form1:textField1"
> name="form1:textField1" class="TxtFld" style=" height: 24px; left:
> 20px; top: 80px; position: absolute; width: 220px" value="" />
>
> <input id="form1:button1" name="form1:button1" class="Btn2"
> style="height: 24px; left: 250px; top: 80px; position: absolute; width:
> 70px" type="submit" value="Search">
> </input>
>
> </form>


--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)

Steve Kostecke 08-21-2006 04:21 PM

Re: Text Field Height issue with Firefox
 
Johannes Koch wrote:
> CSS-related question, so xpost and f'up2
> comp.infosystems.www.authoring.stylesheets.
>
> somewildmonkey@yahoo.com schrieb:
>> I'm running Firefox version 1.5.0.6 and when I load an html file
>> containing the code shown below, although both the text field and the
>> button are defined as 24 pixels in height, the text field is
>> displayed 30 pixels tall. In Internet Explorer they display as
>> specified. Any ideas why Firefox is adding 6 pixels to the height of
>> the text
>> field?
>>
>> - MB
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>> </head>
>>
>> <input type="text" size="10" id="form1:textField1"
>> name="form1:textField1" class="TxtFld" style=" height: 24px; left:
>> 20px; top: 80px; position: absolute; width: 220px" value="" />
>>
>> <input id="form1:button1" name="form1:button1" class="Btn2"
>> style="height: 24px; left: 250px; top: 80px; position: absolute;
>> width: 70px" type="submit" value="Search">
>> </input>
>>
>> </form>

>
> --
> Johannes Koch
> In te domine speravi; non confundar in aeternum.
> (Te Deum, 4th cent.)


Please don't top post.




All times are GMT. The time now is 08:36 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.