navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Changing DW's default border settings

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Dreamweaver Help >> Changing DW's default border settings
Page: [1]
 
sunseenli

 

Posts: 4
Joined: 9/17/2007
Status: offline

 
Changing DW's default border settings - 9/17/2007 14:47:42   
Hi all,

I'm creating a very image-intensive website through dreamweaver, where smaller versions of the pictures serve as thumbnails linking to full-size pictures (very basic.) The thing is, I'd rather not have borders (you know, the blue lines denoting a link) around any of the thumbnails. I can just go into Properites and put "0" in the border tag, but when I'm doing hundreds of images a day that can get really monotonous. Is there a way I can change a setting in Dreamweaver so the default is border=0 and I'd have to change it if I *did* want a border? It's maddening because Dreamweaver 8 did just that, but now that I've upgraded to CS3 it seems like I'm stuck...

Thanks in advance,
Crissy
Tailslide

 

Posts: 5915
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 14:59:06   
Add
img {border:none;}


to your stylesheet

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to sunseenli)
sunseenli

 

Posts: 4
Joined: 9/17/2007
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 15:05:44   

quote:

ORIGINAL: Tailslide

Add
img {border:none;}


to your stylesheet


Where should I add that? I wasn't using CSS, does Dreamweaver create a stylesheet automatically?

(in reply to Tailslide)
mar0364

 

Posts: 3026
Joined: 4/5/2002
From: Florida, US
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 15:24:25   
It should be in the head of your document. Let me know if you need help finding that.

Regards!
Rich

_____________________________

Easy Web

“Stay committed to your decisions, but stay flexible in your approach.”


(in reply to sunseenli)
sunseenli

 

Posts: 4
Joined: 9/17/2007
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 15:48:51   
quote:

It should be in the head of your document. Let me know if you need help finding that.

Regards!
Rich


Hi Rich,

Two things:

1) I tried putting that in the header, it didn't seem to work; there was still a border around the image both in Dreamweaver, and in IE when I tested it.

2) Ideally, I'd really like to set this up so that it's just something Dreamweaver does by default, like how I was able to tell it to save my pages as .htm rather than as .html. I'd hate to have to insert code into every page I make from now on just to tell it not to put a link border around my thumbnails. Any thoughts?

Thanks,
Crissy

(in reply to mar0364)
mar0364

 

Posts: 3026
Joined: 4/5/2002
From: Florida, US
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 16:03:34   
Do you have a link I could look at? That would help a lot.

Rich

_____________________________

Easy Web

“Stay committed to your decisions, but stay flexible in your approach.”


(in reply to sunseenli)
sunseenli

 

Posts: 4
Joined: 9/17/2007
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 16:15:52   
quote:

Do you have a link I could look at? That would help a lot.

Rich


Sure:

http://www.crimsonskycreations.com/extras/New%20SMA/venus/supersvenus.htm

Like I said, it's relatively easy enough to just change the border attribute to "0" every time I add a picture...it's just a massive time waster (not to mention monotonous) to have to do that EVERY time I add a picture, considering the site is nothing other than a large image gallery.

Especially since that USED to be the Dreamweaver default--I'd add a an image, make it a link, and it wouldn't have a border. If I wanted it to have a border, then I'd have to go change it.

I've tried looking through the "Preferences" for Dreamweaver to see if there's a box I can tick to change it, but so far, no luck, and I've had no luck searching for the answer through Google, either.

~~Crissy~~

(in reply to mar0364)
Tailslide

 

Posts: 5915
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 17:18:37   
Crikey you really aren't using CSS!!

Ok so you need to add it like this:

<style type="text/css">
<!--
img {border:none;}
-->
</style>


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to sunseenli)
caz

 

Posts: 3468
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Changing DW's default border settings - 9/17/2007 20:04:39   
Crissy, until mar gets back to you try adding Tailslide's answer to your pages like this,

<html>
 <head>
  <title>
   Super Sailor Venus
  </title>
 <style type="text/css">
<!--
img {border:none;}
-->
</style>
 </head>


You will have to do this in the code view though. At least it will be only changes per page rather than per image.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Tailslide)
mar0364

 

Posts: 3026
Joined: 4/5/2002
From: Florida, US
Status: offline

 
RE: Changing DW's default border settings - 9/18/2007 8:29:37   
Crissy let me know if Tails suggestion worked?

_____________________________

Easy Web

“Stay committed to your decisions, but stay flexible in your approach.”


(in reply to sunseenli)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> Changing DW's default border settings
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts