...

View Full Version : How to manipulate a block of text



effpeetee
05-18-2007, 09:38 AM
On my index page:

www.exitfegs.co.uk

bottom left; there is a block of text that I would like to manipulate, position wise.

<p id="pc"><strong>
Website Builder - Frank Taylor<br />
Assisted by "Coding Forums".<br />
Checked with IE 7, <br />
Set to:- 1024 x 768 pixels.<br /><br /><br />
Updated 18th May,2007</strong></p>


I am not sure how to do this. Do I use a <DIV> or what.

Any help gratefully received.

effpeetee

smalldog
05-18-2007, 09:56 AM
No matter if you use div or p, you have p with pc ID, so you can apply following code:



<style>
p#pc {margin-top:20px;margin-left:15px;}
</style>
<p id="pc"><strong>
Website Builder - Frank Taylor<br />
Assisted by "Coding Forums".<br />
Checked with IE 7, <br />
Set to:- 1024 x 768 pixels.<br /><br /><br />
Updated 18th May,2007</strong></p>

effpeetee
05-18-2007, 10:26 AM
No matter if you use div or p, you have p with pc ID, so you can apply following code:



<style>
p#pc {margin-top:20px;margin-left:15px;}
</style>
<p id="pc"><strong>
Website Builder - Frank Taylor<br />
Assisted by "Coding Forums".<br />
Checked with IE 7, <br />
Set to:- 1024 x 768 pixels.<br /><br /><br />
Updated 18th May,2007</strong></p>

Thank you. Works OK. Now on site.

www.exitfegs.co.uk

effpeetee

smalldog
05-18-2007, 10:34 AM
For your better orientation, use rather only one <style type="text/css"> </style> block ;)

effpeetee
05-18-2007, 11:20 AM
For your better orientation, use rather only one <style type="text/css"> </style> block ;)
Thank you,

I have cleaned this area up.
All <style type="text/css"></style> is now in one block.

www.exitfegs.co.uk

effpeetee

smalldog
05-18-2007, 11:29 AM
well done ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum