Click here to Skip to main content
15,881,413 members
Home / Discussions / Web Development
   

Web Development

 
Questionwhatsup Money! Pin
Jassim Rahma5-Sep-11 1:43
Jassim Rahma5-Sep-11 1:43 
AnswerRe: whatsup Money! Pin
Dalek Dave15-Sep-11 21:12
professionalDalek Dave15-Sep-11 21:12 
QuestionDesign Problem in IE6 Pin
Ali Al Omairi(Abu AlHassan)5-Sep-11 1:26
professionalAli Al Omairi(Abu AlHassan)5-Sep-11 1:26 
AnswerRe: Design Problem in IE6 Pin
Morgs Morgan5-Sep-11 21:48
Morgs Morgan5-Sep-11 21:48 
GeneralRe: Design Problem in IE6 Pin
Ali Al Omairi(Abu AlHassan)6-Sep-11 1:26
professionalAli Al Omairi(Abu AlHassan)6-Sep-11 1:26 
GeneralRe: Design Problem in IE6 Pin
Morgs Morgan6-Sep-11 2:46
Morgs Morgan6-Sep-11 2:46 
GeneralRe: Design Problem in IE6 Pin
Ali Al Omairi(Abu AlHassan)6-Sep-11 3:20
professionalAli Al Omairi(Abu AlHassan)6-Sep-11 3:20 
GeneralRe: Design Problem in IE6 Pin
Keith Barrow6-Sep-11 8:18
professionalKeith Barrow6-Sep-11 8:18 
My e-mail said you left a message on my blog on CP asking for help, but it disappeared. Anyway Morgs Morgan is correct: you should use floats to arrange divs, or you'll find a world of pain. You need to decide whether you want a fixed or fluid layout, personally I think fixed is good. The following is the usual way to achieve a fixed layout:



XML
<html>
  <head>
  <style type="text/css">
    *
    {
        padding:0px;
        margin:0px;
    }

    body
    {
        background-color:gray;
    }

    div#container
    {
        width:640px;
    }

    div#header
    {
        background-color:blue;
        height:40px;
    }

    div#menu
    {
        background-color:red;
        float:left;
        height:400px;
        width:100px;
    }

    div#content
    {
        background-color:white;
        width:540px;
        float:left;
        height:400px;
    }

    .clear
    {
        clear:both;
    }
  </style>
  <head>
  <body>
    <div id="container" >
    <div id="header" >Header</div>
    <div id="menu" >Menu</div>
    <div id="content">Content </div>
    <div id="footer" class="clear" />
  </body>
</html>


I haven't tested the above in IE6, but it should work, that said IEn where n < 8 are so quirky there are lots of things that should work that don't. IIRC think the footer div needs to be expanded and a &nbsp;

GeneralRe: Design Problem in IE6 Pin
Ali Al Omairi(Abu AlHassan)7-Sep-11 1:19
professionalAli Al Omairi(Abu AlHassan)7-Sep-11 1:19 
GeneralRe: Design Problem in IE6 Pin
Ali Al Omairi(Abu AlHassan)2-Nov-11 3:30
professionalAli Al Omairi(Abu AlHassan)2-Nov-11 3:30 
GeneralRe: Design Problem in IE6 Pin
Morgs Morgan3-Nov-11 0:05
Morgs Morgan3-Nov-11 0:05 
GeneralRe: Design Problem in IE6 Pin
Ali Al Omairi(Abu AlHassan)5-Nov-11 10:48
professionalAli Al Omairi(Abu AlHassan)5-Nov-11 10:48 
AnswerRe: Design Problem in IE6 Pin
pankajsinha2-Nov-11 1:36
pankajsinha2-Nov-11 1:36 
Questiondreamweaver cs4, Design view mode Pin
hrishi3213-Sep-11 19:43
hrishi3213-Sep-11 19:43 
QuestionApply css just in contentpage Pin
Elham M24-Aug-11 21:48
Elham M24-Aug-11 21:48 
AnswerRe: Apply css just in contentpage Pin
Morgs Morgan30-Aug-11 21:18
Morgs Morgan30-Aug-11 21:18 
GeneralRe: Apply css just in contentpage Pin
Elham M3-Sep-11 1:58
Elham M3-Sep-11 1:58 
AnswerRe: Apply css just in contentpage Pin
apadana_198920-Oct-11 10:14
apadana_198920-Oct-11 10:14 
GeneralRe: Apply css just in contentpage Pin
Elham M24-Oct-11 20:08
Elham M24-Oct-11 20:08 
AnswerRe: Apply css just in contentpage Pin
apadana_198926-Oct-11 0:02
apadana_198926-Oct-11 0:02 
GeneralRe: Apply css just in contentpage Pin
Elham M26-Oct-11 3:16
Elham M26-Oct-11 3:16 
AnswerRe: Apply css just in contentpage Pin
apadana_198926-Oct-11 6:49
apadana_198926-Oct-11 6:49 
GeneralDOCTYPE fixes intermittent problem with :hover implementing drop down menu in IE (after 8 hours hunting!) Pin
StarNamer@work24-Aug-11 7:33
professionalStarNamer@work24-Aug-11 7:33 
GeneralRe: DOCTYPE fixes intermittent problem with :hover implementing drop down menu in IE (after 8 hours hunting!) Pin
Peter_in_278029-Aug-11 18:18
professionalPeter_in_278029-Aug-11 18:18 
GeneralRe: DOCTYPE fixes intermittent problem with :hover implementing drop down menu in IE (after 8 hours hunting!) Pin
StarNamer@work29-Aug-11 22:33
professionalStarNamer@work29-Aug-11 22:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.