Graphical Border

This is a discussion on "Graphical Border" within the Web Page Design section. This forum, and the thread "Graphical Border are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Dec 16th, 2006, 18:47
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Graphical Border

Question: Is there a way to create a graphical border (using 15x15px corner and side images) without using tables? Preferably, the solution would be equally as clean as tables. As well as scalable.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 16th, 2006, 21:43
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Graphical Border

Not quite sure what it is you are trying to achieve but the answer is yes.

One possible solution is to use what would amount to a top, bottom, left and right div.

Another might be to make the border graphic cover the whole background and then have a wrapper div of a size, that when centred, leaves a 15px border around the edge.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 16th, 2006, 23:31
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Graphical Border

So basically recreate the cells with divs? :-/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 16th, 2006, 23:34
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Graphical Border

It depends on what you want...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 17th, 2006, 00:19
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Graphical Border

What I have is
HTML: Select all
<table id="Table_02">
	<tr>
		<td style="background-image: url(images/blue2_1.jpg); height: 15px; width: 20px;"></td>
		<td style="background-image: url(images/blue2_2.jpg); height: 15px;"></td>
		<td style="background-image: url(images/blue2_3.jpg); height: 15px; width: 15px;"></td>
	</tr>
	<tr>
		<td style="background-image: url(images/blue2_4.jpg); width: 20px;"></td>
		<td style="background-color: #243d4a; width: 150px;"><p>content</p>
			</td>
		<td style="background-image: url(images/blue2_5.jpg); height: 15px; width: 15px;"></td>
	</tr>
	<tr>
		<td style="background-image: url(images/blue2_6.jpg); height: 20px; width: 20px;"></td>
		<td style="background-image: url(images/blue2_7.jpg); height: 20px;"></td>
		<td style="background-image: url(images/blue2_8.jpg); height: 20px; width: 15px;"></td>
	</tr>
</table>
But I would rather not use tables, for various reasons. The corners should remain fixed, while the top, bottom and sides must be scalable and will dynamically change size depending on the content.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 17th, 2006, 00:34
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Graphical Border

Here's a tutorial:
http://kalsey.com/2003/07/rounded_corners_in_css/

AListApart ones:
For complex, pretty borders:
http://alistapart.com/articles/customcorners/
For simpler ones:
http://alistapart.com/articles/mountaintop/

There are more tutorials out there - I used the one at the top before and it worked just fine.

Basically you have to use images for the rounded bits
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 17th, 2006, 05:00
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Graphical Border

Thanks, second link is what I was looking for
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
borders, layout, tableless design, tables

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data collection and graphical representation chrisse Starting Out 1 Aug 31st, 2007 14:10
Question regarding Graphical Layout: Images/Thumbnails in an E-Commerce site TwentyFourSeven Web Page Design 7 Apr 6th, 2007 17:09
Why only one border? timmytots Web Page Design 1 Nov 30th, 2005 21:32


All times are GMT. The time now is 14:54.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42