Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: CSS layer positioning question??

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    6

    CSS layer positioning question??

    http://www.wahta.com/contacts.htm

    I made the page above exclusively with css and wanted the mailing address section beside the first address section as shown. The problem is that I had to use a layer with absolute positioning to place this mailing address where I wanted it and now it will not become flexible and move according to page size. When I tried to design it with a seperate div tag it will only go underneath the first address and not beside it? How can I place it beside each other without using absolute positioning?

  2. #2
    Junior Member inkblot's Avatar
    Join Date
    Apr 2004
    Posts
    19
    Hi.

    I made a few change to your page to get the desired effect. First of all I added these definitions to the CSS:

    Code:
    #adressSection {}
    #adressSection #streetAddress {float: left; width: 200px;}
    #adressSection #mailingAddress {}
    
    #links {clear: left;}
    Then I changed the following sections in the HTML:
    Code:
    <div id="adressSection">
    	<div id="streetAddress">
    	<span class="bold">Wahta Mohawks</span>
    
    	Administration
    	building 
    
    	address:
    
    	2664 Muskoka Rd. 38 
    
    	Bala, 
    	Ontario, Canada.
    
    	E-Mail all general 
    
    	inquiries to:
    	</div>
    	
    	<div id="mailingAddress">
    	<span class="bold">Mailing Address:</span>
    
    	Wahta Mohawk Terrirory Box 260
    
    	Bala, ON 
    
    	P0C 1A0
    
    	
    
    	Phone 705-756-2354
    
    	Fax 705-756-2376
    	</div>
    </div>
    
    
    <div id="links">
      
    
     
    
      
    or click the appropriate dept:
    
      Blaine Commandant - Chief
    
      Administration - Karen Commandant
    
      Reception - Main office - Karen Sahanatien </p>
      
    
    </p>
    </div>
    This should work. If it doesn't make sense, let me know :)

    Note: be aware if you are copying and pasting, I omitted the email addresses from the above code.
    Inkblot
    D2 Digital Media

Similar Threads

  1. Question about positioning on google and multiple computers
    By J_Paul in forum Google Discussion Forum
    Replies: 17
    Last Post: 10-27-2007, 12:01 AM
  2. CSS Layer resize
    By jasonweb in forum Web Programming Discussion Forum
    Replies: 3
    Last Post: 06-07-2006, 04:50 PM
  3. Positioning Question
    By stevan in forum Google Discussion Forum
    Replies: 0
    Last Post: 01-01-2006, 10:23 AM
  4. Hidden layer
    By souvik das in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 05-24-2005, 11:14 PM
  5. Positioning a div layer
    By souvik das in forum Graphics & Design Discussion Forum
    Replies: 9
    Last Post: 04-20-2005, 08:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •