SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Neutralizing space around the h3
-
Aug 10, 2006, 08:58 #1
- Join Date
- Jul 2006
- Posts
- 54
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Neutralizing space around the h3
How can one neutralize the space around one of the heading tags?
I am looking for something like this:
Small Heading Title In An h3
Some text in a pair of paragraph tags that should be directly below similar to a br tag between the h3 and the p
Code:<h3>Small heading Title</h3> <p>This is the paragraph text</p>
Code:#main h3 {font-family: Arial,Verdana, sans-serif; color: #003366; font-size: 13px; font-weight: bold; padding:0; margin:0; } #main p { font-family: Arial,Verdana, sans-serif; color: black; font-size: 13px; font-weight: normal; padding-top: 0; marging-top: 0; }
-
Aug 10, 2006, 09:02 #2
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
Code:h3 { padding: 0; margin: 0; }
-
Aug 10, 2006, 10:20 #3
- Join Date
- Jan 2003
- Location
- Hampshire UK
- Posts
- 40,556
- Mentioned
- 183 Post(s)
- Tagged
- 6 Thread(s)
I am trying the following styles with no luck:
Code:
#main h3 {font-family: Arial,Verdana, sans-serif; color: #003366; font-size: 13px; font-weight: bold; padding:0; margin:0;}#main p { font-family: Arial,Verdana, sans-serif; color: black; font-size: 13px; font-weight: normal; padding-top: 0; marging-top: 0;}
Code:#main p { font-family: Arial,Verdana, sans-serif; color: black; font-size: 13px; font-weight: normal; padding-top: 0; marging-top: 0; }
-
Aug 11, 2006, 09:17 #4
- Join Date
- Jul 2006
- Posts
- 54
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks for the response - worked like a charm! I was wondering why that did not work on the code I had submitted then realized I had misspelt margin
Bookmarks