Re: Master Pages: Why is all of my content centered?
- From: "Alexey Smirnov" <alexey.smirnov@xxxxxxxxx>
- Date: 26 Jan 2007 18:49:41 -0800
Look at this
<td width="20%" colSpan="3" style="height: 14px"></td>
</tr>
<tr>
<td vAlign="top" align="center" width="95%">
<asp:loginview runat="server"
id="LoginView1"><LoggedInTemplate>
<!-- BEGIN CONTENT AREA -->
<TABLE id="Table9" height=25
cellSpacing=0 cellPadding=0 width="75%" border=0
20%+95%+.....{...} = ?
Try to correct %% manually, or resize that part in IDE. Maybe the
problem is here...
On Jan 27, 2:51 am, Peter Bromberg [C# MVP]
<pbromb...@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
A MasterPage is essentially just another control, that merges into the Page
that uses it. So if you View Source on your generated pages, you'll be able
to see the markup that is making it "centered". It's all HTML and CSS, all
you need to do is find it and fix it, the Master probably has little to do
with the issue.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"TheLongshot" wrote:
I just recently converted a few pages of my application to using master
pages. Problem is, in all of my content pages, the contents are
centered. I can't figure out why. The markup in the content page
seems to ignore any attempts to manually align right. So what's the
deal?- Hide quoted text -- Show quoted text -
.
- References:
- Master Pages: Why is all of my content centered?
- From: TheLongshot
- Master Pages: Why is all of my content centered?
- Prev by Date: Re: can i change the size of a file dynamically
- Next by Date: Re: Error executing version of Net Framework
- Previous by thread: Re: Master Pages: Why is all of my content centered?
- Next by thread: where can I get some cool code type questions for c#, asp.net and SQL
- Index(es):