Hi,
I took a look at data scroller (as am assuming this is the component you
are using)
In source of html generated from example (at
http://www.irian.at/myfaces/dataScroller.jsf) , i see this
<table class="scrollerTable2"><tbody><tr><td
class="standardTable_ColumnCentered"><table class="scroller"><tr><td><script
type="text/javascript"><!--
lots of javascript stripped here...
//--></script><a href="#" onclick="(stripped)"><img
src="images/arrow-first.gif" border="1" /></a>
<input type="hidden" name="autoScroll" />
</td><td><a href="#" onclick="(stripped)"><img src="images/arrow-fr.gif"
border="1" /></a></td>
etc.
indeed there are line feed around the input type, but it appear before a
</td>, and as such shouldn't generate extra space. Perhaps it's your css
stylesheet that apply margins or padding to <input> tags?
Check this in your browser,
<html>
<head>
<title>test</title>
</head>
<form>
<table border="1">
<tr><td>blabla</td></tr>
</table>
<table border="1">
<tr><td>blabla
<input type="hidden" name="autoScroll" />
</td></tr>
</table>
</form>
<body>
</body>
</html>
If both tables show same width, you should start to investigate css
rules. If not, then i think you need to have component patched to remove
those linefeeds :)
En l'instant précis du 04/07/07 07:29, Dave s'exprimait en ces termes:
> There are many generated:
> <input type="hidden" name="autoScroll" />
>
> that affects the page looks.
>
> In html, there is a line break around them. So there is an additional
> space on page.
>
> How to prevent this from happening?
> Thanks
> Dave
>
> ------------------------------------------------------------------------
> Food fight?
> <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>
> Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.
> <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>