View Full Version : How to manipulate a block of text
effpeetee
05-18-2007, 08: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, 08: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, 09: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, 09:34 AM
For your better orientation, use rather only one <style type="text/css"> </style> block ;)
effpeetee
05-18-2007, 10: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, 10:29 AM
well done ;)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.