[RESOLVED] asp:Gridview ItemStyle-Width Problem ???
Hi guys !
I dont know why, whatever I put in the ItemStyle-Width value (8px), the columns width seems to not follow this value ??? As per the attached printscreen, the columns supposed to be identical, but is not...
For information, the headers are off, I made it with a asp:Table...
I would like to know your suggestion about my header and I would like to understand the "....markup/style/CSS that is rendered to the page?"...I want to learn !!!
Thanks !
DubweiserTM
If your question has been answered, you can mark a thread as resolved...
Sorry for not replying sooner, I have been away at a conference.
Apologies about not seeing the definition of GridViewCalc, I must have missed that in your first post.
What I was referring to when I said:
Have you checked the markup/style/CSS that is rendered to the page? It should be clear from there what is going on.
Was looking at the raw HTML that is rendered to the page. This is normally visible by right clicking on the page in the browser and selecting "View Source". This allows you to inspect the rendered HTML, and see what the ASP.Net page actually spits out. If you then add on top of this tools such as the excellent FireBug (which is available in both FireFox and Chrome) you can start tinkering with the HTML elements to try to figure out why things aren't exactly working. This involves changing CSS statements on the fly, as well as HTML attributes, etc.
The best way to learn about this is by doing it. Have a look here: