Border Question

  • paulk
  • Beginner
  • Beginner
  • paulk
  • Posts: 60
  • Loc: Boston

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9086
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

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
  • paulk
  • Posts: 60
  • Loc: Boston

Post 3+ Months Ago

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
  • Posts: 9086
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

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
  • Posts: 9086
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

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
  • paulk
  • Posts: 60
  • Loc: Boston

Post 3+ Months Ago

Thanks man, it works!

Paul
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9086
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Anytime!
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

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
  • Borrow -A- Geek
  • Professor
  • Professor
  • User avatar
  • Posts: 763
  • Loc: Dallas/Ft Worth, Texas

Post 3+ Months Ago

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



hehe :oops:
  • evoniee
  • Born
  • Born
  • evoniee
  • Posts: 1
  • Loc: ShangHai

Post 3+ Months Ago

I got the same problem, thx a lot
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9086
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Glad its even helping others 8)
  • imgtube
  • Novice
  • Novice
  • User avatar
  • Posts: 16

Post 3+ Months Ago

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 69 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
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.