Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-16-2012, 11:28 AM   PM User | #1
Vaethorin
New to the CF scene

 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Vaethorin is an unknown quantity at this point
Can't get border-images working.

Here is what I have so far, the result? No borders show

Code:
<style media="screen" type="text/css">

.border12 {
	border: solid transparent 0px;
	border-top-image: url("http://nom-guild.com/forums/styles/OccultDB/theme/portal_images_custom/header.png") no-repeat;
	border-left-image: url("http://nom-guild.com/forums/styles/OccultDB/theme/portal_images_custom/side.png") repeat-y;
	border-right-image: url("http://nom-guild.com/forums/styles/OccultDB/theme/portal_images_custom/side.png") repeat-y;
	}
</style>


<table border=1 width=180px cellpadding=0>

	<tr>
		<div class="border12">
			test
		</div>
	</tr>
</table>
I also tried
Code:
<style media="screen" type="text/css">
#container {
    display: table;
	border-top-image: url("http://nom-guild.com/forums/styles/OccultDB/theme/portal_images_custom/header.png") no-repeat;
	border-left-image: url("http://nom-guild.com/forums/styles/OccultDB/theme/portal_images_custom/side.png") repeat-y;
	border-right-image: url("http://nom-guild.com/forums/styles/OccultDB/theme/portal_images_custom/side.png") repeat-y;
	
    }

  #row  {
    display: table-row;
    }

  #left, #right, #middle {
    display: table-cell;
    }
</style>


<div id="container">
  <div id="row">

  	<div id="left">
  		<p>test</p>
  	</div>

	</div>
</div>
Tried google for hours, found this site and hope you guys can shred some light.

Last edited by Vaethorin; 06-16-2012 at 01:16 PM..
Vaethorin is offline   Reply With Quote
Old 06-16-2012, 01:19 PM   PM User | #2
Will Bontrager
Regular Coder

 
Join Date: Jun 2012
Location: Near Chicago, USA
Posts: 123
Thanks: 7
Thanked 19 Times in 19 Posts
Will Bontrager is an unknown quantity at this point
According to the w3schools site, the border-image-... property is only supported in Chrome. Alternate properties are available for Firefox, Safari, and Opera.

This page might provide the information you are looking for.

http://www.w3schools.com/cssref/css3...rder-image.asp


Quote:
Originally Posted by Vaethorin View Post
Tried google for hours, found this site and hope you guys can shred some light.
Light has been shredded

Will
__________________
Numerology API for apps - Facebook, iPad, mobile phones. No charge to use API. [info]
Will Bontrager is offline   Reply With Quote
Old 06-16-2012, 01:43 PM   PM User | #3
Vaethorin
New to the CF scene

 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Vaethorin is an unknown quantity at this point
How would I make the tables like at http://www.swtor-rp.com/ ?

Using 3 images, one for both sides, one for the top and one for the bottom part?
Vaethorin is offline   Reply With Quote
Old 06-17-2012, 01:12 PM   PM User | #4
Will Bontrager
Regular Coder

 
Join Date: Jun 2012
Location: Near Chicago, USA
Posts: 123
Thanks: 7
Thanked 19 Times in 19 Posts
Will Bontrager is an unknown quantity at this point
Vaethorin, they are using positioned divs with background images.

Because the images are background, they can publish text on top of them (like their "UPCOMING EVENTS" and "LATEST POSTS").

Looks like an interesting technique. One I think I'll take the time to master. Thanks for providing the link to where it is used.

Will
__________________
Numerology API for apps - Facebook, iPad, mobile phones. No charge to use API. [info]
Will Bontrager is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:47 AM.


Advertisement
Log in to turn off these ads.