Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design 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 1st, 2004, 03:03 PM
landonab landonab is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 6 landonab User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problems with controlling position of div's

I am working with div's and am having problems with positioning them. I have attached a sample html and css file if anyone would have time to look and straighten me out. As you will notice, 2 of the div's are not even visible as they are being covered by another div.

I want the page centered and able to work in different resolutions. I can't seem to figure out how to do this without using percentages. I want the divs to touch rather than be spread out on the page. An example of this is here.

As you see, the main part of the site stays centered. I looked at the sample CSS for the site however, I do not see the controls that are needed to accomplish this.

If anyone can help, I'd appreciate it.

Regards.
Attached Files
File Type: zip html&css.zip (1.0 KB, 241 views)

Reply With Quote
  #2  
Old November 1st, 2004, 03:33 PM
landonab landonab is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 6 landonab User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ah, I figured it out. Well, at least I made it work. If anyone is wondering how I have added the new css file to this response.

However, even though it "works", I would still appreciate comments if there is a better way. I added margin-left: 150px to the main content div which moved it off the others. I also changed the main containers css.
Attached Files
File Type: zip html&css_correct.zip (1.1 KB, 222 views)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Problems with controlling position of div's


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT