• Web Development Questions That Don't Need Their Own Thread v2
    3,079 replies, posted
this is a bad question but is it a good idea to use <center> tags? If not, what are some good replacements?
[QUOTE=Ac!dL3ak;30343409]this is a bad question but is it a good idea to use <center> tags? If not, what are some good replacements?[/QUOTE] <div align="center"></div>
[QUOTE=Ac!dL3ak;30343409]this is a bad question but is it a good idea to use <center> tags? If not, what are some good replacements?[/QUOTE]no [editline]8th June 2011[/editline] margin-left:auto; margin-right:auto; width:500px; will center a div horizontally
[QUOTE=TehWhale;30343873]no [editline]8th June 2011[/editline] margin-left:auto; margin-right:auto; width:500px; will center a div horizontally[/QUOTE] margin: 0 auto;
[QUOTE=Ac!dL3ak;30344615]margin: 0 auto;[/QUOTE]couldn't remember if it was that auto 0; didn't wanna give them incorrect information, couldn't be arsed to look it up at the moment
[QUOTE=TehWhale;30344624]couldn't remember if it was that auto 0; didn't wanna give them incorrect information, couldn't be arsed to look it up at the moment[/QUOTE] I just tried it, it is, thanks :D
removed [highlight](User was permabanned for this post ("Bot" - Swebonny))[/highlight]
Question here. I'm completely new when it comes to HTML/CSS/PHP/mySQL and all 4 of those things are requirements to complete my IT study (I got 10 weeks left). In other words I'm trying to learn some HTML/CSS/PHP/mySQL and I was wonder if you guys know any good books or videos or just sites that can get me on the way fast. I tried some O'Reilly books, the learning PHP, mySQL and javascript book is pretty good but I haven't found a good one for HTML and CSS yet. sidenote: I have some experience with Visual BASIC and C#
[QUOTE=WPlayer;30347512]Question here. I'm completely new when it comes to HTML/CSS/PHP/mySQL and all 4 of those things are requirements to complete my IT study (I got 10 weeks left). In other words I'm trying to learn some HTML/CSS/PHP/mySQL and I was wonder if you guys know any good books or videos or just sites that can get me on the way fast. I tried some O'Reilly books, the learning PHP, mySQL and javascript book is pretty good but I haven't found a good one for HTML and CSS yet. sidenote: I have some experience with Visual BASIC and C#[/QUOTE] Have you checked out [URL=http://www.tizag.com/]Tizag[/URL]? It's a great resource and I use it all the time when I forget a function's arguments.
[QUOTE=cas97;30347927]Have you checked out [URL=http://www.tizag.com/]Tizag[/URL]? It's a great resource and I use it all the time when I forget a function's arguments.[/QUOTE] I checked it out but I can't get into it properly for some reason. I just go by every chapter and don't feel any wiser in the end. Perhpas I should be making something for myself at the same time using the functions I get shown in chapters?
[QUOTE=deadeye536;30341692]Get rid of the filter, and use only -ms-tranform.[/QUOTE] thanks. My school firefox version is 3.0 :eng99: No @font-face support...
[QUOTE=TehWhale;30343873]no [editline]8th June 2011[/editline] margin-left:auto; margin-right:auto; width:500px; will center a div horizontally[/QUOTE] Don't you need to set [text-align: center] on [html, body] to center in IE?
[QUOTE=WPlayer;30348065]I checked it out but I can't get into it properly for some reason. I just go by every chapter and don't feel any wiser in the end. Perhpas I should be making something for myself at the same time using the functions I get shown in chapters?[/QUOTE] Well, what did you expect? That you could just read some articles and master the languages overnight? [QUOTE=Alcapwne;30349287]Don't you need to set [text-align: center] on [html, body] to center in IE?[/QUOTE] It's IE. Who cares.
[QUOTE=SkyCommander;30349425]Well, what did you expect? That you could just read some articles and master the languages overnight? [/QUOTE] It's impossible to expect that. to answer your question then: No I did not expect to master it overnight.
[QUOTE=SkyCommander;30349425] It's IE. Who cares.[/QUOTE] the majority of web users also, does anyone know whether it's possible to change the height of the new HTML5 date input type element? it seems to be immune to my css [code]input { width: 200px; height: 25px; }[/code] thanks
[QUOTE=zzlawlzz;30349121]thanks. My school firefox version is 3.0 :eng99: No @font-face support...[/QUOTE] It is your [b]duty[/b] to make them update!
I also have another question: what is the point of the html <form> element? Everything works just fine without having all the inputs and buttons inside <form> tags, doesn't it?
[QUOTE=Alcapwne;30350035]I also have another question: what is the point of the html <form> element? Everything works just fine without having all the inputs and buttons inside <form> tags, doesn't it?[/QUOTE] AFAIK, you need the form element if you want to send something to the server. As else it won't do anything.
[QUOTE=pdkm931;30350046]AFAIK, you need the form element if you want to send something to the server. As else it won't do anything.[/QUOTE] Oh yeah, of course, I'm an idiot
[QUOTE=Alcapwne;30349287]Don't you need to set [text-align: center] on [html, body] to center in IE?[/QUOTE] Yes, IE6- and quirks mode require you pull that trick. Just as long as you specify a doctype, you shouldn't have to worry about that.
[QUOTE=deadeye536;30361888]Yes, IE6- and quirks mode require you pull that trick. Just as long as you specify a doctype, you shouldn't have to worry about that.[/QUOTE] I have problems with this, but I never got any response: [quote="I"]We're having some troubles with using internet explorer, doctype totally breaks our website in chrome, safari and firefox. Most of our client's customers will use internet explorer 6> so if it breaks both chrome and IE, our client most likely won't be happy. Do you guys have any solutions?[/quote]
Well, the only solutions are to fix the issues, or stick to quirks mode, and sticking to quirks mode isn't a proper solution (Quirks mode changes, as it isn't written to any standard)
Does anybody else find it incredibly disheartening when you work really hard on something in a site and then find a bunch of little layout issues in other browsers?
[QUOTE=Alcapwne;30369975]Does anybody else find it incredibly disheartening when you work really hard on something in a site and then find a bunch of little layout issues in other browsers?[/QUOTE] [img]http://www.facepunch.com/fp/ratings/tick.png[/img] Agree x 1000
I need someone with HTML5 experience and being able to use Sencha Touch to make me a website, payment will be discussed.
I was wondering how could I make html pages ready for printing directly, with the layout given in advance. I've read up on w3 about media types but I don't seem to be getting the right info. Could I just make a div that's A4 sized and it would print exactly as it would display (as far as dimensions are concerned)? I'm planning on using this for label making (not conventional though) and I'd like to see what my options are. Printing would be done exclusively with Firefox.
[QUOTE=Murkrow;30376801]I was wondering how could I make html pages ready for printing directly, with the layout given in advance. I've read up on w3 about media types but I don't seem to be getting the right info. Could I just make a div that's A4 sized and it would print exactly as it would display (as far as dimensions are concerned)? I'm planning on using this for label making (not conventional though) and I'd like to see what my options are. Printing would be done exclusively with Firefox.[/QUOTE] I don't know dude, I think it depends on the user's printer, etc.
There is a CSS module for "paged layout", but only IE supports some of it (and it's old support)
All I know is that when you print a webpage it doesn't print background images. Only <img> images. So pretty much all style is gone apart from borders and other small things.
[QUOTE=jaybuz;30379186]All I know is that when you print a webpage it doesn't print background images. Only <img> images. So pretty much all style is gone apart from borders and other small things.[/QUOTE] so basically it looks like you c+p'd the page into word
Sorry, you need to Log In to post a reply to this thread.