Viewing 9 replies - 1 through 9 (of 9 total)
  • Here’s what you can do:

    Float the divs by adding float: right; to the CSS under #calendar and #menu.

    Remove the absolute positioning of the calendar and menu by deleting positon: absolute; and any other positional settings, like top: 96px; and so on.

    Then, in order to put something under the calendar, make sure it occurs in your index.php file AFTER the code for the calendar.

    Moderator James Huff

    (@macmanx)

    [Edit] NM is right…

    Macmanx,

    S/he has absolute positioning of divs in there, so s/he will have to mess with the CSS.

    Moderator James Huff

    (@macmanx)

    Sorry, thanks for pointing that out. ??

    Thread Starter fliteskates

    (@fliteskates)

    Im a he ??

    Anyway I have added my form to the left side (easier this way)

    https://www.freeclassifiedlinks.com/wordpress/index.php

    However, it doesn’t seem to be centered in Netscape, only in Explorer.

    How would I center my form for both browsers?

    Also, whenever I add something under the <div id=”menu”> should I also be making changes in the css?

    Ie if I want to add text or something.

    Thx

    Only make changes to the CSS if you want the presentational styling or structure to be different.

    One possible solution to your centering issue is to add position: relative; to the RAP div in the CSS file.

    Thread Starter fliteskates

    (@fliteskates)

    Thx Moose
    I just used the <center> tag and it worked

    I am almost finished with my blog now, I just need to know one last thing:

    How do I add a menu just below my header?

    What code would I use? I can work from a generic menu and add my hyperlinks to it later.

    Where would I place the code in the index file, and where would I place it in the css file?

    Fliteskates,

    Do you mean like a horizontal navigation menu? If that’s what you are after, then you would likely just use an unordered list and use display: inline; in your CSS.

    I think there is lots of info about this around, but I’ll wait to have you confirm that this is what you want before I go hunting.

    Alistapart.com, positioniseverything.net, communitymx.com all have stuff on those sites about horizontal menus. Google it and you will find lots of info.

    You can put the CSS anywhere in the CSS file. Sometimes there are inheritance issues with CSS, but for the most part, anywhere is fine.

    Thread Starter fliteskates

    (@fliteskates)

    Moose,

    I want a menu like you see here:

    https://photomatt.net/scripts/intellimenu

    I tried following the directions here:

    https://fernando.dubtribe.com/archives/2004/10/12/adding-a-pure-css-menu

    However the menu wasn’t being aligned correctly.

    Using the code on that page, where exactly should I put the index code and the css code?

    Thx

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Layout problem’ is closed to new replies.