Can any one please tell me how can I disable the border of html? I was going to embed the html on another application and the border makes it look kind of boring.. Is there any CSS code to do this?
Asked
Active
Viewed 3,625 times
3 Answers
1
Sounds like you're using an iframe
. If so:
-
-
HTML doesn't have an inherent border. What application are you embedding a website into? What language is it coded in? – ceejayoz May 19 '10 at 03:10
-
I am using Auto play media studio, if you are aware of it. It imports an html web file in your project but it is unable to hide the borders. – Nati May 20 '10 at 16:57
-
See, don't you think that would've been useful information for us to have? Looks like it's a GUI app, so if you don't see an option to tweak it, you probably *can't* tweak it. – ceejayoz May 20 '10 at 17:04
1
You may try border-style:none
in CSS, but it would help if you clarified your question a bit :-).

Tomas Petricek
- 240,744
- 19
- 378
- 553
0
As the others have said, your question is a bit unclear. I will try my best.
If you are talking about an iframe, try this:
<iframe src="http://www.whatever.com/" frameborder="0">
http://www.w3schools.com/tags/att_iframe_frameborder.asp
*Actually in this example frameborder="yes/no"
also works in IE.
The previous example is deprecated in HTML5, so I would recommend using the following CSS code (or if you aren't using an iframe):
frame-border: none;
http://www.w3schools.com/css/css_border.asp
border: 0;
might also work, but I haven't tested it yet.

whirish
- 450
- 4
- 18