NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page help me please with some css divs

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 12-19-2006, 04:37 PM THREAD STARTER               #1 (permalink)
NamePros Regular
 
asgsoft's Avatar
Join Date: Sep 2005
Location: At Home
Posts: 881
asgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of light
 



help me please with some css divs


Hello

Please have a look at this template: http://www.solucija.com/templates/demo/Internet_Market/

you can download it here: http://www.solucija.com/templates/do...net_Market.zip

(It's all legal check http://www.solucija.com/home/css-templates/)

How can I make it 4 boxes accross the middle section one next to the other?

Thanks
asgsoft is offline  
Old 12-19-2006, 04:43 PM   #2 (permalink)
NamePros Member
Join Date: Dec 2006
Posts: 97
missemmawatson is an unknown quantity at this point
 



where?
missemmawatson is offline  
Old 12-19-2006, 05:22 PM   #3 (permalink)
Gaz
NamePros Member
Join Date: Dec 2006
Location: Plymouth
Posts: 27
Gaz is an unknown quantity at this point
 



Code:
<div id="content" style="width: 800px;">
<div id="leftcol" style="width: 100px; padding: 0; margin: 0; float: left;">
content goes here
</div>
<div id="maincol" style="width: 400px; padding: 0; margin: 0; float: left;">
Content goes here
</div>
<div id="seccol" style="width: 200px; padding: 0; margin: 0; float: left;">
secondary content goes here
</div>
<div id="rightcol" style="width: 100px; padding: 0; margin: 0; float: left;">
content goes here
</div>
</div>
That above code will work, the total width of the 4 columns can't excided the width of the content div. if it does, the #rightcol will be pushed down.
Gaz is offline  
Old 12-20-2006, 07:53 AM THREAD STARTER               #4 (permalink)
NamePros Regular
 
asgsoft's Avatar
Join Date: Sep 2005
Location: At Home
Posts: 881
asgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of lightasgsoft is a glorious beacon of light
 



if you download the above template, how can i get 4 boxes next to each other?

here is the css file I am using:

http://www.solucija.com/templates/de...ages/style.css

and here is the code i have:

HTML Code:
<body>
	<div class="content">
		
		
  <div class="header"></div>
		<div class="header_top"></div>
		
		<div class="left">
<div class="left_side">
				<div class="box_top"><h2>Box 1</h2></div>	
				<div class="box"><p>Box cont</p></div>
				<div class="box_bottom"></div>
      
	  <div class="box_top"><h2>Box 2</h2></div>	
      <div class="box"> Box cont</div>
	  <div class="box_bottom"></div>
</div>
			
<div class="right_side">
      <div class="box_top"><h2>Box 3</h2></div> 
      <div class="box"><p>Box cont<br /></p></div> 
	  <div class="box_bottom"></div>
      
  <div class="box_top"><h2>Box 4</h2></div> 
  <div class="box"><p>Box cont<br /></p></div> 
  <div class="box_bottom"></div>      
			</div>
		</div>
			
<div class="right">
 <div class="left_side">
 
		<div class="box_top"><h2>Box 5</h2></div>
        <div class="box"><p>Box cont</p></div>
		<div class="box_bottom"></div>		
      	
		<div class="box_top"><h2>Box 6</h2></div>		
        <div class="box"> Box cont</div>
	    <div class="box_bottom"></div>
 </div>
			
 <div class="right_side">
      <div class="box_top"><h2>Box 7</h2></div> 
      <div class="box"><p>Box cont<br /></p></div> 
	  <div class="box_bottom"></div>  
      
      <div class="box_top"><h2>Box 8</h2></div> 
      <div class="box"><p>Box cont<br /></p></div> 
      <div class="box_bottom"></div> 
  
 </div>

</div>
		
  <div class="header_bottom"></div>

</body>
Last edited by asgsoft; 12-20-2006 at 08:24 AM.
asgsoft is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:55 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger