![]() |
| <p> and <h> tags... |
|
Josh
Forum Regular
|
Does the h tag support the color attribute? It doesn't seem that it does, so I'll probably have to combine span w/ h, but just figured I'd ask... and does the p tag support margins/padding? Again, I don't seem to be getting any results from these, so any input is appreciated.
|
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
Sure you can apply colors to the h tags and the p tags.
If it's not taking in your page - I'd look at the CSS heirarchy in your doc for something screwy... |
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
will it be the same color on each 1?
if so just change the default params |
||||||||||||
|
|
|||||||||||||
|
byron
Forum Admin
|
I believe the P does not do padding and margin, it's easy enough to do, by putting the p inside a div, in which case you don't really need the P at all.
|
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
u can change the values of the h tags to so they dont add any space around them if u want or set the space how u want it
|
||||||||||||
|
|
|||||||||||||
|
Josh
Forum Regular
|
The only part that I'm having a problem with is that the H tag doesn't want to change the font color... grrr...
|
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
paste the css for your h tag
|
||||||||||||
|
|
|||||||||||||
|
webweaver6
|
I use margins and padding frequently in p tags, and color in h tags without a problem. I would agree that you might post what you have so we can see where the problem might be.
|
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
It should look something like this
|
||||||||||||||
|
|
|||||||||||||||
|
Josh
Forum Regular
|
What about and H tag containing an A tag... see any problems with that?
|
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
post the code doof
|
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
An <h> tag that contained an <a> tag???
What in the world? you mean something like
??? |
||||||||||||||
|
|
|||||||||||||||
|
Josh
Forum Regular
|
Exactly.
|
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
you prolly have something that is stylizing your <a> tags and that is overriding what is in your <h> tags - try reversing them and see what happens.
You know that there is a default stylesheet for your browser - so if you do it like this
You will prolly get default browser colors no matter what you do to the <h> tag if you don't have the <a> tag stylized in your css. |
||||||||||||||||
|
Last edited by bobum on Wed Jan 05, 2005 9:00 pm; edited 1 time in total |
|||||||||||||||||
|
loftboy
Forum Regular
|
why? u trying to anchor it?
if so look up accesskeys instead |
||||||||||||
|
|
|||||||||||||
| <p> and <h> tags... |
|
||
|



