navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
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

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

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

 

Mind of Its Own

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

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

All Forums >> Web Development >> General Web Development >> Mind of Its Own
Page: [1]
 
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
Mind of Its Own - 10/12/2004 22:35:50   
Is there ANY way to keep FP from inserting height and width attributes on images automatically?

Because my site consists of tons of images all the exact same size, I wanted to control everything - height, width, border, margin - with an external style sheet. Smart, huh?

I painstakingly removed all height="300" width="192" attributes - 77 of them over 44 pages - and saved in HTML mode, have "Preserve Existing HTML" checked in Page options...only to have FP automatically reinsert them!!!

This is R##$$*IWE()$&#_&*)(&U#$)%&@#$)%U& me OFF.

Is there no way around this?

Considering that this is not even HALF of the images that will be on this site, I'm pretty peeved at all the extra code that will be in there with all those height/width attributes.

FURHTERMORE, I created a class for "thumb" sized images with it's own border, margin, attributes - and FP won't recognize the border. Just ignores it.

I'm really po-ed with FP right now.

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog
Giomanach

 

Posts: 6130
Joined: 11/19/2003
From: England
Status: offline

 
RE: Mind of Its Own - 10/12/2004 22:59:06   
I think thats a part of FP, like it or lump it.....

There's always DW? or GL? Or First-Page?

_____________________________




(in reply to Peppergal)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: Mind of Its Own - 10/12/2004 23:11:35   
Switching editors is not an option at this point in time. This web must be finished this week.

I'm not going to try and master the learning curve of a new editor right now either. :/

I was hoping someone knew of a free or cheap plug in / add-in to correct this - like the one I have that prevents FP from inserting the "Generated by" meta tags in all documents.

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to Giomanach)
Giomanach

 

Posts: 6130
Joined: 11/19/2003
From: England
Status: offline

 
RE: Mind of Its Own - 10/12/2004 23:34:32   
No idea if they have one, but try http://accessfp.net

See what they have to offer

_____________________________




(in reply to Peppergal)
caz

 

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

 
RE: Mind of Its Own - 10/13/2004 5:06:34   
I have not had this problem, but then again I work in code view - I thought that you did too? Have you got Optimise HTML checked when publishing?, I understand that that can cause similar problems. Maybe it is something simple like refreshing after saving? I know that I often forget to do that.

Change the record Dan, all WYSIWYG editors have their own quirks.

_____________________________

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 Giomanach)
Giomanach

 

Posts: 6130
Joined: 11/19/2003
From: England
Status: offline

 
RE: Mind of Its Own - 10/13/2004 5:14:58   
Karen doesn't have FP2003...or do you?

_____________________________




(in reply to caz)
caz

 

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

 
RE: Mind of Its Own - 10/13/2004 5:54:30   
Thinking more about this, it's like a template is overiding Karen's changes. Were these pages originally constructed using a template?

This could explain why the problem exists - that happened to me, too. Nearly drove me daft, until I remembered that I'd constructed a template for the site previously and that had inline styles.
:)

_____________________________

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 Giomanach)
d a v e

 

Posts: 4179
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: Mind of Its Own - 10/13/2004 9:48:20   
i don't understand why you would want to do this in css - it's good coding practice to do it in html and the page will dispaly faster as it leaves the correct amount room for pictures till they load as soon as it hits the code rather than waiting till the stylesheet loads.

_____________________________

David Prescott
Gekko web design

(in reply to caz)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: Mind of Its Own - 10/13/2004 12:46:24   
I'll check that out, thanks Dan.

_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to Giomanach)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: Mind of Its Own - 10/13/2004 13:01:42   
quote:

I have not had this problem, but then again I work in code view - I thought that you did too? Have you got Optimise HTML checked when publishing?


Yes, I work in code view 90% of the time. The error occurs after I save the document, then switch to preview mode. WHen I go back to code view to continue working, the attributes are back. I do have "preserve existing html" ticked. This "auto correction" bugs me...just like the quirk that was changing my one CGI link - changing a sequence of numbers and characters into something else - thus rendering the link dead. I have to edit that page now in NoteTab and upload it to the server to keep FP from getting its grubby paws on it and "fixing" it for me. :)

No I do not have FP2003 though when I get my laptop (hopefully) I'll probably upgrade as I've already installed FP2002 on two machines.

quote:

Thinking more about this, it's like a template is overiding Karen's changes. Were these pages originally constructed using a template?


No, it's a page I created myself - no template except an "empty" page I use to copy paste new pages from. There are no inline styles, shared borders, etc. Just a link to a line style sheet which is what I want to control the images.

quote:

i don't understand why you would want to do this in css - it's good coding practice to do it in html and the page will dispaly faster as it leaves the correct amount room for pictures till they load as soon as it hits the code rather than waiting till the stylesheet loads.


I thought I explained this in my first post; maybe I wasn't clear.

#1. My entire site is controlled by one lone style sheet - which is all text related - no divs or anything.

#2. These pictures are all exactly the same and will all be displayed in exactly the same way on every page they appear. There are only about fifty now but there will eventually be three times that many or more - possibly several hundred pictures. I'd rather have

<img class="listing" src="folder/name.jpg" alt="text text text"> repeated hundreds of times than this:

<img style="border: 1px solid black; float: left; margin: 3px;" src="folder/name.jpg" height="300" width="192" alt="text text text">

When you multiply that over hundreds of times, the code begins to add up, especially since the alt text can be quite long-winded for some pictures.

I want to do this for 3 reasons - number one, it's easier for me to type the code for the styled images, and number two, the style sheet will already be loaded and the browser can read the page faster with less code, and number three - it will help keep the file size down. On an image intensive site, this is important.







< Message edited by Peppergal -- 10/13/2004 13:20:52 >


_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to d a v e)
caz

 

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

 
RE: Mind of Its Own - 10/14/2004 9:02:42   
quote:

The error occurs after I save the document, then switch to preview mode


Is that FP Preview, or preview in browser? If it's FP preview, maybe that is causing the problem. What happens if you just do one, publish to the server without previewing; what is it like on the server?

How does FP use it's cache locally?

_____________________________

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 Peppergal)
Giomanach

 

Posts: 6130
Joined: 11/19/2003
From: England
Status: offline

 
RE: Mind of Its Own - 10/14/2004 9:05:51   
quote:

How does FP use it's cache locally?

FP Preview "simulates" IE...so it'll work on the same basis...only using local files rather than remote.


_____________________________




(in reply to caz)
caz

 

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

 
RE: Mind of Its Own - 10/14/2004 10:17:23   
yes, but which local files? Is there a problem with the fp temp files?

_____________________________

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 Giomanach)
Giomanach

 

Posts: 6130
Joined: 11/19/2003
From: England
Status: offline

 
RE: Mind of Its Own - 10/14/2004 10:23:09   
Local files as in the ones in the FP Web...not %systemroot%/Temp Internet Files or C:\Documents yada yada..

FP doesn't use Temp files as such....they're just called Temp files for some obscure M$ reason:)

_____________________________




(in reply to caz)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: Mind of Its Own - 10/14/2004 12:22:28   
quote:

Is that FP Preview, or preview in browser? If it's FP preview, maybe that is causing the problem. What happens if you just do one, publish to the server without previewing; what is it like on the server?


It still ads the attributes online. It doesn't show in my local copy though until I close it and re-open it again.



_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to caz)
caz

 

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

 
RE: Mind of Its Own - 10/14/2004 12:50:02   
I think that we are trying to do the impossible with 02
Why you can't do this

Re FP temp cache: See here


_____________________________

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 Peppergal)
Peppergal

 

Posts: 2207
Joined: 9/20/2002
Status: offline

 
RE: Mind of Its Own - 10/14/2004 13:45:01   
thanks -

I just wish there was an add-in to override it. :)


_____________________________

Northeast PA / Poconos/ Lake Wallenpaupack Real Estate
wallenpaupacklakeproperty.com
Karen's Real Estate Blog

(in reply to caz)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Mind of Its Own
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