Webmaster Computer Resources Help And Learn To Earn Ideas!
I have a class “sidebar” and I want the H1 tag IN a sidebar DIV to be a certain style. How can I define that?
Comments (1)
like if your html is like this my info
then the css for that h1 heading in the div only, would be
#sidebar h1 { whatever style for the h1 you want; }
I think this is how you could do it.
You must be logged in to post a comment.
Welcome to WebmasterTechs.com, your source for great webmaster resources and tips! Enjoy the site!
November 18th, 2007 at 2:11 pm
like if your html is like this
my info
then the css for that h1 heading in the div only, would be
#sidebar h1 {
whatever style for the h1 you want;
}
I think this is how you could do it.