infuriating- header tags and images

liunx

Guest
this is very likely to be a simple error on my behalf cos I've only recently discovered how uselful & powerful CSS is so i've gone from using tables to layers and i'm loving the results.

all that aside, I have (excuse the crude terminology) in my css document, some code for putting a background image into an <h6> tag in a layer called content:

#content h6 {
background: transparent url('titlebar.gif') no repeat top left;
width: 450px;
height: 28px;
font-weight: bolder;
font-size: 14px;
text-align: center;
position: relative;
top: 5px;
border: 2px #ffffff solid;
}

happy days- it even shows up in dreamweaver's design stage but not in any of the previews (mozilla, IE and netscape). This problem prolly stems from having no background or in depth knowledge of basic stylesheet theory if so i'm happy enough to take it on the chin just so long as it can be sorted!

thanks:DTry no-repeat (with a hyphen) instead of no repeat!i'm going to crawl into a hole and die of embarrassment now! :(

thanks very much :pLOL, it's okay, everyone makes inane mistakes once in a while. I mean look at me! I'm a total screw up, and I'm not in a hole. ;)
 
Back
Top