CSS Issue with Tribute Page

CSS Issue with Tribute Page
0

#1

i cant find out the problem why the (#img-caption{color:dimgray;
font-weight:bold;}) couldnt work yet.

( below the whole div for this code)

#img-div{
background-color:Bisque;
}
#img{ width:80%;
height:auto;
padding:10px 40px;
margin:0 auto;
}

#img-caption{color:dimgray;
font-weight:bold;}


Tribute page help here
#2

Please always create a new topic for question that is unrelated to the OP’s question of a different thread. I have created a new topic for you.

What exactly are you trying to do? What do you want the page to look like and what is happening instead. Please be as detailed as possible, so we can give you the best advice.


#3

I spent some time with your code. Firstly, there is no tag in the html section with id #img-caption. Therefore you are not targeting anything in your css. Also, the <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after a <table> tag, hence why it is not working with your code. Try changing it to a <p> tag and you should be good to go.