CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/11/2007 6:39:37 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 35 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
tichi
Asp.Net User
Firefox, tables, and Master Pages6/11/2007 6:39:37 PM

0/0

I cannot seem to get a Master Page to work properly in Firefox. It displays fine in IE7. The site is based on an image, which is broken into parts and put in a table - the content holder is in one of the table cells where the image was set to a background. Here's the source code.

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="default.master.cs" Inherits="_default" %>

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

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

</head>

<body>

<form id="form1" runat="server">

<div>

<table id="Table_01" width="801" height="600" border="0" cellpadding="0" cellspacing="0">

<tr>

<td colspan="5">

<img src="App_Images/tichisite_01.gif" width="800" height="67" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="67" alt=""></td>

</tr>

<tr>

<td colspan="3">

<img src="App_Images/tichisite_02.gif" width="163" height="64" alt=""></td>

<td rowspan="2">

<img src="App_Images/tichisite_03.gif" width="606" height="83" alt=""></td>

<td rowspan="8">

<img src="App_Images/tichisite_04.gif" width="31" height="533" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="64" alt=""></td>

</tr>

<tr>

<td rowspan="7">

<img src="App_Images/tichisite_05.gif" width="12" height="469" alt=""></td>

<td rowspan="2">

<img src="App_Images/tichisite_06.gif" width="134" height="29" alt=""></td>

<td rowspan="7">

<img src="App_Images/tichisite_07.gif" width="17" height="469" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="19" alt=""></td>

</tr>

<tr>

<td rowspan="5" width="606" height="408" background="App_Images/tichisite_08.gif">

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="10" alt=""></td>

</tr>

<tr>

<td>

<img src="App_Images/tichisite_09.gif" width="134" height="46" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="46" alt=""></td>

</tr>

<tr>

<td>

<img src="App_Images/tichisite_10.gif" width="134" height="45" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="45" alt=""></td>

</tr>

<tr>

<td>

<img src="App_Images/tichisite_11.gif" width="134" height="45" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="45" alt=""></td>

</tr>

<tr>

<td rowspan="2">

<img src="App_Images/tichisite_12.gif" width="134" height="304" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="262" alt=""></td>

</tr>

<tr>

<td>

<img src="App_Images/tichisite_13.gif" width="606" height="42" alt=""></td>

<td>

<img src="App_Images/spacer.gif" width="1" height="42" alt=""></td>

</tr>

</table>

</div>

</form>

</body>

</html>

[email protected]
Asp.Net User
Re: Firefox, tables, and Master Pages6/11/2007 8:09:42 PM

0/0

So, what does "work properly" mean and why do you seem to believe the code you posted doesn't "work properly?"

Jeff


Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
tichi
Asp.Net User
Re: Firefox, tables, and Master Pages6/12/2007 2:08:41 AM

0/0

My apologies, I didn't describe it well enough. As you can see in the code I posted, the images are in a table. They are supposed to all line up to create a single seamless image. In IE7, it does. In Firefox there are spaces all over the table, and I cannot figure out why.
[email protected]
Asp.Net User
Re: Firefox, tables, and Master Pages6/12/2007 2:15:20 AM

0/0

Take a look at the rendered c ode (View Source in browser) and look at the CSS for any positioning.

Jeff


Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
tichi
Asp.Net User
Re: Firefox, tables, and Master Pages6/12/2007 2:28:51 AM

0/0

I did - there wasn't any css rendering, I made sure to take it out as Firefox didn't seem to like that either.

tichi
Asp.Net User
Re: Firefox, tables, and Master Pages6/12/2007 5:37:41 PM

0/0

Anyone have any ideas?

tichi
Asp.Net User
Re: Firefox, tables, and Master Pages6/13/2007 2:04:19 AM

0/0

Alright, found out what was wrong. In Firefox, the images were displaying above the text, and to prevent this, I had to add this code to my external css file:

img

{

    display: block;

}

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


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Dreamweaver CS3 Bible: Master Every Aspect of Dreamweaver - Work with CSS, Text, Images, And Links - Incorporate Flash Movies and Other Media Authors: Joseph W. Lowery, Pages: 1112, Published: 2007
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Paul Mueller, Pages: 822, Published: 2005
Fusebox 4 & FLiP: Master-Class ColdFusion Applications Authors: Jeff Peters, Pages: 0, Published: 2004
Mastering Integrated HTML and CSS: Integrate HTML Or XHTML and Cascading Style Sheets for Best Results. Master Key Techniques and Improve Your Productivity Authors: Virginia DeBolt, Pages: 600, Published: 2007
How to Do Everything: Ubuntu Authors: Jeffrey T. Orloff, Pages: 328, Published: 2008
Greasemonkey Hacks: Tips & Tools for Remixing the Web with Firefox Authors: Mark Pilgrim, Pages: 469, Published: 2005
Art Book News Annual Authors: Book News Inc, Pages: 0, Published: -1
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005

Web:
Dynamically Varying Master Pages By Browser Type - ScottGu's Blog Nov 20, 2004 ... re: Dynamically Varying Master Pages By Browser Type. Sunday, November 21, 2004 2:58 PM by scottgu. The table is there just as an example of ...
centring in IE7 and Sharepoint aspx master pages This has the effect of centring my table in Firefox > but aligning it left in IE7. ... centring in IE7 and Sharepoint aspx master pages - miriam clinton ...
Rafelo: Table Height Percentages in SharePoint Master Pages Sep 2, 2008 ... You may have noticed an issue while specifying height percentages for tables and cells within SharePoint master pages, they don't always ...
Master Pages not rendering correctly : VB.NET, IE 6 and 7, Firefox ... This technique not only for master pages but you can use for simple web page design .. that helps you to maintain your webpage in proper shape.. so table ...
CodeGuru: Using ASP.NET Master Pages for Consistent Site Design NET master pages to consistently format the design of your pages around your ... For simplicity, this example just uses tables to create the layout. ...
ASP.NET 2.0 and Web Standards - Using Master Pages - Jeff Lynch [MVP] Jan 4, 2006 ... NET 2.0 Master Pages to create XHTML compliant web sites using CSS layout techniques instead of tables! Once you get the hang of it, ...
Buddy's Place Online | All posts tagged 'master pages' I must say that master pages are really really cool. At first I was concerned that Master Pages was going to force everything that you did to be in tables ...
CSS Options with Master Pages
. re: CSS Options with Master Pages. Phil Lanier Posted @ 8/7/2008 6:52 PM ... is the loading order the same under IE or Firefox ? ...
Amazon.com: Professional ASP.NET 2.0 Design: CSS, Themes, and ... How Master pages can be used to template the look and feel of your site and how other pages ... NET controls render accessible CSS code rather than tables ...




Search This Site:


Invite
History
Resources
Members
SiteMap









get userid upon insert

hash tables??

service authentication

hiding/encrypting text files (xml) from system administrators

opening a connection to the database from the server...error logging in

impersonation issue

membership and assign a role automatically

intranet, extranet or internet.

can create new users but fail to login using them!

can't deny access to directory using the memberhship role

authentication between applications (subdomains)

securing non aspx files?

excel download, forms auth and the unknown zone

custom validator creates user anyway...

profile_migrateanonymous

multiple logon pages

network credentials

walkthrough: creating a web site with membership and user login (visual studio)

adding loginname to database record

help with aspnetdb.mdf you start with in visual studio 2005

execution file

md5 hashing

server won't use forms authentication

where's code for changing default page on login?

creating a new membership provider userid

failure when trying to configure membership and roles

create user wizard - membership locked by default

help! credentialcache.defaultcredentials in windows application??

grouping

textboxes and cross site scripting

  Privacy | Contact Us
All Times Are GMT