Click here to Skip to main content
16,004,727 members
Home / Discussions / Web Development
   

Web Development

 
Questionwhy wordpress is evil today or "has anyone else encountered this". Pin
CalvinHobbies6-Sep-11 0:03
CalvinHobbies6-Sep-11 0:03 
AnswerNice post Pin
Alberto Tompson15-Sep-11 20:08
Alberto Tompson15-Sep-11 20:08 
GeneralRe: Nice post Pin
CalvinHobbies18-Sep-11 23:37
CalvinHobbies18-Sep-11 23:37 
AnswerRe: why wordpress is evil today or "has anyone else encountered this". Pin
Dalek Dave25-Sep-11 22:09
professionalDalek Dave25-Sep-11 22:09 
QuestionDetermine provide by Message Center Pin
Jassim Rahma5-Sep-11 1:54
Jassim Rahma5-Sep-11 1:54 
AnswerRe: Determine provide by Message Center Pin
Dalek Dave25-Sep-11 22:08
professionalDalek Dave25-Sep-11 22:08 
Questionhow to protect my online database? Pin
Jassim Rahma5-Sep-11 1:49
Jassim Rahma5-Sep-11 1:49 
AnswerRe: how to protect my online database? Pin
Gerben Jongerius5-Sep-11 2:29
Gerben Jongerius5-Sep-11 2:29 
GeneralRe: how to protect my online database? Pin
HaBiX6-Oct-11 23:24
HaBiX6-Oct-11 23:24 
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 

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.