Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 31st, 2005, 10:39 PM   #41
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
I haven't seen someone cause this much trouble so quickly on a forum in such a short time in a while. It's like watching a bad soap opera here. I've kept my mouth shut for the most part because most of my life is spend arguing points, and in this case I don't need to say anything, it's already out on the table.

Bryan, you have a fucking hell of a lot to learn, and i'm not simply talking web development here. End of story.
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Nov 1st, 2005, 12:20 AM   #42
Obtruse_Man4
Programmer
 
Obtruse_Man4's Avatar
 
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0 Obtruse_Man4 is on a distinguished road
wow, I go to work and all hell breaks loose! I've just begun using div tags and css, and it's pretty sweet what you can do with them. I've gotten pretty good at editing css and php, but I haven't written very much of it myself. Thanks DaWei and iignotus. I do prefer css, because as far as I can see it saves you a lot of time. I've been trying to make my code more efficient. Lately I have been using the php <include> tag a lot, and it's very handy. It's amazing how one line of code can simplify your entire site. Before I used the <include> tag I went to each html page and edited the header code to change the links at the top of the page. Now all I do is change my header.php file and the whole site changes! I can see why the <center> tag is old news now. I don't mind recoding my site, in fact that's what I'm doing. In the long run it will make it easier to add to and make my site more efficient. Plus I learn in the process. Thanks again.
__________________
"I have many layer-eight problems in my life, including myself."
Obtruse_Man4 is offline   Reply With Quote
Old Nov 1st, 2005, 12:53 AM   #43
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
Humm... I was kinda hopeing you would come back and end this thread. No make more questions.

So you are or are not going to use the tamplate I created?
The sooner you answer the sooner we can bring this to a end.
bja888 is offline   Reply With Quote
Old Nov 1st, 2005, 1:29 AM   #44
Obtruse_Man4
Programmer
 
Obtruse_Man4's Avatar
 
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0 Obtruse_Man4 is on a distinguished road
I was trying to put it nicely bja888, but I didn't like your solution, and you are an idiot. If I read your template correctly, it would only work on certain resolutions. It only pushed my footer down a certain number of pixels. I can do that with <br> tags. CSS is so much more efficient, and I don't see why you keep replying pointlessly to this thread.
__________________
"I have many layer-eight problems in my life, including myself."
Obtruse_Man4 is offline   Reply With Quote
Old Nov 1st, 2005, 2:36 AM   #45
Obtruse_Man4
Programmer
 
Obtruse_Man4's Avatar
 
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0 Obtruse_Man4 is on a distinguished road
argh, I used DaWei's example code to redo my downloads page. It looks awesome in firefox, but it's looks totally screwed up in IE. The css code iignotus gave me doesn't even work. I don't use IE but a lot of people do. Is this code not globally browser friendly or did I not use the code correctly?
__________________
"I have many layer-eight problems in my life, including myself."
Obtruse_Man4 is offline   Reply With Quote
Old Nov 1st, 2005, 2:47 AM   #46
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Maybe you can paste what you have and we can try and make suggestions.
__________________

tempest is offline   Reply With Quote
Old Nov 1st, 2005, 7:04 AM   #47
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Are you saying my simple example didn't work in IE? It works perfectly, here (screenshot attached). If you are doing a number of more complex things, you always have to take into consideration the poor performance of IE, in terms of W3C DOM compliance. One important thing to do is to make sure your DOCTYPE specification is correct. IE will perform differently depending upon whether no DOCTYPE is specified, it's using "quirks" mode, or it asked to be as strictly compliant as possible. Sometimes IE does better with stringent requirements, and sometimes it does better with more relaxed requirements. That's what makes it a pain-in-the-butt. In my last three applications I only had to browser-sniff for one thing, and that was a very uncommon situation involving a div's "table-type" attributes in conjunction with display mode. I was, in fact making rows in a shopping cart disappear and reappear according to use and mode (cart/catalog). IE doesn't always interpret the container hierarchy correctly, in terms of what is parent and what is child. It can truly be a pain in the butt. One has to either dig out all the relevant facts, avoid some particular requirement, or put IE in a garbage disposal and giggle insanely as it goes sewer-bound.
Attached Images
File Type: jpg ie.jpg (20.0 KB, 41 views)
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 1st, 2005, 9:43 AM   #48
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
The css code iignotus gave me doesn't even work.
!! It works fine for me. Put your entire website (those two pages and the css style sheet) up here as [ code ] and I'll try to see what's wrong.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Nov 1st, 2005, 11:09 AM   #49
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Quote:
Originally Posted by DaWei
One important thing to do is to make sure your DOCTYPE specification is correct. IE will perform differently depending upon whether no DOCTYPE is specified, it's using "quirks" mode, or it asked to be as strictly compliant as possible.
XHTML transitional seems to work best for me.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Nov 1st, 2005, 11:28 AM   #50
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
Quote:
Originally Posted by Obtruse_Man4
If I read your template correctly, it would only work on certain resolutions. It only pushed my footer down a certain number of pixels. I can do that with <br> tags. CSS is so much more efficient...
You must be reading it wrong then. Try it! make a long page and a short page. It will always be at the bottom.
CSS is efficient, but it would be easier not to use it in this case.
Quote:
The css code iignotus gave me doesn't even work.
alreeady said that...
bja888 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:23 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC