Jump to content

Menu Box and CSS


nummer31

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.