Jump to content

Non-line-breaking class selector?


Mark and two Cats

Recommended Posts

How can I include text after the words "Underlined heading" without a line break as happens to the word "TEST":--------------------------------------------<!DOCTYPE html><html><head><style>.underline{text-decoration:underline;}</style></head><body><h1 class="underline">Underlined heading</h1><h1>TEST</h1></body></html>--------------------------------------------What is causing the line break? It happens with other attribues such as color, etc. Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...