Border Question

  • paulk
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Dec 21, 2002
  • Posts: 62
  • Loc: Boston
  • Status: Offline

Post January 1st, 2003, 9:35 pm

Simple question but can anyone tell me how to set up Border = "1" with automatic black border color for every single image used in the index.html? Thanks

Paul
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 1st, 2003, 9:35 pm

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 1st, 2003, 9:40 pm

So is the problem that you want the color to be black by default? or is the problem that you want all images to have a border by default. Also with the images are you linking them to something else?
  • paulk
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Dec 21, 2002
  • Posts: 62
  • Loc: Boston
  • Status: Offline

Post January 1st, 2003, 9:42 pm

Yeah...i want all images to be by default border width 1 and Color black, because usually default when you insert a URL into the thumb, the default border color is Blue...

Paul
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 1st, 2003, 9:43 pm

Okay you can do this with CSS pretty easy I think, one sec and I will show you how you should do the code
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 1st, 2003, 9:51 pm

Okay simply put this in your head area at the top of your page. This css should let you make all your border's black by default as long as they are linking to something:


Code: [ Select ]
A:link IMG
{
  border: solid;
  border-width: 1px;
  border-color: #000000;
}
  1. A:link IMG
  2. {
  3.   border: solid;
  4.   border-width: 1px;
  5.   border-color: #000000;
  6. }


Let me know if that solved your problem
  • paulk
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Dec 21, 2002
  • Posts: 62
  • Loc: Boston
  • Status: Offline

Post January 1st, 2003, 10:10 pm

Thanks man, it works!

Paul
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 1st, 2003, 10:51 pm

Anytime!
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post January 2nd, 2003, 1:13 pm

that's what OZZU is for! nice to see people getting the help they need.

[i feel all warm and fuzzy right about now]

/unflux
Image
UNFLUX.FOTO
  • Borrow -A- Geek
  • Professor
  • Professor
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 775
  • Loc: Dallas/Ft Worth, Texas
  • Status: Offline

Post January 2nd, 2003, 3:09 pm

UNFLUX wrote:
[i feel all warm and fuzzy right about now]



hehe :oops:
  • evoniee
  • Born
  • Born
  • No Avatar
  • Joined: Jan 02, 2003
  • Posts: 1
  • Loc: ShangHai
  • Status: Offline

Post January 2nd, 2003, 11:51 pm

I got the same problem, thx a lot
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 2nd, 2003, 11:53 pm

Glad its even helping others 8)
  • imgtube
  • Novice
  • Novice
  • User avatar
  • Joined: Nov 29, 2006
  • Posts: 16
  • Status: Offline

Post December 3rd, 2006, 8:04 pm

there are sometimes better things to use than borders

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 103 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.