8 replies [Last post]
73minstrel
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2007-08-07
Posts: 3
Points: 0

Hello I am new to CSS , and I am trying to achieve a Div border that has a soft glow to it.

this is an example

Mod Edit/ link removed, inappropriate site.

Any help would be great

burlster
burlster's picture
Offline
Leader
Bournemouth
Last seen: 3 years 9 weeks ago
Bournemouth
Timezone: GMT+1
Joined: 2007-05-31
Posts: 693
Points: 45

WARNING!

NOT APPROPRIATE FOR WORK!!!!!

YOUR GOING TO GET ME IN TROUBLE!

Seriously, people here are trying to help, warn them before they load stuff like that in full on their office desktops!!!!!!!

John :curse:

Have YOU said Hello yet?
The CSSCreator Hello Thread

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Do not post links to sites

Do not post links to sites like that on a tech public forum or any forum for that matter, without due notification.

As to the question you can't do what you want with CSS, graphics are being used to achieve the page border shadow.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

You can see now why links

You can see now why links like that are not appreciated as members might be in a public office and you could cause them possible serious problems.

Even on a private box I don't particularly want sites like that in my caches and history tracks.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

73minstrel
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2007-08-07
Posts: 3
Points: 0

Sorry

If I caused any stress, Actually I feel even more stupid , because imediatly after I posted it, I figured it out and how to do it with graphics. DOH

So once again My BAD

burlster
burlster's picture
Offline
Leader
Bournemouth
Last seen: 3 years 9 weeks ago
Bournemouth
Timezone: GMT+1
Joined: 2007-05-31
Posts: 693
Points: 45

Ok

Apology accepted (providing of course I don't get called in to my line managers office at some point to ask why a massive naked chick appeared across my screen, haha).

But yeah, seriously, please consider the people whom are out to try and help you next time!

John

Have YOU said Hello yet?
The CSSCreator Hello Thread

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 37 weeks 1 day ago
Joined: 2004-06-30
Posts: 9668
Points: 801

Would you mind sharing how

Would you mind sharing how you accomplished it? Other people may search for "glow" borders and it helps if people explain how they achieved it.

If you want to post the original url, in your original post, feel free but make sure you edit the title to add [NSFW] and a big warning before the link Wink

Remember yandy? We helped with that, that was certainly not work safe Wink

Verschwindende wrote:
  • CSS doesn't make pies

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

No the link wasn't suitable,

No the link wasn't suitable, and was only by way of an example, the effect is what is commonly achieved with a shadow gif/jpg, page width etc.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

73minstrel
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2007-08-07
Posts: 3
Points: 0

Well

Actually I just achieved it with a photoshop image and a million slices and divs, not sure if it was the best way but it worked

I just used 20px on either side of my imgae with a forground to transparent gradiant. than sliced it and used it as BKG for my divs