How to indent this?
How do I indent this code:
I have this:
<a href="leadership.php" title="River Hill FBLA :: Leadership" id="chapterinfo">Leadership</a><br />
<a href="fbla.php" title="River Hill FBLA :: What is FBLA?" id="chapterinfo">What is FBLA?</a><br />
<a href="events.php" title="River Hill FBLA :: Current Events" id="chapterinfo">FBLA Events</a><br />
Hope that helps,
1. Get rid of your <br /> tags.
2. Change your ID to class in each link (IDs are supposed to occur only once per page, classes can be used many times).
3. Add this CSS code:
/*removes the need for line breaks*/
/*gives you the indented effect you want*/
If everything there is going to be a link, why don't you just make a <div id='chapterinfo'> rather than trying to class every tag? That way you can define every style according to the div id and not have to worry about setting classes.
Kdesigns it pertains only to a small group of links, that i want indented: like showing its under another section. If you can understand...like:
Thanks vinnie! ill try that
Just a quick note, to indent paragraphs:
will not work in Internet Explorer, but it's nice to play with nonetheless :)