Results 1 to 6 of 6

Thread: Having trouble with Div

  1. #1
    Join Date
    Mar 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Having trouble with Div

    my website is located at the following url -

    http://chrislflearning.x10.mx/Index.php

    Style.Css
    Code:
    @charset "utf-8";
    /* CSS Document */
    
    
    #header {
    	height:120px;
    	width:1000px;
    	margin-left:auto;
    	margin-right:auto;
    	}
    	
    	
    #content_wrap {
    	height:800px;
    	width:1000px;
    	margin-left:auto;
    	margin-right:auto;
    	margin-top:15px;
    	}
    	
    #left_content_top {
    	height:392.5px;
    	width:220px;
    	float:top-left;
    	background-color:#FFF;
    	margin-bottom:15px;
    	}
    	
    #left_content_bottom {
    	height:392.5px;
    	width:220px;
    	float:bottom-left;
    	background-color:#FFF;
    	}	
    	
    #right_content {
    	height:800px;
    	width:765px;
    	margin-left:15px;
    	float:right;
    	background-color:#FFF;
    	}
    The problem i have is that i can't get right_content back in place. The website was fine with no error's as i had it before i split up the left_content into left_content_top and left_content_bottom. I did all the calculation's and it's correct can someone help me out with the problem that is occurring?

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there Unruffled

    check out the attachment to see a simplified method of coding your page.

    coothead

  3. #3
    Join Date
    Mar 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the fix , but i have no idea how to edit that code in the future and i do not know how you got each text hyperlinked without me seeing it being sliced. May you give me a brief explanation?

  4. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there Unruffled,

    as you may gather from the code that I provided, image slicing is not often required in modern coding methodology.

    Further reading:-

    You should also note that the use of the "table element" for layout purposes is considered to be a twentieth century
    practice and should definitely be avoided.

    Further reading:-

    coothead

  5. #5
    Join Date
    May 2011
    Location
    SFBA, CA, USA
    Posts
    94
    Thanks
    6
    Thanked 7 Times in 7 Posts

    Default

    Quote Originally Posted by coothead View Post

    ...
    You should also note that the use of the "table element" for layout purposes is considered to be a twentieth century
    practice and should definitely be avoided.

    ...
    coothead
    The exception to this statement is when working with CMS such as Sharepoint or Wordpress or doing HTML Emails which, alas, are all total throw-backs to the '90s and still nested-table based.
    Disappointing, but very true.

    dbc

  6. #6
    Join Date
    Mar 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for the link's , looking into them now.

Bookmarks

Posting Permissions

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