SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    King Quacker padster's Avatar
    Join Date
    May 2005
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    7 Small problems

    I have 7 problems and 1 main problem with my coding. As seen here http://www.webhostactive.co.uk/ the top right corner isn't where it should be and I cannot figure out why.

    Also there are some w3 validation errors that say div tags are not allowed there can anyone help me out? http://validator.w3.org/check?uri=ht...stactive.co.uk

    Thanks

  2. #2
    SitePoint Enthusiast Chip D's Avatar
    Join Date
    Nov 2000
    Location
    Ontario, Canada
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After a quick look, if you change your CSS file so that
    Code:
    #bit2 {
     background-image: url(http://www.webhostactive.co.uk/bit_06.png);
     position:absolute;
     height: 35px;
     width: 12px;
     }
    becomes...
    Code:
    #bit2 {
     background-image: url(http://www.webhostactive.co.uk/bit_06.png);
     float:right;
     margin:-35px 0 0 0;
     height: 35px;
     width: 12px;
     }
    it should correct the problem with the right hand curve not displaying properly.

    As for the validation errors, the problem is that you've got,
    Code:
    <table id="wrapper" align="center"> 
     <div id="floater" align="right">...
    where you need to have
    Code:
    <table id="wrapper" align="center"> 
     <tbody>
     <tr>
     <td>
     <div id="floater" align="right">...
    Also, table widths are automatically calculated in pixels so there is no need to specify the px as this will only throw up an error.

    Hope this helps,
    Chip D
    ----------------------------------------------------
    Chances are what I think I'm typing is nothing like what I type.

  3. #3
    King Quacker padster's Avatar
    Join Date
    May 2005
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks alot, the top corner image is fixed I couldn't use your other suggestion as I am trying to go tableless.

    Thanks

    would rep you but can't see a place for it.


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
  •