kvarnerexpress 0 Report post Posted September 10, 2005 hello therewell i designed this image that includes text a logo i shall sayi am aware that i need to title it index.html when i upload the file i visit my website and it shows the file folder.now i only want that image i designed on there so when clients visit my site it only goes to that page the rest of my site isent done yet. i want it to be just like the sites you visit and it states underconstruction.programs ive tried: indesign, image ready, incopy cs2, dreamweaver.and i still dont understand please help meeh thanksoh and what classify's images html, css etc?kvarnerexpress Share this post Link to post Share on other sites
thablkpanda 0 Report post Posted September 10, 2005 I'm not too sure what you're asking.However if you visit your root directory and it shows a directory listing, instead of index.html, copy and paste the following, into a file called .htaceess, and save it. DocumentRoot index.html Upload that .htaccess file to the directory you're having problems with.Now i'm not understanding your problem, however I'm thinking that you created a image to state that your page is under-construction, and you want that image on the page..<html><head><title> Under Construction </title></head><body><img src="underconstruction.gif"><h4> This page is under construction </h4><div class="bodytext">This page is under construction, please visit back later, blah blah blah.<a href="mailto:webmaster@MYDOMAIN.com"/>E-mail the webmaster</a></div></body></html> - I thew that together off the top of my head. Sorry if it's not W3C, and you're worried about that kinda stuff.I think that's what you're looking for, replace the image URL with the actual one, and your e-mail address with the actual one..Notify me if that's not it. Oh and -Linking to a stylesheet -<link rel="stylesheet" type="text/css" href="STYLESHEET URL/URI HERE.css" />Classifying the beginning of a HTML page<html></html>Image string -<img src="LINK TO IT.. HERE.gif"> Holla if you need anything else, hoping this is what you're looking for. Share this post Link to post Share on other sites
biscuitrat 0 Report post Posted September 10, 2005 Just like Panda said - you'll want to just have a plain HTML page with maybe a background or something that displays your Under Contstruction sign. You may want a counter there too or a way for people to contact you (see Panda's code) while your site is down. Share this post Link to post Share on other sites
thablkpanda 0 Report post Posted September 10, 2005 Oh, I can get all kinds of fancy with that.. Neon on Black.. all kinds of fun.Panda - Still wondering if this solved the problem. Share this post Link to post Share on other sites
Rosuto 0 Report post Posted September 11, 2005 Hmm... Not really understanding what you're trying to say, but yes, like biscuitrat and panda have been saying, you should make an index.html and put your info on there... I'm not really sure what image you mean...? Share this post Link to post Share on other sites
Lozbo 0 Report post Posted September 12, 2005 However if you visit your root directory and it shows a directory listing, instead of index.html, copy and paste the following, into a file called .htaceess, and save it. .... Upload that .htaccess file to the directory you're having problems with. 184359[/snapback] I think you mispelled, Its .htaccess, like the second time you wrote it. And kvarnerexpress, i actually didnt understand what was your other question, but about the index issue, if your hosting offers you the "cpanel" you can also mess a little bit with it to see if you can configure what kind of extension file is the folder going to point at first (in case of having several files named "index" but with different extension, i.e. .htm, .html, .php...). Im not sure if you can change or admin this, or if theres a manual way to change a server file (if you have access to them), to address this problem. Hope i made my self clear. If you DO have cpanel (hosting at Xisto offers this service), you can control wheter or not you want a folder to show off its contents if theres no index files at all within it. You can find this in the section named "Index Manager" (Site Management Tools / Index Manager). Share this post Link to post Share on other sites
byte 0 Report post Posted September 18, 2005 And if you want it centered type in <center> between the <HTML> and <body> tags Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted September 18, 2005 And if you want it centered type in <center> between the <HTML> and <body> tags 187194[/snapback] Doesn't the center tag need to be closed? like this: <html> <body> <center> ... Under Construction Image Tag here ie:<img src="http://image_name.jpg"> .... </center> </body> </html> And if it is the only file in the web site, why not just name it "index.html" in order to avoid the .htaccess stuff? Another thing I do, as I build sites, is to create a version of this page to use for a dummy link. By renaming this file to something like "underconst.html", as you develop the menu structure, have all of the links for the web site point to this file. Then as you upload the files, there is an active file to point to and you then know that the coding is working properly. When the real file is completed and uploaded, alter the link to point to the new file and your site is bigger and better. Works for me. HTH Share this post Link to post Share on other sites
thablkpanda 0 Report post Posted September 18, 2005 Thanks Lozbo, you're right. <p align="center"> Centered text will be here </p> Non-centered text is here That will center the paragraph only in the paragraph in question.Lozbo, your way works, but all Cpanel really is, is a way to edit .htaccess and the <VirtualHost> tags in Apache's base setup.Panda Share this post Link to post Share on other sites
Lozbo 0 Report post Posted September 19, 2005 And if you want it centered type in <center> between the <HTML> and <body> tags 187194[/snapback] I think this tag has become obsolete in XHTML, so i would recommend you to use css and container divs, which will center the content inside the div, so you would have something like this: <body> <div id="container"> <p>text text text </p> </div> </body> and the css would go like that: body {text-align:center;}div#container {text-align:left;} There are also plenty of hacks to get rid of some troubles you may have while centering all the body, couse some browsers will center all text even though you declare the second rule of the container, it works fine in IE. And Panda, i am aware that all cpanel does is to graphically ease the work of what you can do in the code of some files, but im not really a coder, hehe some times i cant even remember how to write my own name, hehe, so ill rather go for the GUI, and maybe in time ill learn a little bit more about it. Hehe thanks! Share this post Link to post Share on other sites
reatum 0 Report post Posted October 3, 2005 And if it is the only file in the web site, why not just name it "index.html" in order to avoid the .htaccess stuff? Another thing I do, as I build sites, is to create a version of this page to use for a dummy link. By renaming this file to something like "underconst.html", as you develop the menu structure, have all of the links for the web site point to this file. Then as you upload the files, there is an active file to point to and you then know that the coding is working properly. When the real file is completed and uploaded, alter the link to point to the new file and your site is bigger and better. Works for me. HTH 187205[/snapback] If you are asking what I think you are asking, you can't just name an img something.html and expect the browser to determine that it should display the img.you have to make an index page and point to the img with img tags like the others have said. Share this post Link to post Share on other sites