Re: Master pages - organising layout - contentplaceholder confusion



The master page has content holders <asp:ContentHolder>. The page itself has
<asp:Content>. What you decide to put in the content tags is your own
decision. I have seen people put tables directly or even use Panels, which
render as <SPAN> tags. This example, amitedly older, uses a table:
http://msdn2.microsoft.com/en-us/library/zhhddkxy.aspx

Admitedly an older article, but it should still work.

The DIV, to me, is the most useful if you are using CSS, which you should be
as it allows you to change things without major editing. If you want to
organize with tables, instead, it is an option, but it locks up your display
and forces a complete redesign to change things. If you want to see the
value of DIVs with CSS, check out:
http://www.csszengarden.com/

Look at the HTML and CSS file separately and you will see the entire layout
is done with CSS. The downside is you may end up with a mixed bag, as your
master page is probably built with tables and your content with CSS, which
can be confusing. :-)

I generally design my sites with PhotoShop (or another graphics program -
Expression Graphic Designer, in beta, is free for now; Paint.NET is also
free, but has fewer options and is difficult for me as a design tool.) I
then lay out a complete page, including common elements, using CSS (static
version). I then apply the common elements to a master page (DWT in non
ASP.NET 2.0 sites) and the rest to content areas. It works rather nicely.

You have to decide how much time you wish to invest in learning these
skills.

Short story: Put what you want in the content tag, but the DIV is a good
container object, esp. if you use CSS.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"kd" <kdfake@xxxxxxxx> wrote in message
news:447f972d$0$12313$ec3e2dad@xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks!

What else can i use besides DIV?




--
--------------------------------- --- -- -
Posted with NewsLeecher v3.5 Final
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -



.



Relevant Pages

  • Re: master page issue
    ... on the pages causing problem. ... If you want to go the CSS route, it is easier if everything is in DIV tags, but a mixture of tables and CSS is not a bad thing. ... I'm using a table in my master page and i checked and double checked the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Redifine tag.
    ... I can set the CSSClass of the Asp.Net control to "MyClass" in my CSS ... When the HTML code is generated by Asp.Net Framework MyClass is added ... The tags inside that div, ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Master pages - organising layout - contentplaceholder confusion
    ... What you decide to put in the content tags is your own ... The DIV, to me, is the most useful if you are using CSS, which you should ... I generally design my sites with PhotoShop (or another graphics program - ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: posting variables to parent frame
    ... One should always double check their memory before posting, ... Use css <div> tags instead. ...
    (php.general)
  • Re: Redifine tag.
    ... I can set the CSSClass of the Asp.Net control to "MyClass" in my CSS ... The tags inside that div, ...
    (comp.infosystems.www.authoring.stylesheets)