Re: 2 divs on same line

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Tables won't be deprecated.

Tables (when used as a way to perform the overall layout) are quite rigid
and generally obscurs a bit the HTML source for the document.
Divs are likely more difficult to get right but you can change easily the
position without changing the HTML structure.

You'll see numerous discussions abotu their respective avantage/disavantage.

My intention is not to start yet another useless discussion. Just pick the
design your prefer...

---
Patrice

"Daniel" <DanielV@xxxxxxxxxxxxxxxx> a écrit dans le message de news:
e1uJkj7PHHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
I am a developer primarily, not a web designer but i am able to do both. I
agree i did all previous sites with table designs and it does seem the new
'best way' changes all the time. But for fear of a new 'All improved IE!'
being released that depricates tables in some form i want to ensure i am
always on the latest techniques because you just never know what the future
holds.




"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@xxxxxxxxxxxx> wrote in
message news:uWySVg7PHHA.4156@xxxxxxxxxxxxxxxxxxxxxxx
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: Choosing Layout: Css-Layout or Table-Layout
    ... hence I can be a lot more productive using DIV ... elements easier and to allow you to easily design your site with ... In my humble opinion - CSS/Divs are the correct technology for page layout ... Tables are the correct technology for listing tabular data. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: CSS Positioning in FP2003
    ... That's why you will find that unless the user indicates some level of understanding of html/css and cross browser design, ... It is not necessary to use tables as a layout tool ... | in most cases now that CSS positioning is as well supported as it is. ... |>> You need to set up a "shell" div to contain everything. ...
    (microsoft.public.frontpage.programming)
  • Re: padding/margin doesnt work...:o
    ... Why doesn't adjusting padding and margins on the 'yellow' text box seem to have any effect? ... Because the resulting effects are hidden by the floated-left column. ... You can deduce that what you see are NOT the corners of the center div. ... At this point we enter an area of much philosophical debate: fixed vs. flexible design. ...
    (comp.infosystems.www.authoring.stylesheets)
  • 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: text between two images, floats the best?
    ... based layout to CSS. ... I took the out of the div ... appearance of centredness if you have enough text. ... *much* bigger right padding and the right a much bigger left ...
    (comp.infosystems.www.authoring.html)