I have a problem with my margins
Im using an external style sheet
here is the style sheet
a:link {color: #0066FF ; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px;}
a:visited {color: #2952CC ; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px;}
a:focus {color: #003D99 ; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px;}
a:hover {color: #00AEED ; font-family: verdana, arial, helvetica,sans-serif; font-size: 12px;}
a:active {color: #ECECEC ; font-family: verdana, arial, helvetica,sans-serif; font-size: 12px;}
a:link {text-decoration: none;}
body {color: #ECECEC ; font-family: Times New Roman, Times, serif; font-size: 12pt;
background: url(images/black.jpg) ;}
h1 {font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;}
h2 {font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;}
h3 {font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;font-size: 12pt;}
h4 {font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;}
h5 {font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;}
h6 {font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;}
td {color: #BFE2F9; font-family: Times New Roman, Times, serif; font-size: 12pt;}
table {border-style:none;}
img{border:0}
p.m1 {margin: 25px;}
l.big {line-height: 160%;}
>>color: #ECECEC
Oooh, not in that colour.
now in the html page
I put
<l class="big">
but every time it comes across a heading
I loose my margin
I can get around it by ending before the heading using
then after the heading typing
<l class="big">
so is there a way to cover the whole page with a margin including the
now in the html page
I put
p class=“m1”>
class=“big”>
but every time it comes across a heading h4 HEADING /h4
I loose my margin
I can get around it by ending before the heading using
/p>
/l>
then after the heading typing
p class=“m1”>
l class=“big”>
again
so is there a way to cover the whole page with a margin including the headings
please put < in front of the tags
I tried using html comments
it wouldn’t work
can anyone follow that
the headings are breaking my margins
CrazyNeutrino said:
I only speak for me.
can anyone follow thatthe headings are breaking my margins
I can tell you that I don’t understand. It’d be far more surprising if I said I did understand, though. I am after all, a computer numpty.
Ive fixed it
h4 {margin: 0px 0px 0px 25px; font-family: JoulliardCondensed, arial, helvetica; color: #BFE2F9;}
margin top, right, bottom, left
Beats me why I have to define a 25 pixel margin in the heading
margin should bump the headings over
oh well
¿‘r’u sure ‘u don’t want padding?
SCIENCE said:
¿‘r’u sure ‘u don’t want padding?
I encounter the same problem
headings break the padding
I’d like to know what I’m doing wrong