Skip to main content
gamedev.net
🔒 Locked

aspx tables

Started by rouncer Dec 22, 2011 at 1:52 PM 0 replies 600+ views
Original Post
rouncer
rouncer

shot0.png
Anyone here any good at asp.net?
As you can see from the screenshot, my table is not snugly fitting together and ive got the cstylesheet set pretty much right...

.myTableClass
{
padding: 0px;
margin: 0px;
border-width: 0px;
border-spacing: 0px;
}

.myTableClass td
{
padding:0px;
margin:0px;
border-width:0px;
border-spacing: 0px;
}

.myTableClass tr
{
padding:0px;
margin:0px;
border-width:0px;
border-spacing: 0px;
}


I was thinking maybe its a percentage stretching error caused by the resolution? how can i set this to deactivate, its stretching the table off a few pixels here and there...

davepermen
davepermen
maybe it's the compatibility mode that kills it? local pages always run in compatibility mode.

to fix this, i had to modifiy web.config like this:


<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=Edge" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>

[font="arial, verdana, tahoma, sans-serif"]
[/font]
[font="arial, verdana, tahoma, sans-serif"](or similar.. )[/font]
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.