PDA

View Full Version : Formatting within main area of page



htims
Jan 21st, 2009, 08:07 PM
Hi there,
I have an area on my page where I need some of the text to be formatted like a list but without the number for example:
<d>
This is an example of how I want my page to look
There are three priorities

Priority 1 - fjakjfalkjf <br/>
Priority 2 - kjafjadflka<br/>
Priority 3 - ajfdakjfalf </d>


I want each priority to be on a different line so that when the users browser is resized, it is still positioned on separate lines. Is this possible?

Thanks

Rowsdower!
Jan 21st, 2009, 09:26 PM
Hello and welcome to the forums! Start by trying something like this in the HTML:
<ul class="priorities">
<li>Priority 1 - fjakjfalkjf</li>
<li>Priority 2 - kjafjadflka</li>
<li>Priority 3 - ajfdakjfalf</li>
</ul>

And then use this CSS:
.priorities {
list-style-type:none;
}

Is this what you're looking for?

You might benefit greatly from running through the tutorial listed in my sig at least one time. It's a free tutorial and it covers the basics of HTML, CSS, Java, and a host of other web development languages. It's a great place to start (worked well for me).