Hello there everyone, just a quick introduction before I get onto my problem.
My name is Lucas, I am a school student undertaking a distance education IT course and currently we are studying PHP and HTML. I have decided to take learning CSS into my own hands so that I may make websites which aren't the horrible generic Black Text on Simple coloured background with Times new Roman font.
To the issue at hand; the "border-radius" element is not functioning as intended. Disregard the clash between the text effect and the black background.
So basically what is happening here is it is placing the "border" on each separate line, whereas what I intended for the element to do was surround a couple of paragraphs.
Any idea how I may be able to do this? The style code used for this is:
Perhaps I am using the wrong element? I am still a noob at coding, so all help and tips are appreciated even if they only hold little relevance to the issue at hand.
First off, why don't you just use shorthand? It will save you so many bytes! And, you don't need -moz, -o, or -webkit since all modern browsers support border-radius.
Code:
border-radius: 50px 50px 8px 35px;
Second, I bet you've styled a <span> tag instead of wrapping the whole thing in a <div>.
Last edited by PeejAvery; November 12th, 2012 at 11:09 PM.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Bookmarks