/    Sign up×
Community /Pin to ProfileBookmark

newb. need help

Hello,
I am new to CSS and need some help. I am wondering how do you have those borders around the words like [url]http://thebignoob.com[/url]. the little dots i mean.
-tushar

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@ValliMar 09.2006 — hi,

These are the Css Coding u want to use to set a border(dotted_style) around ur text or url


div.border

{

background:lightgrey;

float:left;

border:1px solid black;

[U][B]border-style:dotted;[/B][/U]

width:120px;

height:10px;

}

In the .aspx file u have to place ur url inside the div tag

<div class=border>

<a href='http://thebignoob.com'>http://thebignoob.com</a>

</div>

If u dont need to place a url u can omit the section of<a> </a>, instead u can simply type the text inside the div tag.

I think this might help u a lot. In case any doubts, post ur question.


with regard,

valli
Copy linkTweet thisAlerts:
@tunatamakerauthorMar 29.2006 — Hello,

I am wondering, if I have an image, that I want to be the border. How do I do that? Help would be much appreciated.

-tunata
Copy linkTweet thisAlerts:
@KDLAMar 29.2006 — Actually, it should be:
div.border
{
background:lightgrey;
float:left;
border:1px dotted black;
width:120px;
height:10px;
}

The previous coding accidentally had solid and dotted as a border style.

Here's the info. on border images: http://www.w3.org/TR/2002/WD-css3-border-20021107/#the-border-image

Be warned that certain browsers cannot translate CSS-3.

It might be safer to use a repeating background image behind your text, implying the look of a border.

http://www.w3schools.com/css/css_background.asp

KDLA

KDLA
Copy linkTweet thisAlerts:
@thewebmanMar 30.2006 — a more creative title might help also ?
×

Success!

Help @tunatamaker spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...