Jump to content
  • Advertisement
Sign in to follow this  
rouncer

aspx tables

This topic is 2545 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


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...

Share this post


Link to post
Share on other sites
Advertisement
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]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!