Welcome to WebmasterWorld Guest from 54.146.217.179

Forum Moderators: open

Message Too Old, No Replies

Underline text in Dreamweaver

     
9:36 pm on Sep 17, 2006 (gmt 0)

New User

joined:Sept 22, 2011
posts:38
votes: 0


How do you do it?
12:16 am on Sept 18, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2003
posts:1550
votes: 0


use css - ex.

inline:
hi <span style="text-decoration:underline">this text is underlined</span>

or

in a stylesheet:
in a file called style.css you'd have:
.underlined{ text-decoration: underline ; }

on your page you have a link to the stylesheet in the head section
<link href="style.css" rel="stylesheet" type="text/css" media="all" />

and for the text
hi <span class="underlined">this text is also underlined</span>

I would suggest you hang around the CSS Forum [webmasterworld.com]

Using dreamweaver you also have a built-in stylesheet creator

Top bar: Window > CSS Styles (or shift + F11) to help you along the way