why is there a border on the header?!

Discussion in 'HTML & Website Design' started by ardley216, Feb 26, 2010.

  1. #1
    http://km2.uk46.com/

    the part highlighted in red is the border, i have looked through all the html and css and i can't work out how to get rid of it....


    CSS
    
    .container {
      background-color: #EEF4FF;
    	width: 1024px;
    	border-collapse: collapse;
    	border-spacing: 0px;
    	border-bottom: 3px solid #092367;
    }
    
    .top_header1 {
      background-color: #cc0000;
      border: 10px; 
    }
    
    .sitealts {
      background-color: #6DA6CC;
      text-align: left; 
    }
    
    .quicklinks{
      background-color: #E1E6FA;
      text-align: left;
      width: 1024px;
      }
    
    .searchbar1 {
      background-color: #4998CC;
      	font-weight: bold;
    	padding: 12px 7px;
    	color: #fff;
      border-spacing: 0px;
      border-right: 3px solid #092367;
    }
    
    .searchbar2 {
      background-color: #4998CC;
      	font-weight: bold;
    	padding: 12px 7px;
    	color: #fff;
      border-spacing: 0px;
    }
    
    .spacebar {
        border-spacing: 0px;
    
    }
    
    .top_section {
    	background-color: #126ca3;
    	background-repeat: no-repeat;
    	background-position: top left;
    }
    
    .left_section {
    	vertical-align: top;
    	width: 160px;
    	border-right: 2px solid #16174d;
    	border-left: 4px solid #16174d;
    	background-color: #ccdcf9;
    }
    
    .top_bar {
    	background-color: #2c5a93;
    	text-align: right;
    	padding-right: 5px;
    	width: 100%;
    	height: 23px;
    }
    Code (markup):
    and heres the HTML..
    <table class='top_header1'>
        <tr class='quicklinks'>
          <td><a href='http://km2.uk46.com'>Home</a>
    | <a href='http://www.gre.ac.uk/study/travel'>Campus Maps</a>
    | <a href='http://km2.uk46.com/page.php?2'>Contact Us</a>
    | <a href='http://km2.uk46.com/page.php?4'>Help</a>
    | <a href='http://www.gre.ac.uk/'>Greenwich
    Website</a></td>
          <td>Search</td>
          <td>{SEARCH}</td>
        </tr>
        <td class='spacebar' colspan='3'>
    	<img style='width: 1022px; height: 84px;' src='http://km2.uk46.com/e107_themes/reline/images/logospacer.jpg' alt='g'></td>
      </tr>
      <tr>
        <td colspan='3'><img src='http://km2.uk46.com/kmg.gif' alt='km' border='0' height='85' width='570'>
    	</td>
      </tr>
      <tr>
        <td colspan='3' class='sitealts'>{SITELINKS_ALT=no_icons+noclick}</td>
      </tr>
      <tr>
        <td colspan='3' class='spacebar'><img src='http://www.km2.uk46.com/light_scpacer.png' /></td>
      </tr>
      <tr>
        <td colspan='3'><img src='http://km2.uk46.com/banner.jpg' /></td>
      </tr>
      <tr>
        <td colspan='3'><img src='http://www.km2.uk46.com/dark_spacer.png' /></td>
      </tr>
    </table>
    Code (markup):

    this is a website for my university project... so any help would be fanstastic! :D
     
    ardley216, Feb 26, 2010 IP
  2. Anveto

    Anveto Well-Known Member

    Messages:
    697
    Likes Received:
    40
    Best Answers:
    19
    Trophy Points:
    195
    #2
    try border="0"

    <table class='top_header1' border="0">

    or remove the 10px border in your css and change it to 0px
     
    Anveto, Feb 26, 2010 IP
  3. ardley216

    ardley216 Peon

    Messages:
    499
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    that made no difference.. its about 2px border around every thing.. i cannot get rid of it.. it just appeared there.. :S
     
    ardley216, Feb 26, 2010 IP
  4. ardley216

    ardley216 Peon

    Messages:
    499
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sorry to be a pain, but im still looking for the answer... im baffled...
     
    ardley216, Feb 26, 2010 IP
  5. zahidislam

    zahidislam Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i can fix this problem in just USD 15$ Contact me
    My name is Zahid islam and I'm a PHP/MySQL/XHTML/CSS Freelancer. You can outsource work to me at your budget with your time frame.
    Some of my work:
    www.gifhorn4u.de
    www.fcsl.de
    www.haditelecom.com
    http://www.iadshuttle.com
    http://www.dc-buscharter.com/
    under process
    http://www.iadshuttle.com/new site/
    I can do custom work as well.
    Price: You make an offer and I'll work with it. I need the following:
    Job Description, Budget, Timeframe and I'll get back to you.
    PS:: I work majority over my email. Email has every benefit of a instant messenger.

    Zahid islam
    --
    Email:
    Zee W Developers
    Contact #
    +92-331-7780115
    Alt#
    +92-333-5446033
    office # 307 3rd Floor Gold
    Commercial Plaza Gulberg |||
     
    zahidislam, Mar 1, 2010 IP
  6. ardley216

    ardley216 Peon

    Messages:
    499
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    no im fine thanks...

    i kind of sorted it by using div tags instead of table tags, but, it only seems to work on some computers and/or browers.

    its fine on university computers using IE8 with a very high resolution. but on my personal laptop using chrome it still has about 4px gaps.... :S

    is there any reason for this?

    thanks
     
    ardley216, Mar 4, 2010 IP
  7. BrianM

    BrianM Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'm sorry, but what part of the header? I don't see anything highlighted in red?
     
    BrianM, Mar 5, 2010 IP
  8. JimCFC

    JimCFC Active Member

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    93
    #8
    I dont see anything in red on firefox or ie...
     
    JimCFC, Mar 5, 2010 IP
  9. ardley216

    ardley216 Peon

    Messages:
    499
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    its ok, i sorted it, all i need now is some help lookign for bugs and so on... :) any help woudl be great!
     
    ardley216, Mar 5, 2010 IP