@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> hey people..
<0> can anyone help me out with a stupid IE layout bug?
<0> i've got this cell, which is exactly the right size for an image thats in it..
<0> and all browsers display it properly, except IE, which puts an extra 2-3 pixels empty space below the image which expands the cell beyond its specified dimensions..
<0> i also notice, that when i hilite the image, the empty space below the image hilites too..
<0> which i figure had something to do with why its reserving that space :/
<0> anyone seen anything like that?
<0> can anyone tell me if its possible to cheat a 'post' without using a form submit?
<0> what i want to do it be able to reload the page, but i need it to post the form data to its self so when it reloads it will still have all the same stuff in it..
<1> why not make the page actually submit the form to itself as it is. and have the server side script know when to repopulate the form for whatever reason or not
<1> i'm not sure i understand what you're ultimately trying to do. try describing your actual task
<0> if there a way i can submit the form on some event?
<0> i dont know javascript too well..
<0> if= is
<0> what i need to do, is reload the page when i change a select box.. to reload different contents into some different select boxes..
<1> onchange="form.submit();"



<0> one other thing i was wondering if i can do, can i embed an external page in a cell somehow, and then change/reload the target dynamically, without reloading the entire page?
<1> uhhh, not without an iframe which is a bad way to go
<1> i ***ume what you want to do is avail other form elements based on the choice of this drop down?
<1> unless you're using ajax.. you'll want to go the time tested route of submitting the form and having php know whether to redisplay the form with other information or otherwise
<0> Two-Bits: cool thanks..
<0> i'll stick with that method..
<0> is it possible to change the submit address?
<0> when i submit the form from a selectbox change event, i want to submit it to a different url..
<0> i have another question about PHP and interfacing with cookies...
<0> i'm trying to write a shopping cart, so i need to store a list of items in the cart.. can anyone suggest how i should structure this data in PHP, and how i would store that in a cookie? .. if a php variable is a complex type, like an array or something, and i store it in a cookie, will it save all the contents properly?
<2> ^Manu, php.net will have all your answers
<0> i just figured i'd ask a few people who might have some personal experience with the problem :P
<0> i've got the manual and stuff, just looking for ideas on different ways to go about it.
<3> ^Manu, what happen if i change my cookie, example price=0
<0> ah, right.. thx for that point!
<0> okay i spose i need to enter temporary information in another database then :/
<0> i didnt really wanna clog a database with temp data..
<3> ^Manu, session is another answer
<0> how does that work?
<3> check manual ?
<0> i was about to ask how i identify the session ;)
<0> okay
<0> ah ****, thats awesome ;) .. heh, i've been using a lot of url paramaters..
<0> i can probably get rid of them.
<0> also, is there a way i can redirect a post?
<0> when i change a select box, i want to post the form but to a different url than the post button.
<0> ie, so i can reload and not lose the form data.
<4> manu
<5> ever tried <form action="newurl.php"> ?
<0> djk
<0> what do you mean?
<6> you can change the action in javascript
<7> morning
<0> can anyone help me out with a stupid IE layout bug?
<0> i've got this cell, which is exactly the right size for an image thats in it..
<0> and all browsers display it properly, except IE, which puts an extra 2-3 pixels empty space below the image which expands the cell beyond its specified dimensions..
<0> :/
<8> ^Manu: css or tables?
<0> tables
<8> is there padding or cellspacing?
<8> or a border maybe?
<0> i also notice that IE doesnt seem to support height="%"
<0> if i set height="100%" in a table, in firefix, it fill the screen height.. but in i its screwed..
<0> in IE
<9> thats because it isnt valid html
<0> \firefox
<0> bah. i cant type anymore ;) .. its too late.
<8> no, height and width have been depreciated.
<0> hmmm..
<9> you should be using box models
<0> whats the preference?
<8> sup follower
<9> nada, got back from my friends funeral last night
<0> okay. well aside from that.. can you think why IE might be adding an extra few pixels to my image?
<8> ouch. sorry to hear man.
<9> yeah, pretty crappy
<0> when i hilite, the extra pixels go blue :/ .. so i figure its got something to do with that.. but i dont know why..



<8> ^Manu: as i said, check for padding, cellspacing, borders, etc...
<0> yeah i checked all that
<8> or a space after the image?
<0> padding, borders, spacing all 0.
<0> .no space.
<8> pastebin?
<0> kay
<0> or alternatively: http://www.redshiftclothing.com
<0> view with IE, its kinda screwed
<0> you can see the banner's cell is too bog :/
<0> big
<0> http://pastebin.com/730991
<8> set the height to like 97 or something
<0> erm, that doesnt seem very scientific..
<8> and you need to close you image tags
<0> really? i didnt know image tags had a closure
<8> <img src="/bleh.jpg" alt="" />
<0> thats xml
<8> that's valid.
<0> is it? i thought it was an xml thing.. are you sure thats standard html?
<8> any objections?
<10> xhtml
<10> any tags that has no closing tag needs to have that.
<0> i'd be keen to hear any other criticism too..
<1> you smell like ball sweat
<0> xhtml?
<10> try removing the linebreaks for <td> <img> </td>
<10> ^Manu: www.w3.org
<0> okay
<8> or use <nobr>
<8> but i dont think that would work
<10> shrug sometimes IE is being a pain with linebreaks =\
<8> yea
<0> good call.
<9> ohmygoth
<8> IE is teh evulish!
<10> <div><img..></div> and <div>[enter]<img..>[enter]</div>
<10> =\
<0> it was the line break..
<0> lame ;)
<10> are different.
<0> thanks for that!
<0> does anything else look terribly horiffic in my page source?
<0> i havent done any web dev for over 5 years.. CSS seems to have emerged in a big way since i was last working on a website :/
<8> other than tables, no. :) but i use tables for layouts also so i can't complain about that.
<0> whats the replacement for tables?
<10> div
<0> i've used browsers recently that dont even support CSS, so i'm a bit apprehensive to ditch my old ways ;)
<10> tables are still used, some people just dont like to use tables for layouts.
<8> they say tables are for presenting data
<8> which is true to some degree i guess
<8> but it works for layouts also with the advent of the border=0 property :)
<10> nod.
<11> i want to devide 2 integers and want to echo the result as an integer, not as float , how can i do ? (eg. 5/2= 2 , not 2.5
<10> i wouldn't mind using tables for layout :o its all depends on how one using it.
<10> @php echo 3/5;
<12> Result: 0.6
<10> @php echo (int)3/5;
<12> Result: 0.6
<10> @php echo int(3/5);
<12> PHP Fatal error: Call to undefined function int()
<10> er
<8> !php $a=5/2; echo floor($a);
<13> 2
<11> ah okay.
<8> !php $a=5/2; echo ceil($a);
<13> 3
<11> thanks.
<8> np
<0> okay cool, thx guys.
<0> oh do any of you know the property in the js form cl*** to change the target?
<0> or the 'action' rather?
<0> i just wanna change the post url.
<10> .action probably :P


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

bihun sup
#linux
#kl
#chat-world
#india
#allnitecafe
#allnitecafe
#kl
#india
put the blame on mame mp3



Home  |  disclaimer  |  contact  |  submit quotes