HELP . CSS centering . search + menu . HELP

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default HELP . CSS centering . search + menu . HELP

    my regards to all here in these dreamweaver forums . . . . . . . . . . . . . .
    .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A CALL
    FOR HELP_ . . . . . . . . . . . . . . . . . . . i've been in a heated battle
    for the past week with this formidable foe CSS . i've got him on the ropes
    right now and i need that extra bit of info to finish that knockout layout.
    so, to all the CSS veteran pros, see if you can't lend some of your expertise
    on these following questions : FIRST . i'd like to use
    [url]http://nontype.com/type.htm[/url] in that example i used ABSOLUTE POSITIONING to
    center the content and it's relative right-side column as best i could, but
    HOW CAN I CENTER RELATIVE to the users screen resolution rather than being
    pixel dependent ? ? ? any info any suggestions . . . . . . . . . . . . . . .
    .. . all help is much appreciated . my thanks in advance . hold me down .
    aerosyn.lex.m HOLLA

    aerolex Guest

  2. Similar Questions and Discussions

    1. centering text?
      I made a new website. And I want the text centered on the top of the content box. Now the content box has an image so I have it set to <td...
    2. Centering Page...Someone PLEASE help me!
      Pages like macromedia.com, yahoo.com, sports.yahoo.com, etc. are automatically centered in a web browser....or pages like MLB.com are fit to take up...
    3. Help!! Centering Problem!
      Site has been setup to center itself within browser window. However, QT video clips embedded in a layer and one other layer will not center...
    4. Centering a layer
      Can somone tell me how I can center a layer. I tried using align="center" but that didn't work.
    5. Centering
      In Publisher 2000, centering a title or headline between text that is full justified or left justified results in a bunch of extra space above and...
  3. #2

    Default Re: HELP . CSS centering . search + menu . HELP

    with regards to you first question

    the way they have done it is using a CGI script which is server based, more
    than likely came with the hosting set up.

    it's easy to build the drop menu, called a (jump-menu). dreamweaver has this
    facility built in. You can access it in the Forms tab.

    add a few Labels, give them pages to jump to, click the 'Add Go' button i
    think its called, and voila u have a javascript jump menu.
    --------
    your second question

    centering in css doesnt require values.
    you can center content using the folowing method.

    margin-left: auto;
    margin-right: auto;

    Regards,
    Dave Thomas
    DMX Zone Manager
    [url]www.dmxzone.com[/url]


    UltraDav Guest

  4. #3

    Default Re: HELP . CSS centering . search + menu . HELP

    ULTRADAV . ultrahelp .

    your professional assistance is much appreciated . my sincerest thanks


    ..
    ..


    holla
    aerolex Guest

  5. #4

    Default Re: HELP . CSS centering . search + menu . HELP

    Might i ask in return . . . i've gone about trying to CENTER the #main-body
    DIV in my page by using the margin-left; auto margin-right;auto but the
    reaction of the layout was to align itself to the left edge of the browser page
    .. what can i do to truly center this ? and i also have TWO NAVBAR
    components to worry about ; what can i do to place them in relation to the
    #main-body element . rather than giving them a absolute position ? ? ? , , ,
    thanks in advance lex

    aerolex Guest

  6. #5

    Default Re: HELP . CSS centering . search + menu . HELP

    post ya css code up.

    with centering i will usually, create one div to wrap everything.

    my bad for the above, the css i gave is true although it also relies on other
    elements such as

    body{
    text-align: center;
    }
    using this in conjunction with the margin-left/right:auto; will place your
    divs correctly.

    i personally use the other method offered, as i like to define a width for my
    holder div, which goes like

    #holder{
    width: 800px;
    left: 50%
    margin-left: -400px;
    }

    above is the very basics of the css needed, setting the div 50% left of the
    page and then giving a negative left margin of half the overall width,
    gaurantees it centers properly.

    Regards,
    Dave Thomas
    DMX Zone Manager
    [url]www.dmxzone.com[/url]

    UltraDav Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139