Jump to content

border style copies to all pages


contra10

Recommended Posts

i have a code on one of my profile.php page and the css code is

<html>
<center><div class="bl" align="center" ><div class="br"><div class="tl"><div class="tr">
<b>Advertisments</b>
</FONT>
</div></div></div></div> 
<style>
.bl {background: url(bl.png) 0 100% no-repeat #0094f7; width: 25em; height:5em; margin-center: 60px}
.br {background: url(br.png) 100% 100% no-repeat; height: 5em;}
.tl {background: url(tl.png) 0 0 no-repeat}
.tr {background: url(tr.png) 100% 0 no-repeat} 
</style>
</center></html>

 

when i include my header the border which is supposed to be

 

<html>
<div class="bl" align="center" ><div class="br">
....
....
</div></div>
<style>
.bl {background: url("C:\wamp\www\bl.png") 0 100% no-repeat black; width: 60em; height:2em; margin-center: 0px}
.br {background: url("C:\wamp\www\br.png") 100% 100% no-repeat; height: 5em;}
</style>
	</center>
</html>

 

takes on the shape of the border on profile.php page...i checked to see if all my tags were closed and they are

 

Link to comment
Share on other sites

well i can see from what you posted that the style tag is incomplete. I don't know for sure that it matters. but it is suppose to be

 

<style type="text/css">

 

 

</style>

 

  You should also put those styles in an external stylesheet. that could help you track down some problems.  I also noticed that a lot of your rules at the end are missing semi-colons. You really should include them. It is considered sloppy code to leave them out.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.