Design a button for Yours website


#1

Hi,

Code looks like

HTML

	<div>
	    <a href="https://www.facebook.com/"> Facebook </a>
		</div>

CSS

div {
height:50px;
width:120px;
border-color:#6495ED;
background-color:#BCD2EE;
border-radius:5px;
margin:auto;
text-align:center;
text-decoration:none;
}

And decoration can't be found by Chrome and IE. Any ideas why I stuck here?

Many thanks,
dzefo90


#2

because you set your divs text-decoration to none, while you should set your links text-decoration to none


#3

bruuh. thanks ! it works. im gonna keep going. cheers. moreover text-decoration still can't be found by Chrome, this happened couple times already in this traning.. this is kinda issue.


#4

you're welcome

yea, the text-decoration is not working in chrome, even with right code, let me see if there is any news about it

nope, no news...


#5

Ok thanks. I will keep with this browser switch. You can close this topic becasue I dno how haha. Nice day :slight_smile:


#6