Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 04-15-2006, 12:44 PM Border Question
tammyhart's Avatar
Extreme Talker

Posts: 212
Location: Birmingham, AL
Trades: 0
Is it possible to use css to tell the border to be an image instead of a color, maybe like

border-top: url(borderimage.jpg)
__________________
Tammy Hart

Please login or register to view this content. Registration is FREE
tammyhart is offline
Reply With Quote
View Public Profile Visit tammyhart's homepage!
 
 
Register now for full access!
Old 04-15-2006, 03:53 PM Re: Border Question
The Ape's Avatar
Super Talker

Posts: 129
Trades: 0
I think the border-image attribute is still being developed, not sure though. There is still a way to achieve the effect, much like the rounded corners or dropped shadow effects.
__________________

Please login or register to view this content. Registration is FREE
The Ape is offline
Reply With Quote
View Public Profile Visit The Ape's homepage!
 
Old 04-15-2006, 04:00 PM Re: Border Question
tammyhart's Avatar
Extreme Talker

Posts: 212
Location: Birmingham, AL
Trades: 0
I'm just trying to figure out a better way to design the boxes that hold the content on my blog, www.tammyhartdesigns.com/blog

Right now I have a table that has a class that gives it it's width and the gradient background. The background image includes the blank line that goes up the side. Then I have three "cells". the top and bottom one have a class that defines the background image with the height of 1px. Then all of my content is in the middle. How can I do this without tables?
__________________
Tammy Hart

Please login or register to view this content. Registration is FREE
tammyhart is offline
Reply With Quote
View Public Profile Visit tammyhart's homepage!
 
Old 04-15-2006, 04:56 PM Re: Border Question
The Ape's Avatar
Super Talker

Posts: 129
Trades: 0
Considering the way your layout is, everything seems absolute, it would be simple to replace your table with a container then all the td with elements in the container.
So...
Code:
<table> = <div class="container">
&...
<tr><td> = <div class="header">
or... <div class="menu"> 
or... <div class="maincontent">
If you calculate the height and width of all your existing "table data" you could use css to create classes with corresponding sizes and position them absolutely (or relative to one another) within a container.

By the way, i really like your design. I think if you left it in tables it would be fine, but, of course, tables aren't for design. So, it's good to see you showing an interest in making the transition to table-less
__________________

Please login or register to view this content. Registration is FREE
The Ape is offline
Reply With Quote
View Public Profile Visit The Ape's homepage!
 
Old 04-15-2006, 08:40 PM Re: Border Question
tammyhart's Avatar
Extreme Talker

Posts: 212
Location: Birmingham, AL
Trades: 0
well in my main site it's absolute, but it changes in the blog, it's all relative. The way I have it set up there is I start the table in the header and end it in the footer, so that I didn't have to code it into every single page that I wanted that to be on. Works nicely.

I know everyone says that tables aren't for design, but it works so nicely, I've never had any problems, but I've had problem after problem with divs.

Anyways, thanks for the pointers and the compliment.
__________________
Tammy Hart

Please login or register to view this content. Registration is FREE
tammyhart is offline
Reply With Quote
View Public Profile Visit tammyhart's homepage!
 
Reply     « Reply to Border Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.60390 seconds with 12 queries