Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cheah Hsun Teik

Members
  • Joined

  • Last visited

  1. How many "billion times" do I need to say,there is no more problems in the code,in the site,everything is working perfectly,so even if I publish the site,there will be no problem to see,I have fixed everything myself,I just want to know why does my previous problems exist,so that the problem arises again a few days later,few months later,few years later,I will have the knowledge to solve it.. I'm sorry if I sound angry or anything,but it sounds like you don't understand my question.. Just read the first two post of this post and answer that,ignore the rest...
  2. thanks,I'll think about it.Btw,I already solved the problem,I don't need to know how to solve,what I want to know is what causes the problem in the first place?? I've basically done everything...
  3. Yup,it's still for my school project,just finished it this morning,only have a few unanswered questions left... And I'm setting my styles from a setting tab,which can be accessed after you login.
  4. Yup,this is what I'm doing,but instead of using .css extension,I use .php,then I link it to the stylesheet.im following one of the website i found. I want dynamic styling,where the user can do setting and choose their colour,font size,etc. My question is why is the problem happening???now, everything is fine,I just wanna know.
  5. I already solved it,it's because the session variable is not set at the beginning,but I still don't get why it doesn't work when the session is not set,it's not even in use inside the CSS code???
  6. <?php Header("Content-type: text/css; charset=utf-8");?> @charset "utf-8"; /* CSS Document */ .header { background-color: rgba(100,100,250,1.00); font-size: 40px; text-align: center; } body { background-color: rgba(170,170,170,1.00); } .form { float: right; } .error { text-align: center; color: rgba(248,0,4,1.00); background-color: rgba(0,0,0,1.00); font-size: 20px; } .image { float: left; } .welcome { color: rgba(0,0,255,1.00); text-align: center; font-size: 30px; } .system { color: rgba(10,10,200,1.00); } .navigation { background-color: rgba(100,100,250,1.00); width: 200px; height: 350px; font-size: 20px; float: left; } .left { float: left; } .right { float: right; } .navigation a { color: rgba(9,15,73,1.00); } .navigation ul li { list-style-type: none; display: block; width: 150px; height: 50px; margin-top: 30px; text-align: left; text-transform: uppercase; overflow-wrap: break-word; word-break: break-all; } .navigation a:hover { background-color: rgba(66,17,208,1.00); } .form { float: right; margin-right: 500px; margin-left: 0px; } .green { color: rgba(0,150,0,1.00); text-align: center; } .centreMargin { float: right; margin-right: 350px; background-color: rgba(255,255,255,1.00); } .centreMargin2 { float: right; margin-right: 300px; } .navigation .current { color: rgba(183,183,253,1.00); } .searchBar { width: 850px; } .center { text-align: center; } .paparan { width: 500px; margin-left: 500px; font-size: 20px; text-align: center; height: 600px; margin-right: 0px; margin-top: 30px; } .log { color: rgba(43,83,245,1.00); width: 250px; margin-left: 650px; } .good { background-color: rgba(62,203,19,1.00); } .bad { background-color: rgba(214,31,34,1.00); } .neutral { background-color: rgba(82,106,250,1.00); } .setting { width: 300px; margin-left: 300px; } This is my CSS code,but once i add this at the top,the main title/header becomes small and the background colour dissapear. <?php //start session session_start(); //Set user specified settings $theme = $_SESSION['theme']; ?>
  7. All questions below are just for learning purpose,asking questions is a good thing,im not experiencing any problem,everything in my website is working perfectly fine,i can use other alternative. 1)When I type my text into a container(div,nav,etc),if the text is too long,it will flow out of the cointainer.Is this how it works???Im expecting it to start a new line. 2)In my previous post,BrowserBugs,you said that i cant reset the form cause i cleared the values,but actually i can reset the form.Its just that i cant submit the form,cause they say i have not filled in the required fields,which i did,so what is actually happening?Again,ill say it again,the fields have been FILLED,the value is there,thats why i cant accept your previous answer. 3)I still cant get my form object using function in javascript,as said in my previous post.Is it wrong with my code or is something wrong with the app/computer,etc? Im sorry for my stupid question,but im really a beginner and i need help,so please be patient.... Again,i say everything is solved,but i just want to know why this problems i used to have is occuring,so please help...
  8. My javascript function that i defined is still not called when the button is clicked though,except alert(). i can actually just write the full code directly in the buttons onclick attribute,instead of using functions,it works,but i dont think thats a good idea. My another problem is:-unlink() gives me a permission denied error when i want to delete my picture from a folder.I know i need to enable or disable some permission thing,but what is it though.How do i fix it?
  9. Ok,I'll remove the clear,it actually makes sense,the user can also just delete the whole thing and recreate a new profile,if they want,instead of clearing. Thanks..
  10. Ohh,ok,I understand that,but when I click reset,the value actually came back,I can see the values showing at the form,its only not submitting when I click submit.
  11. Ohh...I'm was just confused what issue you mean,beacause there's many issues,maybe try including the subject next time,so that I'll understand...
  12. Nevermind,already know how to do this.... What i meant is when i clicked clear,then i click reset,then i click submit,it should submit the form,but instead it gives "this field is required message".Ive made sure ive filled in all the field of the form,including the image,so why isnt it submitting.
  13. Heres the code that doesnt work: https://jsfiddle.net/j3rkufm2/ This is the alternative i tried that works: https://jsfiddle.net/17xd9utm/1/ jsfiddle cannot understand php.The header's background colour is also not displaying when run,so it may look a bit weird. Hope you all can help me...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.