|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Table width , heights
This query is regarding HTML table
I created a web form having html tables in Visual studio .Net. The thing is that i want to specify table width and heights in percentage, but when ever i do some change in the form the table width and heights are also changing , and the width specified in percentages became width in pixels, it is automatically happening. If table width and heights are in pixels, it will create problem when the resolution changes in this case how can i use style sheets to avoid these problems please help |
|
#2
|
|||
|
|||
|
paste some code... i don't understand how your tables are "automatically" being set in pixels... like that's overriding your percentages??
and what browser are you using? |
|
#3
|
|||
|
|||
|
Here is a part of my code
<TABLE cellSpacing="0" cellPadding="0" border="1" width=100%> <TR vAlign="top"> <TD align="center"> <form id="Form1" action="IcomingSpare_New_Save.aspx" method="post" runat="server"> <TABLE cellSpacing="0" cellPadding="0" border="1" width=100%> ---------------------------------- ----------------------etc Here when ever i add some components to this web form (eg: check box), through design, and when u see the html the width=100% will be changed to width=976 like that how can i avoid this ....? |
|
#4
|
|||
|
|||
|
that's really bizarre. i don't know why or how your percentage would be changed to pixels like that. all i can think is putting quotes around 100%... width="100%" ... but i don't imagine how that would make a difference!
what's the 2nd table for?? |
|
#5
|
|||
|
|||
|
Here is a part of my code
<TABLE cellSpacing="0" cellPadding="0" border="1" width=100%> <TR vAlign="top"> <TD align="center"> <form id="Form1" action="IcomingSpare_New_Save.aspx" method="post" runat="server"> <TABLE cellSpacing="0" cellPadding="0" border="1" width=100%> ---------------------------------- ----------------------etc Here when ever i add some components to this web form (eg: check box), through design, and when u see the html the width=100% will be changed to width=976 like that how can i avoid this ....? |
|
#6
|
|||
|
|||
|
Here is a part of my code
<TABLE cellSpacing="0" cellPadding="0" border="1" width=100%> <TR vAlign="top"> <TD align="center"> <form id="Form1" action="IcomingSpare_New_Save.aspx" method="post" runat="server"> <TABLE cellSpacing="0" cellPadding="0" border="1" width=100%> ---------------------------------- ----------------------etc Here when ever i add some components to this web form (eg: check box), through design, and when u see the html the width=100% will be changed to width=976 like that how can i avoid this ....? |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Table width , heights |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|