...

View Full Version : Getting text on one line



vinoman2
10-25-2009, 10:54 PM
on this site: http://emilydickinson.us

I can't figure out how to get all the the h1 heading to be on one line. I tried changing the h1 style width in header:
h1 {

font-size: 2.4em;

font-weight: normal;
font-style: italic;

color: #FFF0D0;

letter-spacing: 1px;

padding: 22px 0 6px 0;

margin: 0 0 2px 15px;

border-bottom: 1px solid #843419;

width: 52%;

}

but it didn't change anything. I wanted to move the image to the right and bring the h1 line more to the left. How is this done?

Excavator
10-25-2009, 11:06 PM
Hello vinoman2,
Try this:
h1 {
font-size: 2.4em;
font-weight: normal;
font-style: italic;
color: #FFF0D0;
letter-spacing: 1px;
padding: 22px 0 6px 0;
margin: 0 0 2px 15px;
border-bottom: 1px solid #843419;
}

or
h1 {
font-size: 2.4em;
font-weight: normal;
font-style: italic;
color: #FFF0D0;
letter-spacing: 1px;
padding: 22px 0 6px 0;
margin: 0 0 2px 15px;
border-bottom: 1px solid #843419;
width: 65%;
}

Just to be a purist... I don't think this is a paragraph <p>The Life and Times of Emily Dickinson</p>
Maybe that should be your <h2>

ahayzen
10-25-2009, 11:08 PM
which heading? They are all on one line for me

vinoman2
10-26-2009, 03:06 PM
Hello vinoman2,
Try this:
h1 {
font-size: 2.4em;
font-weight: normal;
font-style: italic;
color: #FFF0D0;
letter-spacing: 1px;
padding: 22px 0 6px 0;
margin: 0 0 2px 15px;
border-bottom: 1px solid #843419;
}

or
h1 {
font-size: 2.4em;
font-weight: normal;
font-style: italic;
color: #FFF0D0;
letter-spacing: 1px;
padding: 22px 0 6px 0;
margin: 0 0 2px 15px;
border-bottom: 1px solid #843419;
width: 65%;
}

Just to be a purist... I don't think this is a paragraph <p>The Life and Times of Emily Dickinson</p>
Maybe that should be your <h2>

Thanks, I removed the width and it's now on one line. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum