|
![]() |
#1 |
Member
Join Date: Mar 2005
Location: Derby,UK
Posts: 1,509
|
![]()
There is nothing on a test page as yet, but this is another fine example of me complicating matters...
Inside a div class "item" I intend to type several paragraphs, I want to style the first line of the first paragraph differently from the rest of that paragraph and all paragraphs after it. In addition to that I want the first letter of the first paragraph in a different style than the first line! For example, by declaring: Code:
p:first-line {font-weight:bold;} p:first-letter {background-color:red;} I'm thinking that by using a heading styled as the paragraph I can do it by applying the first-line and first-letter styling to that heading, but is there a more elegant solution to this than what I've come up with? |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bryce 6 (and the Vue product line) | Andrew B. | Software | 1 | 11-14-2006 07:48 AM |
Your Driver's License on Line | George | The Corner Pub | 7 | 11-04-2005 09:32 PM |
Formatting various levels of subheads | marlene | Print Design | 22 | 03-25-2005 10:42 PM |
Letter Spacing and Italics | annc | Web Site Building & Maintenance | 7 | 02-08-2005 09:53 AM |