Re: 2 divs on same line

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

  • 2 divs on same line
    ... i have a requirement for the following layout in my masterpage: ... div for header ... div for footer ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HTML on Firefox 2
    ... Thank you for the explanation about children and parents elemtens. ... Following your suggestion I've managed to get the parent div "main" to ... I've added the menu and the header picture now, but I would like the 3 ... sort of thing with pictured text, the text gets the jaggies even ...
    (alt.html)
  • Re: Numeric character references in generated content
    ... the bottom of the page. ... Better would be to have two divs, one as header and one as footer. ... Include your h1 page title and navigation in the header; ... then a header div makes sense. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Using CSS to Create a Bank Statement
    ... This section identifies the header section, ... because the "mid" div tag contains a graphic and no text will hang ... the Y axis depending on who the customer is. ... any input would be fine or some css that will acomplish this. ...
    (alt.html)
  • Re: Help needed with minor CSS layout problems
    ... and setting margin and padding properties for "body". ... I am still trying to find a way to make the white text in the header ... The non-positioned image on the left sets the min height of the containing DIV 'header', by setting vertical-align: middle to that element means that the follow text will vertical aligned with that image regardless of the size of the text and with respect to the DIV 'header' unless a wrap occurs. ...
    (alt.html)