www.webdeveloper.com
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    65

    Span tag spooks in my design

    If i delete the span tag wich is some were near line 137 on my site: http://www.testzone.se/demo
    The bottom of the inner border will disappear, wery strange i think, that an unclosed span tag does that :S
    This is the tag in html: <span class="searchboxcontent">
    And defined in my .css: .searchboxcontent {
    padding: 10px 0 0 0;}

    If i delete the line that defines it in the css file the same thing happens as if i removes the span tag.

    Does anyone have a clue why this is?
    Last edited by alxla; 01-01-2007 at 07:35 PM.

  2. #2
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    First fix the validation errors specifically all the "id"
    Line 98 column 12: ID "NEWSCONTAINER" already defined.
    Line 99 column 12: ID "NEWSHEAD" already defined.
    Line 101 column 13: ID "NEWSTITLE" already defined.
    etc etc
    The answer to all these questions is Google.
    Give your thread a useful title | Webdeveloper.com Acceptable Use Policy
    Something wrong with your code? Validate first! |

    No Australian Net Censorship! The Australian government is wanting to follow in China's footsteps and "provide" nationwide Internet censorship, don't let them!

  3. #3
    Join Date
    Dec 2006
    Posts
    65
    Ok, I know there is "some" things with my code that i should fix, but does that affect that the span tag spooks?

    EDIT: Fixed the id's now anyway
    Last edited by alxla; 01-01-2007 at 07:57 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

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
HTML5 Development Center



Recent Articles