Jump to content

<span> Tag Question


Sacred
 Share

Recommended Posts

How would you make a border with it? Like a specific side, like border-left. Is it like <span style="border-left: solid #FFFFFF 1px;">**Box**</span>? I'm not too sure. I used to know, but I forget a lot lol.

Link to comment
Share on other sites

The border: shorthand order is width weight color. However, you shouldn't write styles inline - create a stylesheet instead.

Link to comment
Share on other sites

<span style="border-left: 1px solid #FFFFFF">**Box**</span>

Remember you can always give an element an ID if you want to refer to it by itself in a stylesheet.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...