This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > February 2006 > Best way to achieve this effect
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Best way to achieve this effect
|
|
| cdoyle 2006-02-12, 6:34 pm |
| Hi,
Take a look at this image file that the designer sent me.
http://chris.caraudiocentral.net/wo...iness_site5_pro
ducts.jpg
They want me to design the site to look like this, the part I'm not sure how
to do is in the Center box where the content is. What is the best way to do the
orange gradient border?
I thought about making one div with the gradient, then put another div inside
of it with a solid background that was almost the same width/height of the
parent div, so it would look like a border? Just not sure if that's the best
way to do it?
Anyone have any suggestions?
Chris.
| |
| darrel 2006-02-12, 6:34 pm |
| > http://chris.caraudiocentral.net/wo...iness_site5_pro
> ducts.jpg
Oooooooooohhhhhhhhhhhhhhhhhhhhh! Shiny! ;o)
> I thought about making one div with the gradient, then put another div
> inside
> of it with a solid background that was almost the same width/height of the
> parent div, so it would look like a border? Just not sure if that's the
> best
> way to do it?
That's how I'd do it.
-Darrel
| |
|
|
"cdoyle" <webforumsuser@macromedia.com> wrote in message
news:dsdt3a$gvu$1@forums.macromedia.com...
> Hi,
> Take a look at this image file that the designer sent me.
>
>
> http://chris.caraudiocentral.net/wo...iness_site5_pro
> ducts.jpg
>
> They want me to design the site to look like this, the part I'm not sure
> how
> to do is in the Center box where the content is. What is the best way to
> do the
> orange gradient border?
>
> I thought about making one div with the gradient, then put another div
> inside
> of it with a solid background that was almost the same width/height of the
> parent div, so it would look like a border? Just not sure if that's the
> best
> way to do it?
Yes, unless it's a fixed width. If it's a fixed width, you can do it with a
background image in one div.
tim
| |
| cdoyle 2006-02-12, 6:39 pm |
| thanks guys,
I had a feeling that was the only way to do it, but just wanted to make sure there wasn't some magical trick that I wasn't aware of
:)
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|