PDA

View Full Version : Removing borders from a HTML page



MrPinkPanther
24-11-2008, 05:43 PM
I have a flash file that I want aligned right at the top of the page, how do I remove the page border?

Decode
24-11-2008, 05:49 PM
Replace the body tag with



<body style="border-top: 0px;">


Or if you have a css style sheet, add this to it-



body {
border-top: 0px;
}

Jxhn
24-11-2008, 06:17 PM
I have a flash file that I want aligned right at the top of the page, how do I remove the page border?

When you say right at the top of the page do you mean at the very top:

body
{
margin: 0px;
}
or on the right hand side:


#idofdivcontainingflashfile
{
margin-left: auto;
}

Want to hide these adverts? Register an account for free!