Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
CSS and textarea |
Page: 1 | Reply |
Jan 14th 2003 | #85829 Report |
Member since: Jan 6th 2003 Posts: 8 |
Has anyone noticed that when you put a textarea into a table with a border, the table border becomes bigger by about 2px? Is there anyway to get around this? Maybe some sort of collapse or something?
|
Reply with Quote Reply |
Jan 14th 2003 | #85855 Report |
Member since: Apr 20th 2002 Posts: 3000 |
Why don't you just disable the border on tables? Or you can specify an exact width for the border on the table with some CSS commands.
|
Reply with Quote Reply |
Jan 15th 2003 | #85945 Report |
Member since: Jan 6th 2003 Posts: 8 |
After researching the problem a little more it actually has nothing to do with the relationship between the table and the textarea. The issue only shows up when I have scrollbar parameters defined for the body. Here is a sample: <HTML> <STYLE> .G2{background-color:#F0F0F0; font-family:Arial; font-size:8pt;}; TABLE,TR,TD {border:1px solid black; border-collapse:collapse;}; BODY { scrollbar-shadow-color:#F0F0F0; } </STYLE> <BODY> <TABLE CELLPADDING=3 CELLSPACING=0 BORDER=0> <TR VALIGN=TOP> <TD CLASS=G2><FONT STYLE="font-size:8pt; font-weight:700">what?</FONT></TD> <TD CLASS=G2><TEXTAREA COLS=50 ROWS=10></TEXTAREA></TD> </TR> </TABLE> </BODY> </HTML> You'll notice that if you take out the textarea, the border displays correctly. If you take out the scrollbar style from the stylesheet, the border displays correctly. Odd... |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |