home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

How do you get this border effect in CSS?

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1517
Discussions: 200,952, Posts: 2,379,481, Members: 246,320
Old February 26th, 2007, 07:43 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Jun 2004
Posts: 178
How do you get this border effect in CSS?

Hi

Here's an example of the effect I'm talking about http://www.lafraise.com/

How do they get the nice white border, with the rounded edges, and the small drop shadow? Is it all graphics, or some CSS programming?

Cheers

S
__________________
I'm looking for a male vocalist to work with. Go to http://people.aapt.net.au/celebritymusic/s...ikingsmith.html to email me
celebritymusic is offline   Reply With Quote
Old February 26th, 2007, 07:54 PM     #2 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,556
Blog Entries: 4
Send a message via Yahoo to RicheemxX
Assuming you mean the border on the corners of the page like this http://www.lafraise.com/fileadmin/la...ges/lflogo.jpg thats all done in photo shop or some other program and the total image is sliced to be added to the page

and this is in the wrong forum
__________________
“Every question involves someone having to work for an answer, isn't it about time you did your share”
"Non-technical questions sometimes don't have an answer at all."
Linus Torvalds
RicheemxX is online now   Reply With Quote
Old February 26th, 2007, 10:19 PM     #3 (permalink)
Anime Otaku
 
RobRich's Avatar
 
Join Date: Oct 2001
Location: Tampa, FL USA
Posts: 108,970
Blog Entries: 15
Thread moved to web development forum.
__________________
Robert Richmond | TechIMO Community Relations Director
Infinite perceptions. One reality.
FanFiction.Net - Unleash your imagination.
RobRich is offline   Reply With Quote
Old February 27th, 2007, 02:09 AM     #4 (permalink)
Member
 
Join Date: Jun 2004
Posts: 178
Cheers for that.

I'm actually refering to the CSS code for the thin white border that follows on from this image. Plus, are all the corners just graphics, or is it code?

Thanks
celebritymusic is offline   Reply With Quote
Old February 27th, 2007, 02:37 AM     #5 (permalink)
分かりますか。
 
carl33p's Avatar
 
Join Date: Feb 2006
Location: Gville, FL
Posts: 7,156
Blog Entries: 9
Send a message via AIM to carl33p
Dont have a clear picture of what your referring to.
But most likely, its all graphics. I would proly make it all in Photoshop, then use image mapping for links.
carl33p is offline   Reply With Quote
Old February 27th, 2007, 02:30 PM     #6 (permalink)
Super F@D Folder
 
Join Date: Jun 2004
Posts: 5,083
Send a message via AIM to sr71000
ehh...some is code...some is done with imgs. anything that's shaded or rounded is an image...anything that is a solid color and spans an entire area is css. As a general rule what I do is create 4 small ims that are the background color and make a div whatever color i want it to be. Then i position the 4 rounded corners of the background colors in the 4 corners using absolute positioning. that way I don't have to use a gigantic image and the box can be resized fluidly if i so choose!
sr71000 is offline   Reply With Quote
Old February 27th, 2007, 03:40 PM     #7 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,556
Blog Entries: 4
Send a message via Yahoo to RicheemxX
Pretty much just as sr71000 explained the guy created two corner stones at the top and repeated and small image that creates the top border and blue gradient color areas and then created a small image that runs the sides for the borders. Finally there is another full length image for the bottom corners and border.
RicheemxX is online now   Reply With Quote
Old February 28th, 2007, 02:24 AM     #8 (permalink)
Member
 
Join Date: Jun 2004
Posts: 178
Thanks for your help guys.

I'm new to CSS. Just wondering if there is a way to make those small images you talk about repeat down the sides without having to insert a million image tags?

Cheers

Shaun
celebritymusic is offline   Reply With Quote
Old February 28th, 2007, 02:31 AM     #9 (permalink)
Super F@D Folder
 
Join Date: Jun 2004
Posts: 5,083
Send a message via AIM to sr71000
depends on how you're doing the layout....and yea....you can't just specify img after img if you don't know the size of that your going to be displaying!! just make a div that's say 10px wide and 100% tall (fills parent container) and set the background to the img you want and repeat y. That'll make it go all the way along the left side. Then with absolute positioning you can do the same thing with the right, top, and bottom. Then last you add the corners in

the beautiful thing about html and css is you can see their source!! check out that page and figure out how they did it if you can...best way to learn!
sr71000 is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
diffuse effect Kphu Graphic Design and Digital Photography 5 December 30th, 2006 04:45 PM
Looking for a certain effect in Photoshop Shiznaught Graphic Design and Digital Photography 4 March 2nd, 2005 08:43 PM
F@H effect on CPU ... ? aje Distributed Computing 9 August 26th, 2004 11:31 PM
Favorite Effect? tony_j15 General Gaming Discussion 12 November 5th, 2003 07:45 AM
cool effect...but why? sixf00t4 Webmastering and Programming 16 January 8th, 2003 02:25 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2943)
The disrespect of Obama by Russian .. (41)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (9)
Regular Build (11)
windows 7 problem (7)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (10)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Recent Discussions
tv not turn on-makes clicking sound (2)
SELLING FRESH,CVV,LOGINS,DUMPS,TRACKS.. (0)
CPU fan stops spinning randomly (9)
Common Spyware Solutions (105)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Modern Warfare 2: Who Bought It? (63)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Laptop with wireless problem. (3)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
windows vista security holes (10)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)


All times are GMT -4. The time now is 04:47 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



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