/    Sign up×
Community /Pin to ProfileBookmark

borderless images??

greetings,

I am attempting to use a javascript to call random ‘banners’. I got a nice little script source from [url]http://www.webreference.com/programming/javascript/jf/index.html[/url] and it works great…

problem I am having is, I cant seem to determine what code snip to get the images to come out without borders… they all have them and when i try to insert a border=”0″ command, it breaks my page.

any clues?

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@fredmvMar 01.2004 — [i]Originally posted by h4r01d [/i]

[B]insert a border="0" command, it breaks my page.[/B][/QUOTE]
First note that you should be using CSS for that; not presentational (and perhaps deprecated) markup. Second, if this "breaks your page", then that signifies something else is serverly wrong. Construct your page so that it doesn't break when borders on images are removed.
×

Success!

Help @h4r01d 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.18,
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,
)...