Forum : spacing in html
Brief description  about Online courses   join in Online courses
View Thangam  Nayagi 's Profile

spacing in html

sir, how to include horizontal spacing between Home|services|contact|About in html.

Regards
thangam
Asked by Thangam Nayagi | Dec 27, 2010 |  Reply now
Replies (4)
View bharat c bhagat-pmp 's Profile
Dear Santosh,

Thanks for your examle code for horizontal spacing and also cloring
I learnt the new thing
Bharat C Bhagat
Mumbai
Feb 15, 2011
View santosh hegde 's Profile
you are always welcome...!! :)
Dec 28, 2010
View thangam nayagi 's Profile
Thanks santosh :)
Dec 28, 2010
View santosh hegde 's Profile
HI,
You can give more space between word or colonm "|" by declaring "Non Breakable Space"
Just try below code:
<thml>
<head>
<title>Horizontle Space & Link Colors </title>
</head>
<body>

<font size="4" font color="Red"><a href="#" ><font color="Green">Home</font></a> &nbsp; | &nbsp; <a href="#"><font color="Green">Service</font> </a> &nbsp; | &nbsp <a href="#"><font color="Green">Contact</font></a> &nbsp; | &nbsp <a href="#"><font color="Green">About Us</font></a></font>
</body>
</html>

Here &nbsp; asign value for non breakable space,
And i also provided hoplink color & text size, by declaring <Font size="4" font color="Red">
then now all font size will be "4" and color will be "Red"
for link color, have to declare separately inside of our link tag.
you can declare hexa decimal values for color (i e for red #FF0000 )
then if you want to give some more space between colonm, put &nbsp;&nbsp; again..

just check this,
I hope it will be solve your both of question..
have a nice time...!! :)

Dec 28, 2010