|03-16-2012, 06:41 AM||#1|
Join Date: Jun 2004
table cell position issues
I do not understand why a table rendered by local host is diffrent from the same table rendered from discountasp.net. Its driving me crazy.
I must be making a total newbie mistake.
Something I am doing is not working in the ASP.Net world.
So I have a pair of images I would like to run along the top of the pages of my site. I would like center.png centered and right.jpg right justified. The images should be at the same height.
I have a table I used to lay out the images.
When I hit debug in Visual Studio 2010 express and view the pages on my local machine the lay out is what I expect. The first image is centered and the second image is right justified.
When I publish my website to discountasp the layout of the table and images are all left justified!
Why is the layout different between my machine running the page localhost and the same page hosted on discountasp?
When I view source of the page on localhost and discountasp the html is the same.
I thought that table rendering is strictly a browser side thing?
Could it be a css thing? agh.
Anyway here is the table.
<asp:Content ID="LogoContent" runat="server" ContentPlaceHolderID="logoHeader">
<table style="width: 100%">
<td style="width: 90%">
<img src="Images/center.PNG" style=" height: 61px; width: 333px" />
<img src="Images/right.jpg" style="height: 85px; width: 128px" />
There is probably a 'modern' way do do the same layout task. ok fine. I would like to understand why the tables are different localhost vs hosted on the server.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|abcpdf Namespace PDFTable||fmf||Visual Studio||1||12-14-2007 02:53 AM|
|Slow Running MS SQL 2000 Server (Round 2)||albanello||Databases||23||04-03-2007 10:43 AM|
|Copy Data from SQL Server 2005 Express to Dsicount ASP SQl Server 2005||iwantioffer||ASP.NET Starter Kits||2||12-14-2005 09:45 AM|
|Running script from aspnet_regsql||donmiller714||ASP.NET 2.0||3||09-23-2005 03:45 AM|
|aspnet_regsql.exe sqlexportonly aspnetdb.mdf||clarkncc||ASP.NET 2.0||2||08-10-2005 02:57 AM|