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 with 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 04-10-2005, 12:30 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 63
Bryan792 is an unknown quantity at this point
 



help with divs


how do i make the code to first of all put two divs side by side with a width of 50 percent each and then in the center , but not in between...so like on top of them, put another div with wodth 768px

THANKS

oh and make all three the same height
Bryan792 is offline  
Old 04-10-2005, 04:40 PM THREAD STARTER               #2 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 63
Bryan792 is an unknown quantity at this point
 



... does anyone know?
Bryan792 is offline  
Old 04-10-2005, 04:45 PM   #3 (permalink)
NamePros Regular
 
Nitroshock's Avatar
Join Date: Mar 2005
Posts: 503
Nitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to behold
 


Child Abuse Third World Education
You can look into the z-index property of CSS. Z-index allows you to position your elements on top of each other. So you would be able to throw the larger DIV on top of the two smaller DIVs. Not sure if this is what you're looking for.

-Nitro
__________________
Bored? Play FREE Games
Nitroshock is offline  
Old 04-10-2005, 07:04 PM THREAD STARTER               #4 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 63
Bryan792 is an unknown quantity at this point
 



its not that...
its i dont know how to put 1 div on top of two other divs and not on top of just 1
i want the large div to always be in the center and i want the 2 below it to always fit the whole page...so a width of 50 percent...
Bryan792 is offline  
Old 04-10-2005, 10:39 PM THREAD STARTER               #5 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 63
Bryan792 is an unknown quantity at this point
 



so it mite look like

by the colors:

[ [ ] [ ] ]

the red is on top of the other two
and is in the center
Last edited by Bryan792; 04-10-2005 at 10:45 PM.
Bryan792 is offline  
Old 04-11-2005, 07:59 PM THREAD STARTER               #6 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 63
Bryan792 is an unknown quantity at this point
 



???
Bryan792 is offline  
Old 04-26-2005, 11:27 PM   #7 (permalink)
Account Suspended
Join Date: Apr 2005
Posts: 27
genious is an unknown quantity at this point
 



<div style="Z-index:3;768">
<div style="width:50%;height:100;></div>
<div style="width:50%;height:100;></div>
</div>

if you want to center this you could use the <center></center>

I hope that has been helpfull in any way let me know if you need any more help
genious is offline  
Old 04-30-2005, 09:20 AM   #8 (permalink)
New Member
Join Date: Apr 2005
Location: Sydney Australia
Posts: 12
rimian is an unknown quantity at this point
 



those two div tags will end up below each other. they won't end up the same height unless you tell them to be 100% of something. if you're making two columns use a table. that's what they're designed for. i know they are unfashionalble at the moment but they'll make a comeback.
__________________
Web Developer
rimian is offline  
Old 08-21-2005, 06:19 AM   #9 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV
<table cellpadding="0" cellspacing="0" border="0">
<td><div style="width:50%;height:100;></div> </td>
<td><div style="width:50%;height:100;></div></td>
</table>
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tables or Divs Jamison54 Web Design Discussion 7 01-30-2005 12:01 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:19 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