Re: 2 divs on same line

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



For years I have not been able to understand what's wrong with table layout.
May be because I am an application developer as opposed to a web designer.
Tables let your make a simple and neat layout and concentrate on your
application tasks. I guess web designers can achieve more with tableless
css. I prefer to leave it up to them. As far as I, the developer, am
concerned there is no reason to avoid tables.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Daniel" <DanielV@xxxxxxxxxxxxxxxx> wrote in message
news:uBG9vW7PHHA.4484@xxxxxxxxxxxxxxxxxxxxxxx
Not looking to impress anyone but i am looking to do things in the
considered 'right way' and stay on top of the present best methods and
techniques.

Thanks for all the help guys.



"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@xxxxxxxxxxxx> wrote in
message news:Og60yS7PHHA.3268@xxxxxxxxxxxxxxxxxxxxxxx
If you want to impress someone by having a table-less css layout, be
prepare to spend next few days on learning and practicing.

If you want a simple and reliable solution, use tables.

And yes, by default a div will render on a separate line.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Daniel" <DanielV@xxxxxxxxxxxxxxxx> wrote in message
news:%23QoWSH7PHHA.3624@xxxxxxxxxxxxxxxxxxxxxxx
Hi

i have a requirement for the following layout in my masterpage:

1 div for header
1 div for footer

Between those divs i want a div for the left menu, then a div for the
content in the center, then inside each i will place a content holder
for other pages to inherit off

My problem is a div creates a new line? And everyone says not to use
tables anymore, so how do you get that look with css?

Thanks







.



Relevant Pages

  • Re: 2 divs on same line
    ... I am a developer primarily, not a web designer but i am able to do both. ... Tables let your make a simple and neat layout and concentrate on ... by default a div will render on a separate line. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: equal height floated columns
    ... That limits your options to about nil as ABS positioning is the only CSS ... method that can be considered as suitable for creating a layout that is ... definitely need to have a DIV and float structure. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Filling remainder of height
    ... Using tables for layout, while frowned upon by some, isn't ... regardless of whether the bulk of yours use old browsers or not. ... can be added to a DIV tag that can't be added to a table, ...
    (alt.html)
  • Re: 2 divs on same line
    ... Tables (when used as a way to perform the overall layout) are quite rigid ... design your prefer... ... Software Developer & Consultant ... by default a div will render on a separate line. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Beginner converting from tables -- probably very simple answer
    ... I have a simple, standard two column layout: ... Does the image needs it's own div? ... Or assign it an absolute position relative to ...
    (comp.infosystems.www.authoring.stylesheets)