Positon problem

This is a discussion on "Positon problem" within the Web Page Design section. This forum, and the thread "Positon problem are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Aug 13th, 2006, 18:25
Junior Member
Join Date: Nov 2005
Age: 55
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Positon problem

Hello
I try to convert my site http://www.easytraveller.gr using css and have a problem positioning 2 div one next to the other

I have 3 lines. In the first line the 2 div are ok
In the second and third line the 2 divs of each line are ok only in internet explorer but not in Firefox, Netscape and Opera
The css code :

#Midleft {
padding: 0px;
margin-left:5px;
clear: right;
height: 100px;
width: 550px;
position: inherit;
background-color: #33CCCC;
border: 1px solid #FFFFFF;
margin-top: 15px;
float: left;
display: inline;
}
#Midright {
padding: 0px;
margin-right:5px;
clear: left;
float: right;
height: 100px;
width: 190px;
border: 1px solid #FFFFFF;
position: relative;
background-color: #33CCCC;
font-size: 100%;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-top: 15px;
display: inline;
}

The html code is
<div id="Midleft"> <span class="style7">Select your accommodation:</span>
<p>
<ul>
<li><a href="#">Milk</a></li>
<li><a href="#">Eggs</a></li>
<li><a href="#">Cheese</a></li>
<li><a href="#">Vegetables</a></li>
<li><a href="#">Fruit</a></li>
<p>
<li><a href="#">Milk</a></li>
<li><a href="#">Eggs</a></li>
<li><a href="#">Cheese</a></li>
<li><a href="#">Vegetables</a></li>
<li><a href="#">Fruit</a></li>
</ul></div></li>
<div id="Midright"><h2>Plan your holidays</h2></div>
<div id="SpaceBox"></div>
<div class="clearit"></div>
<div id="Lowleft"><h2 align="center">Select your accommodation</h2></div>
<div id="Lowright"><h2 align="center">Plan your cruise</h2></div></li>
</ul>
<div id="Placeholder2"></div>
<div class="clearit"></div>
<div id="Placeholder2"></div>
<div class="clearit"></div>

Can any one check and tell me where is the mistake?
I tried all possible combinations of the position and display but no luck
Thanks
Tolis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 13th, 2006, 18:37
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,160
Blog Entries: 7
Thanks: 27
Thanked 20 Times in 17 Posts
Re: Positon problem

you need to use:-
float:left on the first block (Midleft).
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
positon, problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
First image problem and inline list problem konnor5092 Web Page Design 8 Dec 1st, 2007 09:08


All times are GMT. The time now is 11:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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