|
|
|
#1 (permalink) |
|
Regular Forum Addict
Join Date: Mar 2006
Location: NYC
Posts: 322
|
Hey guys..Im new to web design,I mostly focus on Netowrk security and that stuff.anyway I have decided to host and create my own site using Apache and Dreamweaver for the design portion so I can be able to promote my music,etc
So to get to the point...my home page is ok,loads up fine and everything..on one of the other pages of my site...it always seems to come out weird This is how it looks during preview and how its supposed to look like: ![]() This is how it turns out in the internet browser: ![]() Any help will be really appreciated..this has me really frustrated btw url to my site is http://vaggo.servehttp.com its the habitat for humanity page that has the problem |
|
|
|
|
|
#2 (permalink) |
|
Digital Injection
Join Date: Dec 2002
Location: Alberta
Posts: 4,891
|
Is is a pathing issue where your CSS and image files aren't loading correctly?
__________________
Digitally Injected Trance - 24/7 STRESS (strĕs) noun - The confusion created when one's mind overrides the body's basic desire to choke the living shit out of some asshole who desperately deserves it. |
|
|
|
|
|
#4 (permalink) |
|
Digital Injection
Join Date: Dec 2002
Location: Alberta
Posts: 4,891
|
Well I don't know how your apache is setup but stick everything in your htdocs folder, or if you have Virtual Hosts setup stick everything into the appropriate folder.
As a standard application you should create a sub folder called images and another for css and the same for javascript etc. All pathing should reference the root of the web directory so when you do an image it would be <img src="/images/whatever.jpg"> Note the first forward slash in front of images. That tells it to start at the root then go into the images folder then the image whatever.jpg. The same application applies for all images and any internal links pointing to downloadable like pdf, word, other web pages, javascript, css etc (everything). I see too many people that do links like this: <img src="../../../whatever/image.jpg"> <---- which is stupid. Go back 3 folders then into the folder called whatever. When you path to the root first all the time you can't go wrong. You will run into too many probs (like when using frames and includes if you use PHP etc) when you don't do absolute pathing. Use it all the time and you won't have any probs. Hopefully that will help you out. ![]()
__________________
Digitally Injected Trance - 24/7 STRESS (strĕs) noun - The confusion created when one's mind overrides the body's basic desire to choke the living shit out of some asshole who desperately deserves it. |
|
|
|
|
|
#5 (permalink) |
|
Cruising at 120BPM
|
just looked at your source for a Untitled-1.html and i noticed that your stylesheets are linked to your C drive...
Code:
file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn/PageDesigns/styles/emx_nav_left.css
__________________
Fancy a ride on my Choo Choo Train? http://www.youtube.com/view_play_list?p=5795CE27FA841CD7 Last edited by HudsonHawk : Apr 9th, 2006 at 02:52 PM. |
|
|
|
|
|
#6 (permalink) |
|
Regular Forum Addict
Join Date: Mar 2006
Location: NYC
Posts: 322
|
Hey XS-NRG
Thanks a lot for your help...your right...and the way you explained it makes perfect sense...I just stuck the index and its corresponding css and image files right at the httdocs and it works...thanks BTW...now for my sub pages...in those folders,will I have to do the same thing in those folders..so like for my music page..in that folder have the html file and its css and image files?...and what should I call it...not index right? Anyway you have helped me out a lot...thanks man ![]() |
|
|
|
|
|
#7 (permalink) | |
|
Regular Forum Addict
Join Date: Mar 2006
Location: NYC
Posts: 322
|
Quote:
|
|
|
|
|
|
|
#8 (permalink) | |
|
Cruising at 120BPM
|
Quote:
__________________
Fancy a ride on my Choo Choo Train? http://www.youtube.com/view_play_list?p=5795CE27FA841CD7 |
|
|
|
|
|
|
#9 (permalink) | |
|
Regular Forum Addict
Join Date: Mar 2006
Location: NYC
Posts: 322
|
Quote:
![]() |
|
|
|
|
|
|
#10 (permalink) |
|
Regular Forum Addict
Join Date: Mar 2006
Location: NYC
Posts: 322
|
For those of you that helped me...my sites like 90% done...just have like 2 pages to go...but the hard part is over thanks to the help I got here
check it out now http://vaggo.servehttp.com |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|