Sign Up   Sign In

Join the community!
Sign in now with your Facebook account.
ForumsTechnicalThread
Forum
Advanced Search
Filter     |   View Watchlist
[ Print Friendly ] [ Watch Thread ]


Web Coding Questions. [ 1 ] [ 2 ] ... [ 29 ] [ 30 ]
Fankle
Fankle
#1   Posted 4 years ago
+ 1 Cool     [ Reply ]   [ Quote ]
I do hope this thread will be benificial. Hopefully it will leave the quick technical question, the official firefox, and official programming thread open more for their own respective topics. I know for one, I never know where to post a web coding question.

I want to get rid of tables on my pages, what can I use as an alternative?
comrade693
comrade693
#2   Posted 4 years ago
    [ Reply ]   [ Quote ]
There isn't a good reason to completely get rid of tables. You just need to use tables for tabular data. For layout purposes, you should use divs and CSS positioning.
Fankle
Fankle
#3   Posted 4 years ago
    [ Reply ]   [ Quote ]
Ok, so if I use divs and css, what happens when you look at the page on a palm or mobile phone (Not that you would, but you could)?
comrade693
comrade693
#4   Posted 4 years ago
    [ Reply ]   [ Quote ]
In reply to Fankle, #3:

I've actually done that on some of my sites just to see. Most of those browsers are getting updated as well because WAP never really caught on. They usually just shrink everything, but you can also specify a media type when you include a style sheet for 'handheld'
spyyddir
spyyddir
#5   Posted 4 years ago
    [ Reply ]   [ Quote ]
In reply to Fankle, #3:

If you correctly label your style sheets for their respective media types (screen for computers, print for paper, handheld, etc) then they those devices should only use the styles relevant to them. If no style sheets are available for a particular device, the page isn't styled, which can be a very good way to display it on handheld devices due to the small amount of screen real estate.
cloneeden
cloneeden
#6   Posted 4 years ago
    [ Reply ]   [ Quote ]
Um. I have a problem with my FTP program and the sites I made on Dreamweaver.

I made the site exactly as I wanted it but when I put it on the FTP program and upload it to comicgenesis, the site looks like it was made by a two-year-old without any of the things from my original files. Is there a way I can avoid using FTP programs or do I have to get my own domain? ><;;;
reedmon29
reedmon29
57 54 46
#7   Posted 4 years ago
    [ Reply ]   [ Quote ]
In reply to cloneeden, #6:
Is there a way I can avoid using FTP programs or do I have to get my own domain?
If you get your own domain, you'll still be using "FTP programs".
If comicgenesis uses their own FTP system, then they're possibly altering your code, and you're screwed so long as you stick with them. But, there is the possibility that it is your error... Internet addresses are case sensitive, while local files are not. I find that to be a comon error I make.
comrade693
comrade693
#8   Posted 4 years ago
    [ Reply ]   [ Quote ]
In reply to reedmon29, #7:

Actually, they are only case sensitive if the server they are on is configured that way. You can make them so they aren't, but generally, it's good to follow the case sensitive rule.
rockfx01
rockfx01
#9   Posted 4 years ago
    [ Reply ]   [ Quote ]
Yes, a good practice is to lowercase everything, at least link/file-wise. If you make a point to never name a file using any capital letters, then there's no doubt in always typing links the same way, and less of a chance for links to be broken.
cloneeden
cloneeden
#10   Posted 4 years ago
    [ Reply ]   [ Quote ]
But what if my pictures in, let's say, a rollover navigation bar are linked to the pics on my comp? Do I have to alter EVERY source to the file I put it in in the FTP program? Cause my site does not show when I upload it, at least not the way I want it.
comrade693
comrade693
#11   Posted 4 years ago
    [ Reply ]   [ Quote ]
In reply to cloneeden, #10:

Yes, it should reference the web address of your images, not the address of them on your computer.
cloneeden
cloneeden
#12   Posted 4 years ago
    [ Reply ]   [ Quote ]
>< Ugh. Then I have to remake everything. Alright, so if I upload this images of the navigation bar to photobucket, then set the source to that, the bar will work when I upload to comicgenesis?
comrade693
comrade693
#13   Posted 4 years ago
    [ Reply ]   [ Quote ]
You should upload the images to your web host where you are hosting your site...photobucket cuts images off after they use too much bandwidth.
cloneeden
cloneeden
#14   Posted 4 years ago
    [ Reply ]   [ Quote ]
Web host? Like upload them the comicgenesis and ... What?
comrade693
comrade693
#15   Posted 4 years ago
    [ Reply ]   [ Quote ]
Wherever you are putting your pages should be the same place as where you are putting the images. Then you reference them to that path.
cloneeden
cloneeden
#16   Posted 4 years ago
    [ Reply ]   [ Quote ]
In the FTP program? I'm sorry! Like I said, I haven't a clue what I'm doing >< But I know I can learn it.
comrade693
comrade693
#17   Posted 4 years ago
+ 13 Cool     [ Reply ]   [ Quote ]
You need to edit the source of you web sites. It should have nothing to do with your ftp program.
cloneeden
cloneeden
#18   Posted 4 years ago
    [ Reply ]   [ Quote ]
Ohhh like when I put it in the FTP program I would put something like src="/images/navi1.jpg" or something?
reedmon29
reedmon29
57 54 46
#19   Posted 4 years ago
+ 13 Cool     [ Reply ]   [ Quote ]
In reply to cloneeden, #18:

Yes. A local link (/images/navi1.jpg) would work wherever you move the file.
My advice, however, is to use absolute links for your online files. The way a local link works is that it is added to where the file that asks for it... for example, if http://www.mysite.com/index.html requests an /images/navi1.jpg file, it will actually look for http://www.mysite.com/images/navi1.jpg
So that you can know where it's getting the file from at all times, I use the longer version in my personal websites. Just remember you need an http:// at the front.
cloneeden
cloneeden
#20   Posted 4 years ago
    [ Reply ]   [ Quote ]
Okay! Thanks you two!! I'm gonna split my mod points between you two! You've been lots of help and I believe I'll be able to do this now!
Fankle
Fankle
#21   Posted 4 years ago
    [ Reply ]   [ Quote ]
I'm looking for a free webhost that supports php and the like. Are there any out there?
reedmon29
reedmon29
57 54 46
#22   Posted 4 years ago
+ 1 Ditto     [ Reply ]   [ Quote ]
In reply to Fankle, #21:

Hard to say, but I would say that if you found one, it probably wouldn't be worth using. Every host I've seen only offers PHP and MySQL for paid accounts.
Fankle
Fankle
#23   Posted 4 years ago
    [ Reply ]   [ Quote ]
alrighty, thanks. ill see what kind of funds i can put together, or see if i can get my comp to run apache as a server.
h2freak
h2freak
#24   Posted 3 years ago
    [ Reply ]   [ Quote ]
i am trying to get the get functio in php to work. my page is here it should have the flash object on the top and bottom of the line. i am just using it as a test. there are two rows in my table. id and text. i need it to use the row's id number ad the get variable and it should post the text.
reedmon29
reedmon29
57 54 46
#25   Posted 3 years ago
+ 2 Ditto     [ Reply ]   [ Quote ]
In reply to h2freak, #24:

You do know it's generally impossible to see a PHP file's source code, right?
Fankle
Fankle
#26   Posted 3 years ago
    [ Reply ]   [ Quote ]
Hello,
I'm trying to make a page fit the screen resolution, but I would like to have everything resize for all of the different resolutions. I enjoy the larger resolutions, but I also want it to be accessible for smaller resolutions. I am stuck here. My question is this, should I use Javascript to find the resolution, and then redirect the to the appropriate sized page, or is there a way to use css to resize everything to fit on different resolutions depending on the resolution? Any help would be greatly appreciated.
Thanks,
-Fankle
spyyddir
spyyddir
#27   Posted 3 years ago
    [ Reply ]   [ Quote ]
In reply to Fankle, #26:

Just make fluid layouts. Specify sizes in percents (%) rather then pixels. Just by doing that you'll ensure it works in every resolution out there.
Fankle
Fankle
#28   Posted 3 years ago
    [ Reply ]   [ Quote ]
I changed the picture sizes to percent, but it didnt work 100% at 1024 is he same as 100% at 800. Did I miss something?
spyyddir
spyyddir
#29   Posted 3 years ago
    [ Reply ]   [ Quote ]
Are you using tables or css for the layout?

If you are using tables then... well you shouldn't be.

If you're using css, change the sizes in the css to %s not the images. You can't change image sizes like that unless you use SVG which isn't supported by anything below Firefox 1.5 and Camino 1.0.
reedmon29
reedmon29
57 54 46
#30   Posted 3 years ago
    [ Reply ]   [ Quote ]
In reply to spyyddir, #27:

Actually, about that...
I've been wanting to do the same thing for my site, mostly after reading a rant by someone about sites using pixel-font sizes (Which I do). I want my websites to be veiwable on anything from 800x600 and above, but I'd also like it to be readable on some person's 50" 1366x768 plasma if they want, or just as readable on some 14" 2400x1800.
My problem is with the design. I like to have the content centered, like here on RT (My site, for referance). It works perfectly on 800x600, since the middle bar is slightly more than 700 pixels wide.
My problem? I'm afraid making my page use percents to appear similar on 1024x768 (My screen... ) and 1280x960 would make it totally unreadable on 800x600.
Should I forget about 800x600 support, or would making the page use percents not be as painful to read on 800x600 as I'm thinking it will be?
[ 1 ] [ 2 ] ... [ 29 ] [ 30 ] [ Next ]