Jump to content

Recommended Posts

I think you need to make that left div to float:left;

then another div for the content. and put those divs inside a div that stays below the top div.

 

<div top>

</div>

< div middle>

  <div left> <--- float this to left

  </div

  <div content> <---- you can float this left too.

  </div>

</div>

<bottem>

</div>

Link to comment
https://forums.phpfreaks.com/topic/202388-menu-box-and-css/#findComment-1061176
Share on other sites

so, i want to create a menu box

using 3 slices(top, left side and bottom) of image for a website

and inside there will be content

it's controlled by CSS

i did one but the side image shifts as i insert content in another div:

http://i49.tinypic.com/2psrlt3.jpg

 

use div inside div?

Link to comment
https://forums.phpfreaks.com/topic/202388-menu-box-and-css/#findComment-1061296
Share on other sites

I think you need to make that left div to float:left;

then another div for the content. and put those divs inside a div that stays below the top div.

 

<div top>

</div>

< div middle>

  <div left> <--- float this to left

  </div

  <div content> <---- you can float this left too.

  </div>

</div>

<bottem>

</div>

i did the same thing but didn't include float in the CSS

will see the output and reply

thank u for ur reply

Link to comment
https://forums.phpfreaks.com/topic/202388-menu-box-and-css/#findComment-1061484
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.