Welcome to the Blackout Audio Techno Forums :: Underground Network.
Results 1 to 9 of 9
  1. #1
    90's Trance head
    Join Date
    Jun 2003
    Location
    UK - Northwest
    Posts
    3,121

    Default can someone help please

    probobly a very simplistic thing i need to know but i know very little about the html side of sites.

    basically i need a page with a horizontal line down the midle and the top
    section to be white and the bottom section to be black....i told you it was simple
    Sequence is coming. It's going throughout your imagination. It takes you where you've been before. A higher state of mind. Yeah, you remember the early times. Now were trying to take you again. In the deepest seas of your consciousness.....Time never stops

  2. #2
    Supreme Freak
    Join Date
    Jan 2003
    Location
    Lester, Earth
    Posts
    965

    Default Re: can someone help please

    Quote Originally Posted by EmotionComplex
    probobly a very simplistic thing i need to know but i know very little about the html side of sites.

    basically i need a page with a horizontal line down the midle and the top
    section to be white and the bottom section to be black....i told you it was simple
    this should do it

    <html>
    <head></head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" border="0">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
    <tr><td height="50%" bgcolor="#FFFFFF"> </td></tr>
    <tr><td height="1" bgcolor="#999999"><img src="images/spacer.gif" height="1" /></td></tr>
    <tr><td height="50%" bgcolor="#000000"> </td></tr>
    </table>
    </body>
    </html>

  3. #3
    Ultimate Freak
    Join Date
    Apr 2004
    Posts
    1,417

    Default

    not sure why you;ve put the middle cell in ?

  4. #4
    90's Trance head
    Join Date
    Jun 2003
    Location
    UK - Northwest
    Posts
    3,121

    Default

    thanks man :)

    ill give it a go
    Sequence is coming. It's going throughout your imagination. It takes you where you've been before. A higher state of mind. Yeah, you remember the early times. Now were trying to take you again. In the deepest seas of your consciousness.....Time never stops

  5. #5
    Supreme Freak
    Join Date
    Jan 2003
    Location
    Lester, Earth
    Posts
    965

    Default

    No worries, hope it's useful.

    @ Mangafish - I put the middle cell on to emulate a rule because of the padding on the <hr /> tag - it was important to remove it in this case because otherwise the rule sits slightly inside thhe white bg cell. Could have got around this with css, but it seemed simpler in this case to add an empty cell.

  6. #6
    Ultimate Freak
    Join Date
    Apr 2004
    Posts
    1,417

    Default

    you shouldnt need a stylesheet to change cell dimentions.

    it was more the image in the middle cell i couldnt understand the perpose of as your assuming that there will be the image "images/spacer.gif" on EmotionComplex's site

  7. #7
    Supreme Freak
    Join Date
    Jan 2003
    Location
    Lester, Earth
    Posts
    965

    Default

    Quote Originally Posted by MangaFish
    you shouldnt need a stylesheet to change cell dimentions.

    it was more the image in the middle cell i couldnt understand the perpose of as your assuming that there will be the image "images/spacer.gif" on EmotionComplex's site
    No you misunderstand me, not to change cell dimensions - the <hr /> tag comes with padding as standard, but this can be removed using css (although not across all browsers) - I simulated a rule using a 1 pixel high cell to remove padding from the rule therefore giving a clean divide between top and bottom sections. The image is there to ensure the cell loads at exactly one pixel high, if you leave the td tag complately empty it will display incorrectly in some browsers.

    Whooops, EmpotionComplex, you need to put a transparent .gif image called spacer.gif inside a folder called images (the images folder should be within the same directory as the file created using the code above.

  8. #8
    Ultimate Freak
    Join Date
    Apr 2004
    Posts
    1,417

    Default

    ahhh cool. nice work mate

  9. #9
    Supreme Freak
    Join Date
    Jan 2003
    Location
    Lester, Earth
    Posts
    965

    Default

    Quote Originally Posted by MangaFish
    ahhh cool. nice work mate
    Nae worries! Hopefully it was of some use

 

 

Posting Permissions

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