Question:
how the hell do i align the h1 and h2 in the center...as a title??...it keeps on the left?
2010-11-18 06:54:29 UTC
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



Alex Lab 8-1









Bold Ones Painting



For your Home or Office





Bold Ones Painting can serve all of your painting needs in the home or in the office. Our

professional staff has a wide variety of painting skills. They know all of the latest painting

techniques and are well versed in color needs and specialties.



Staff members from Bold Ones Painting will be at the Home and Garden Show in Crown Point the week of

May 12. Please stop by our booth to talk to our trained professionals and register for a prize.



Write us at
Bold Ones Painting for price quotes.








and here is the style sheet:

h1 {font size: 32pt:font-family: Calligrapher, Magneto; font-weight: bolder; color: red; margin-center:

10pt}

p {font-family: "Arial Black", Boulder; color: red; margin-left: 10}

a {text-decoration: none; color: black; font-style:italic}

img {border-style: double; border-width: thick; margin: 10}
Three answers:
?
2010-11-21 20:08:45 UTC
You have a colon instead of a semicolon after 32pt



Also, margin-center does not exist. You should use text-align:center; or you can try margin:0 auto 0 auto; to center divs or elements inside other divs that have a specified width.





Best,



Will



------------------------------------

Web Development & Online Marketing - http://altumdesign.com
Net Man
2010-11-18 13:00:36 UTC
Append {width:100%; text-align:center;} to the h1 style.
Jacqueline Cheung
2010-11-18 06:55:49 UTC
stop breaking your head and use a html editor such as microsoft front page


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...