|
Thread: Css
-
Nov 15th, 2002, 09:28 AM
#1
Thread Starter
Fanatic Member
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-color ink;}
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>
-
Nov 15th, 2002, 09:43 AM
#2
Fanatic Member
you have to turn the padding and maybe margins off by setting them to 0.
margin:0; padding;0;
-
Nov 15th, 2002, 09:45 AM
#3
Stuck in the 80s
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>
-
Nov 15th, 2002, 10:27 AM
#4
Thread Starter
Fanatic Member
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
-
Nov 15th, 2002, 01:51 PM
#5
Stuck in the 80s
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|