- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Here is the website I’ve code : ACNA
How do I get my text to show with a margin for the entire thing rather than only the first phrase?
HTML:
Our goal is to make Antarctica the worlds first carbon
world that if Antarctica can do it, carbon neutrality is
possible on a global scale. In the wake of the successful
worldwide cooperation as demonstrated during International Geophysical Year, in 1959 the Antarctic Treaty was a remarkable result. It is the most successful example of international cooperation to date. Now that International Polar Year has begun to draw to a close, what legacy will come about as a result? We hope that a carbon neutral Antarctica could become that legacy. The Antarctic Treaty designated 10% of the face of the earth for peaceful and scientific purposes only. Why not designate that 10% of the world carbon neutral?
CSS:
span.c6
{
color:#FFF;
font-size:21px;
margin-left:20px;
}
Rather than using an inline element like span
use a block level element like p
.
And get rid of those line breaks (br) as well, they needn’t be there!
You should be floating the image to the right instead of absolutely positioning it, that way you don’t need the line breaks.
Thanks so much guys works perfectly! Already changed it in my local index!