Results 1 to 5 of 5

Thread: Css

  1. #1

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    Css

    I used CSS to make my lines look colourfull..but there is spaces between the upper lines.
    .how can I make them very close to each other
    **********
    <html>
    <head>
    </head>


    <style>
    h1{font-size:20pt;color:red; background-colorink;}
    h2{font-size:20pt;color:blue; background-color:green;}
    h3{font-size:20pt;color:yellow; background-color:black;}
    </style>
    <body>

    <h1>.....aaaaaaaaaaaaa</h1>
    <h2>bbbbbbbbbbbb....</h1>
    <h3>ccccccccccccccc....</h1>
    </body>
    </html>

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    you have to turn the padding and maybe margins off by setting them to 0.

    margin:0; padding;0;
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Code:
    <style>
    h1 { 
        font-size:20pt;
        color:red; 
        background-color:pink;
    
        margin: 0 0;
    }
    
    h2 {
        font-size:20pt;
        color:blue; 
        background-color:green;
    
        margin: 0 0;
    }
    
    h3 {
        font-size:20pt;
        color:yellow; 
        background-color:black;
    
        margin: 0 0;
    }
    </style>
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    css

    Thank you Hobbo,

    Ýf you can tell me how to reduce the WIDTH of lines..and some on TABLES attiributes...in CSS I will be happy.thanks

  5. #5
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: css

    Originally posted by merhaba
    Thank you Hobbo,

    Ýf you can tell me how to reduce the WIDTH of lines..and some on TABLES attiributes...in CSS I will be happy.thanks
    Reduce the width of lines? What kind of lines? Do you mean this?:

    Code:
    <style>
    h1 { 
        font-size:20pt;
        color:red; 
        background-color:pink;
        width: 500px;
        
        margin: 0 0;
    }
    
    h2 {
        font-size:20pt;
        color:blue; 
        background-color:green;
        width: 500px;
        
        margin: 0 0;
    }
    
    h3 {
        font-size:20pt;
        color:yellow; 
        background-color:black;
        width: 500px;
    
        margin: 0 0;
    }
    </style>
    And what kind of attributes for tables do you want to know about?
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

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



Click Here to Expand Forum to Full Width