Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML & showing images

Status
Not open for further replies.

OracleScorpion

Programmer
Apr 27, 2002
35
BE
Hi, I am making a website by only using html and nothing else. I don't want to you any programs such as Dreamweaver or whatever there exists, I only want to use my little notepas and html. But I have of course several questions. One of those questions pops up in my mind at this moment, if there are more I shall ask them in this thread.

(1) On one of the pages I have a series of little icons and when you click on them they show the full image on a new page. Now this is all nice, but is there any way I can let the new page which opens adapt automatically to the size of the image? So that you only see the image and no extra wwhite space?

Please tell me if it is possible in html ^-^
 

You cannot do this with HTML alone. You will have to use some sort of scripting language, such as JavaScript or VBScript.

Hope this helps,
Dan
 
Nothing wrong with using Dreamweaver MX as a rapid development tool.
The code it produces is alot better than most people write by hand. Plus it has syntax checking, excellent find/replace facilites etc. It's JavaScript can get a bit bloaty, but it does tend to work in all browsers.
I have also found it useful as a learning aid.

I could easily dismiss Notepad and say that you should use EditPlus since it offers a far superior text only editing environment with customisable templating and syntax checking than Notepad does... oh it has FTP capability too... and project management. Get with it dude... use EditPlus. Notepad is so last century! ;-)

Anyway it's "each to his own", but a blinkered attitude will only make you look a fool in the long run.

Why limit your arsenal of available tools?
Do you only have 1 screwdriver in your toolbox? What's it like at nailing things?

That said, I tend to use Dreamweaver in the initial stages of coding a project to get fast "scamps". The code is then refined/reworked by hand in EditPlus (see above).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top