+ Reply to Thread
Results 1 to 9 of 9

Thread: HTML help

  1. #1
    FerretFreak's Avatar
    FerretFreak is offline x10Hosting Member FerretFreak is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    MN
    Posts
    14

    HTML help

    Ok, I'm making a webpage, and I want a big black bar with a width of about 260px on the far left-hand side that goes all the way up the screen. Life, it doesn't leave any space between it and top/bottom or the side.

    ...this is hard to explain.

    If you don't get what I mean, I'll make a picture or something.

     Me's a pirate! Marharhar! :chris:

  2. #2
    chitwa is offline x10Hosting Member chitwa is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Kenya
    Posts
    64

    Re: HTML help

    The proble is in alignment and the spaces I presume? to ensure the black goes all the way down, use tables to format data on the page. Set the left most column of the table to black. For the sides, set a css style on the margins. Set all margins ie left right up, down to 0. set spacing to 0 also. or in the body tag set all margins to 0. This will remove the spaces from the sides.

  3. #3
    binki39 Guest

    Re: HTML help

    add this in your css sheet

    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }

    this will eliminate the space in the top and the bottom

  4. #4
    S_W_A_T is offline x10 Sophmore S_W_A_T is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Singapore
    Posts
    146

    Re: HTML help

    ---------
    "All codes below have no space after and before the < >"
    ---------
    No need add into your css sheet, juz add this in your html will do;
    < STYLE type="text/css" >
    ...css codes goes here...
    < /style >
    -----
    If you meant by overlapping anything on the side, i suggest you use < div >.
    Get a a black pic with the same amount of width and height, then add the code in your html,
    < div class="post" style="position:absolute; top:<your amount>px; left:<uour amount>px" >
    Hope this helps...

  5. #5
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: HTML help

    So did you get it to work? If you didn't, post teh link to that page here.

  6. #6
    IamShipon1988's Avatar
    IamShipon1988 is offline x10 Lieutenant IamShipon1988 is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Rochester, NY
    Posts
    470

    Re: HTML help

    i prefer using a seperate css file, so if you have a multipage site, you can simply place a link to search for the css file, instead of rewriting the code on each page, which comsumes a lot of time. tnx binki39, that's good to know about css files


  7. #7
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: HTML help

    <link rel="stylesheet" href="style.css" type="text/css" />

    Yea, just using something like that is much much easier.

  8. #8
    chitwa is offline x10Hosting Member chitwa is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Kenya
    Posts
    64

    Re: HTML help

    OK.You can also add this to your body tag i.e
    <body leftmargin="0" rightmargin="0" topmargin="0" bottomargin="0">

  9. #9
    Nathan Guest

    Re: HTML help

    I prefer div layers.

    <div leftmargin="0" rightmargin="0" topmargin="0" bottomargin="0">

    Much cleaner in appearence.

+ Reply to Thread

Similar Threads

  1. A HTML + CSS Basic Tutorial
    By Zenax in forum Tutorials
    Replies: 14
    Last Post: 09-02-2011, 01:42 PM
  2. Hybrid's HTML Lessons
    By Hybrid in forum Tutorials
    Replies: 18
    Last Post: 11-28-2009, 02:12 PM
  3. [IPB] Contiguous Board Index
    By phenetic in forum Tutorials
    Replies: 5
    Last Post: 09-18-2005, 10:31 AM
  4. What is XML!
    By wizeman in forum Tutorials
    Replies: 6
    Last Post: 08-27-2005, 12:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers