Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2009
    Posts
    23
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Exclamation Div Tags Problem

    hello please solve this problem in my website i am getting ... what to change in css file so that my webpage works fine

    the link to website

    http://www.ims-sc.org

    the link to css file
    http://www.ims-sc.org/default.css

    spacing problem and aligning all stuff to center problem and the div tags seems to be not in its right postions please help me as soon as possibel.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello khushal_kkk,
    Did something happen to make it like that or did you build it that way and just now discovered it?
    It was a #wrap that contains the whole site but is not being styled. If you make that position:relative; and adjust the left:xxx; setting for all of you absolute positioned elements, it should be fine.
    I gave you a start with the bits highlighted in red -
    Code:
    <!--
    #wrap {
    width: 959px;
    position: relative;
    margin: 0 auto;
    }.style15 {	color: #FFFFFF;
    	font-weight: bold;
    }
    .style16 {color: #000000}
    #apDiv {
    	position:absolute;
    	left:1016px;
    	top:332px;
    	width:159px;
    	height:28px;
    	z-index:17;
    }
    #apDiv2 {
    	position:absolute;
    	left:383x;
    	top:605px;
    	width:630px;
    	height:119px;
    	z-index:2;
    }
    #apDiv35 {
    	position:absolute;
    	left:0px;
    	top:92px;
    	width:961px;
    	height:52px;
    	z-index:23;
    }
    .style7 {	font-size: 36px;
    	color: #000000;
    }
    #apDiv18 {
    Have a look at this site that shows the pitfalls of absolute positioning.


    .
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    New Coder
    Join Date
    Aug 2009
    Posts
    23
    Thanks
    7
    Thanked 0 Times in 0 Posts
    my problem wos solved thank you ... please go through the page and tell me if i can improve my index page will be waiting for the sugesstions to improve the web page attractiveness ... Regards

    http://www.ims-sc.org
    Last edited by khushal_kkk; 11-24-2009 at 06:08 PM.


  •  

    Posting Permissions

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