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 > Website Development
Reload this Page DIV positioning

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 06-11-2005, 10:46 AM THREAD STARTER               #1 (permalink)
Account Suspended
Join Date: Jun 2005
Posts: 17
tsalexey544 is an unknown quantity at this point
 



DIV positioning


DIV positioning

--------------------------------------------------------------------------------

I've got a div with a colored background and a fixed width and I'm trying to get it centered on the page. However the align property in the div tag doesn't work if I'm using an ID. I've gotten the alignment to work with nesting but then the width of the box gets disregarded. Basically what I want is, say, a 200px wide box with an ID centered on the screen. Any help would be greatly appreciated. I hope I've explained this well enough for someone to understand what I'm asking
tsalexey544 is offline  
Old 06-11-2005, 06:05 PM   #2 (permalink)
NamePros Regular
Join Date: Oct 2003
Location: Sweden
Posts: 395
cerebus has a spectacular aura aboutcerebus has a spectacular aura about
 


Animal Rescue Wildlife Animal Cruelty
I believe this text answers your question. Let me know if it doesn't.
cerebus is offline  
Old 06-11-2005, 06:16 PM   #3 (permalink)
Senior Member
Join Date: Mar 2005
Location: canada
Posts: 1,045
skrilla is just really niceskrilla is just really niceskrilla is just really niceskrilla is just really niceskrilla is just really niceskrilla is just really niceskrilla is just really niceskrilla is just really nice
 


Protect Our Planet Child Abuse
you can also use...............
<div id="id" style="position:absolute; width:200px; height:24px; z-index:1;
<p>
your text
</p>
</div>

this will allow you to position your div anywhere on your page that you like.
__________________
Add Me to G+
skrilla 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
Floating div problem tha_Gsheep Programming 0 06-06-2005 08:36 PM
CSS positioning issue... TouCHiNG_CLoTH Web Design Discussion 4 05-03-2005 07:16 PM
Problem with firefox display - div width volos Web Design Discussion 3 02-03-2005 10:10 AM
div positioning + css + IE problem? countcobolt Programming 0 12-22-2004 07:55 AM
div height problem tot Programming 2 05-12-2004 07:50 AM

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