CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 5/28/2007 1:40:58 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
RichardWilliams
Asp.Net User
Bizarre Master Page Table "Interference"5/28/2007 1:40:58 PM

0/0

Having a very strange problem. Creating a table to use as layout frame have text boxes in cells - text boxes set to 100% so they fill the cell. All is well until I put a table into an adjacent cell, at which point the text boxes "leak" over into that cell i.e. they are literally missing the last 2 or 3 percent when the page is running. Having spent hours blaming everything from my style sheets to the layout of my Master page I've narrowed it down to being some interaction between the master page and table layout.

Created a new app, blank master page (no stylesheet or skin etc) then created a child page using it. Create new table (HTML) set each column to 25% - drop text box into cell 1 - al fine, drop a new html table into cell 2 and the leak occurs.

Do the same thing without a master page and all is well.

Any ideas?

In the source from explorer it looks like the master page has some style it loads of it's own (without me specifying - could it be this?)

Volcano_88101
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/28/2007 2:12:00 PM

0/0

There is no special magic with Masterpages. If you are having a specific issue you will need to provide the HTML markup. Hopefully it won't be too ugly or have too many nested tables to figure out what the problem is. Thanks.

RichardWilliams
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/28/2007 2:24:17 PM

0/0

Markup isn't important - just a normal web app with empty master page and simple table does the job - just try it on your system as I described

 Additional information we use IE7

RichardWilliams
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/28/2007 2:25:57 PM

0/0

Just in case there is something weird - take out Master page and the problem goes away. 

 

<%
@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Site1.Master" CodeBehind="Default.aspx.vb" Inherits="MasterTest._Default"

title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<table width="100%" cellpadding="3" cellspacing="3">

<tr>

<td width="50%">

<asp:TextBox ID="TextBox1" runat="server" Width="100%"></asp:TextBox></td>

<td width="50%">

<table>

<tr>

<td>

</td>

<td>

</td>

<td>

</td>

</tr>

<tr>

<td>

</td>

<td>

</td>

<td>

</td>

</tr>

<tr>

<td>

</td>

<td>

</td>

<td>

</td>

</tr>

</table>

</td>

</tr>

<tr>

<td width="50%">

</td>

<td>

</td>

</tr>

</table>

</asp:Content>

 

Volcano_88101
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/28/2007 2:35:12 PM

0/0

HTML Output not the .aspx markup.

RichardWilliams
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/28/2007 2:51:45 PM

0/0

Here it is :

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
 Untitled Page
</title></head>
<body>
    <form name="aspnetForm" method="post" action="Default.aspx" id="aspnetForm">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTkyOTExNDAwZGSic67C5u4AgI9Kc7OSOue8+F9OAg==" />
</div>

    <div>
       
    <table width="100%" cellpadding="3" cellspacing="3">
        <tr>
            <td width="50%" valign="top">
                <input name="ctl00$ContentPlaceHolder1$TextBox1" type="text" id="ctl00_ContentPlaceHolder1_TextBox1" style="width:100%;" /></td>
            <td width="50%" valign="top">
                <table width="100%">
                    <tr>
                        <td>
                            This is a label to see the overlap with</td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="50%" valign="top">
            </td>
            <td valign="top">
            </td>
        </tr>
    </table>

    </div>
   
<div>

 <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAgKK9sLwCALc3uCnBAwfLmMNnHRAXjHYObEBF6KOKQ42" />
</div></form>
</body>
</html>

This page when running displays a text box the end of which has been chopped off by the table with the text in it...

Volcano_88101
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/28/2007 6:13:35 PM

0/0

And the version that works?

RichardWilliams
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/29/2007 7:53:29 AM

0/0

The working page is the same but without a master page. Just try it yourself. I've done this on three different machines now - all 2005 all Ajax enabled web sites - with a master page (blank one) you get the weird formatting, without you get what you'd expect. I've been using .NET since the good old days and tables within tables have never caused me any hassle before - can't find any other reference to this anywhere - think we have a new "feature"

Volcano_88101
Asp.Net User
Re: Bizarre Master Page Table "Interference"5/29/2007 2:45:10 PM

0/0

I am sorry but there is no magical voodoo in MasterPages. It all comes out as HTML.

So if one works and one doesn't then that means that the output is different.

The sample that you gave me is a known CSS bug with Microsoft Tables and speciying 100% width on elements that are not one 100% width because of the way that the tables are calculated/rendered.

 I asked for multiple versions because if you had a version that works and a version that did not work then i could see the differences. Initially i thought it was the div but that does not appear to be it.

If you have 1 working version and a non-working version I want to see the output. You can also provide the input required to create both.

this means

Masterpage markup

COntentpage markup

Full page markup

---------------------------

HTML Output of masterpage output

HTML Output of full page

 

 

9 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The software catalog Authors: unknown, Pages: 0, Published: 1987

Web:
UFO Interference With Vehicles and Self-Starting Engines, McCampbell The man was a master mechanic and had never seen such an effect before. .... It seems that the previous table of general interference and these self starts ...
MicroRNA Interference Gets Some New Respect In Embryonic Stem Cell ... Sep 17, 2008 ... MicroRNA Interference Gets Some New Respect In Embryonic Stem Cell Research .... Web page addresses and e-mail addresses turn into links ...
Unknown Highway Fringe, Weird Links, Offbeat Websites, Bizarre ... Fringe, Weird Links, Offbeat Websites, Bizarre, Disturbing, Underground Internet . ... their food to help bail out their master’s latest financial disaster. ...
Primer Book Decide on special master. pages that might be. needed. Do you need a special master. page for the first page of the. chapter, or for a landscape. table? ...
RNA Interference Paste the copied code into the source of the page where you want to embed ..... to protect them from infection by a suite of RNA and DNA viruses (Table 1). ...
Interference at the ePa Three-quarters (76 percent) held either a master’s ...... Union of concerned scientists. interference at the epa. Table 1. Iowa State University Center for ...
Blackwell Synergy - Int J Applied Linguistics, Volume 17 Issue 3 ... s dubious statistics, and their bizarre claim that up to 20% of errors are not ... It appears to rest on a failure to read past page 2 of Linguistics across ...
Dual-loop spread-spectrum clock generator with master PLL and ... Bizarre Patents. Patent No. 5687752. Dining Table Having Integral Dishwasher .... "A New Demodulation Process to Reduce Cochannel Interference for a laser ...
Reverse References - Bewitched @ Harpies Bizarre Samantha replies: "I think he finally heard his master's voice. ...... Piggie," Samantha says to an absent Endora, "I've had it with your interference. ...
1957;16;803-829 Circulation RALPH MILLER and RICHARD H. SHARRETT ... TABLE 2.-Location of. Foci. Between Which. Interference. Dissociation Can ...... MASTER, A. M.:. Observations. upon. conduction. in the mammalian ...




Search This Site:










ff and ie incompatibility

setting up page styles and themes customizable by the user???

loosing global themes? (temp cache problem i think)

treeview control does not display levels properly

help!!! can't access form data fields with master page!

themes / skins

images on master disappear on pages in another directory

treeview expanddepth property causes visual studio to throw a jscript error

where is the "media" attribute in a request?

how do i access a webusercontrols linkbutton from a content page

menu button with multiview

treeview : collapse all open nodes on selection of another node without a postback

public property on masterpage not retaining value

how to refer to header?

treeview database

content placeholder alignment problem

master page & javascript text editor

master page + form tags

programmatically setting the selected node in sitemapdatasource

when to reset the state of a masterpage multivew activeindex, if you are reloading a content page?

master page menu

web navigation problem

firefox displays page correct - ms internet-explorer not ?!

loading entire content page inside an update panel

dynamically add nodes to a sitemappath

master pages

page refresh

css problem with treeview

sitemapresolve flaw

classic .asp site in content page - can it be done?

  Privacy | Contact Us
All Times Are GMT