CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 17th, 2012, 04:04 PM
atta_akbar atta_akbar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 9 atta_akbar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 41 m 28 sec
Reputation Power: 0
Tow divs need to be float right

Hi guys, how are you all.
I need to float two divs on right side but below div of menu is not doing so while the other of phone number have floated.
Code:
<html>
	<head>
    	<title>
        	Get All Internet Services
        </title>
<style type="text/css" >
#container{/*container div*/
	margin:auto;
	border:solid black 1px;
	height:1280px;
	width:1024px;
	}
#header{/*container div, this div have phone div and menu div*/
	float:right;
	border:solid 1px;
	height:10%;
	width:100%
	}
	#headerimg{/*logo image div*/
		height:100%;
		width:17%;
		background:#0F6;
		border:1px solid;
		float:left;
		margin:0 0 0 0;
		}
#phonelinks{/*phone div in header div*/
	float:right;
	width:35%;
	height:20%;
	border:1px solid;
	margin:0 0 0 0; 
	}
#menu{/*this is manu div */
	height:25%;
	border:solid 1px;
	float:right;
	margin:0 0 0 50%;
	
	}	
#menu ul li{/* <ul> containing menu items*/
	color:#000;
	list-style:none;
	display:inline;
	}			
 </style>
    </head>
    <body>
    	<div id="container">
        	<div id="header">
            		<div id="headerimg">image
                    	<a href="#"><img src="#"/></a>
                    </div>
					<div id="phonelinks">
                    	phone number<!--phone div-->
                    </div>
                <div id="menu">
            		<ul><!--menu div-->
                		<li>HOME</li>|
                        <li>PORTFOLIO</li>|
                        <li>ABOUT</li>|
                        <li>BLOG</li>|
                        <li>CONTACT</li>|
                        <li>FEATURES</li>
                	</ul>
              	</div>
            
            </div>
		</div>
    </body>
</html>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Tow divs need to be float right

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap