Hello and welcome to our community! Is this your first visit?
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
    Thanked 0 Times in 0 Posts

    Exclamation Urgent Help Required ...

    how to fix this visit the link below and help me how to remove the white line above the black sapcer ... i want to remove the white line when u scroll down the page there seems a white line before the black sapcer type ...

    this is the page where the error lies

    and css associated to it is

    please help me as soon as possible ....

  2. #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Thanked 1,874 Times in 1,858 Posts
    Hello khushal_kkk,
    I think you're seeing a default margin or padding. In a previous issue you posted about, someone suggested you use the CSS reset *{margin:0;padding:0;} and that applies here again. Have a look at this page for an explanation of that.

    Your layout depends heavily on absolute positioning. It's unfortunate that DW seems to direct new coders toward using ap, it's much easier to let elements flow naturally. Have a look at the pitfalls of absolute positioning.

    Some other things that have been suggested to you that you still apply.

    And, as I'm sure you'll find out ... you should not double post your questions here.
    1.2) Do not crosspost- CodingForums.com is divided into various categories. When initiating a thread, always locate the most appropriate category, and post your question only ONCE, in that category. Do not post the same question in multiple categories.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use a DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  3. #3
    Regular Coder
    Join Date
    Dec 2006
    In the wilderness
    Thanked 5 Times in 5 Posts
    After looking at the source code for your website Ive noticed a lot of table tag usage for layout purposes (for example the top navigation bar)

    tables are bad, bad, BAD for layout purposes, the navigation bar could easily be changed into an unordered list and styled with CSS. A lot less code and the page would load quicker (remember not everyone has super fast broadband). Also the navigation your mentioning could be done the same (unordered list) without all the need for div tags inside td tags. And you would probably be able to resolve this issue your having.

    Is this a pre made template your using by any chance?
    "The advantage of computers is that they do exactly what you tell them to do. The disadvantage of computers, on the other hand, is that they do exactly what you tell them to do."

    Excellent resource for learning PHP here


Posting Permissions

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