Am I being stupid or?

Status
Not open for further replies.

VaginaMuncher

Chilling with me bitch Fiona
Mar 17, 2013
447
58
Okay Guys...
I'm rounding an Image of to a circular basis.
THE HTML PART;
Code:
<div id="ImageOne"></div>
THE CSS PART;
Code:
#ImageOne {
width: 498px;
height: 490px;
border-radius: 150px;
-webkit-border-radius: 150px;
-moz-border-radius: 150px;
background-image:url('Images/ImageOne.png');}
And it doesn't print anything, I cleared cache too :S
 

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
Okay Guys...
I'm rounding an Image of to a circular basis.
THE HTML PART;
Code:
<div id="ImageOne"></div>
THE CSS PART;
Code:
#ImageOne {
width: 498px;
height: 490px;
border-radius: 150px;
-webkit-border-radius: 150px;
-moz-border-radius: 150px;
background-image:url('Images/ImageOne.png');}
And it doesn't print anything, I cleared cache too :S
Add "display:block;" to your CSS

Also, just for future advice.. Don't use ID's for CSS (it's okay on small stylesheets) but get out of the habit for now. ID's are slow selectors and should only be used for javascript. Use classes instead.
 

VaginaMuncher

Chilling with me bitch Fiona
Mar 17, 2013
447
58
Add "display:block;" to your CSS

Also, just for future advice.. Don't use ID's for CSS (it's okay on small stylesheets) but get out of the habit for now. ID's are slow selectors and should only be used for javascript. Use classes instead.
Ill use classes.
ONT: that didn't fix it bud :S
 
Status
Not open for further replies.

Users who are viewing this thread

Top