Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    76
    Member #
    4909
    Ok I am trying to do this with DIVs and CSS positioning. I can get the top DIV and bottom DIV to center. The problem is that I can't get 2 DIVs to sit side by side under the main DIV at the top like in the example on my old site, I did that with tables but have since learned better.

  2.  

  3. #2
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    use float, set both divs CSS to "float:left"

  4. #3
    Member
    Join Date
    Feb 2004
    Posts
    76
    Member #
    4909
    Can you please explain in more detail? I'm still kinda new to CSS positioning. If it helps I'm using <a href="http://bluerobot.com/web/css/center1.html">this</a> method to center the DIVs.

  5. #4
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    Tell us the URL of the page so I can explain it better

  6. #5
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Location
    USA
    Posts
    1,263
    Member #
    3828
    Liked
    6 times
    First:
    This forum does not render html. However, you can use VBBcode.
    HTML Code:
    [url="http://www.xvi32.cjb.net/"]link[/url]
    Second:
    There is a number of ways you could achive this. One thing for sure they all would be much easier then the table based one you have now.

    One would involve a main div centered that houses the rest of the site, One div at the top(no special formatting to position). and two floated to the left with their widths set to some value. Then one to the right set to scroll:auto that is also floated to the right with a set width. I dont have alot of time at the moment, but later tonight(if it hasn't been answered) I will go into more detail. The css involved really is not difficult, even for a beginner, so dont worry.


  7. #6
    Member
    Join Date
    Feb 2004
    Posts
    76
    Member #
    4909
    Cheers glyakk a bit more detail would be good thanks I'm still trying to get my head around it.

  8. #7
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    Upload the file your host and give us the URL so we can give a better example of it

  9. #8
    Member
    Join Date
    Feb 2004
    Posts
    76
    Member #
    4909
    xarst, I have given a link to my old layout, what I want to do with CSS if thats what you are asking. I posted it in my first post. Otherwise I have no idea what you are on about...


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:43 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com